events

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvoyConfigurationEvent_EventKind_name = map[int32]string{
		0: "EVENT_KIND_UNDEFINED",
		1: "EVENT_DISCOVERY_REQUEST_ACK",
		2: "EVENT_DISCOVERY_REQUEST_NACK",
		3: "EVENT_DISCOVERY_RESPONSE",
	}
	EnvoyConfigurationEvent_EventKind_value = map[string]int32{
		"EVENT_KIND_UNDEFINED":         0,
		"EVENT_DISCOVERY_REQUEST_ACK":  1,
		"EVENT_DISCOVERY_REQUEST_NACK": 2,
		"EVENT_DISCOVERY_RESPONSE":     3,
	}
)

Enum value maps for EnvoyConfigurationEvent_EventKind.

View Source
var File_last_error_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnvoyConfigurationEvent

type EnvoyConfigurationEvent struct {
	Time    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Code    int32                  `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
	Details []*anypb.Any           `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"`
	// databroker config version
	ConfigVersion uint64 `protobuf:"varint,5,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// envoy resource type (i.e. listener, cluster)
	TypeUrl              string                            `protobuf:"bytes,6,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	Kind                 EnvoyConfigurationEvent_EventKind `protobuf:"varint,7,opt,name=kind,proto3,enum=pomerium.events.EnvoyConfigurationEvent_EventKind" json:"kind,omitempty"`
	ResourceSubscribed   []string                          `protobuf:"bytes,8,rep,name=resource_subscribed,json=resourceSubscribed,proto3" json:"resource_subscribed,omitempty"`
	ResourceUnsubscribed []string                          `protobuf:"bytes,9,rep,name=resource_unsubscribed,json=resourceUnsubscribed,proto3" json:"resource_unsubscribed,omitempty"`
	// instance this event originated from
	Instance string `protobuf:"bytes,10,opt,name=instance,proto3" json:"instance,omitempty"`
	Nonce    string `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

EnvoyConfigurationEvent is an envoy configuration event.

func (*EnvoyConfigurationEvent) Descriptor deprecated

func (*EnvoyConfigurationEvent) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyConfigurationEvent.ProtoReflect.Descriptor instead.

func (*EnvoyConfigurationEvent) GetCode

func (x *EnvoyConfigurationEvent) GetCode() int32

func (*EnvoyConfigurationEvent) GetConfigVersion

func (x *EnvoyConfigurationEvent) GetConfigVersion() uint64

func (*EnvoyConfigurationEvent) GetDetails

func (x *EnvoyConfigurationEvent) GetDetails() []*anypb.Any

func (*EnvoyConfigurationEvent) GetInstance

func (x *EnvoyConfigurationEvent) GetInstance() string

func (*EnvoyConfigurationEvent) GetKind

func (*EnvoyConfigurationEvent) GetMessage

func (x *EnvoyConfigurationEvent) GetMessage() string

func (*EnvoyConfigurationEvent) GetNonce added in v0.15.0

func (x *EnvoyConfigurationEvent) GetNonce() string

func (*EnvoyConfigurationEvent) GetResourceSubscribed

func (x *EnvoyConfigurationEvent) GetResourceSubscribed() []string

func (*EnvoyConfigurationEvent) GetResourceUnsubscribed

func (x *EnvoyConfigurationEvent) GetResourceUnsubscribed() []string

func (*EnvoyConfigurationEvent) GetTime

func (*EnvoyConfigurationEvent) GetTypeUrl

func (x *EnvoyConfigurationEvent) GetTypeUrl() string

func (*EnvoyConfigurationEvent) ProtoMessage

func (*EnvoyConfigurationEvent) ProtoMessage()

func (*EnvoyConfigurationEvent) ProtoReflect

func (x *EnvoyConfigurationEvent) ProtoReflect() protoreflect.Message

func (*EnvoyConfigurationEvent) Reset

func (x *EnvoyConfigurationEvent) Reset()

func (*EnvoyConfigurationEvent) String

func (x *EnvoyConfigurationEvent) String() string

type EnvoyConfigurationEvent_EventKind

type EnvoyConfigurationEvent_EventKind int32
const (
	EnvoyConfigurationEvent_EVENT_KIND_UNDEFINED EnvoyConfigurationEvent_EventKind = 0
	// envoy_service_discovery_v3.DeltaDiscoveryRequest
	EnvoyConfigurationEvent_EVENT_DISCOVERY_REQUEST_ACK  EnvoyConfigurationEvent_EventKind = 1
	EnvoyConfigurationEvent_EVENT_DISCOVERY_REQUEST_NACK EnvoyConfigurationEvent_EventKind = 2
	// envoy_service_discovery_v3.DeltaDiscoveryResponse
	EnvoyConfigurationEvent_EVENT_DISCOVERY_RESPONSE EnvoyConfigurationEvent_EventKind = 3
)

func (EnvoyConfigurationEvent_EventKind) Descriptor

func (EnvoyConfigurationEvent_EventKind) Enum

func (EnvoyConfigurationEvent_EventKind) EnumDescriptor deprecated

func (EnvoyConfigurationEvent_EventKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnvoyConfigurationEvent_EventKind.Descriptor instead.

func (EnvoyConfigurationEvent_EventKind) Number

func (EnvoyConfigurationEvent_EventKind) String

func (EnvoyConfigurationEvent_EventKind) Type

type EnvoyConfigurationEvents

type EnvoyConfigurationEvents struct {
	Values []*EnvoyConfigurationEvent `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

EnvoyConfigurationEvents is a list of envoy configuration events.

func (*EnvoyConfigurationEvents) Descriptor deprecated

func (*EnvoyConfigurationEvents) Descriptor() ([]byte, []int)

Deprecated: Use EnvoyConfigurationEvents.ProtoReflect.Descriptor instead.

func (*EnvoyConfigurationEvents) GetValues

func (*EnvoyConfigurationEvents) ProtoMessage

func (*EnvoyConfigurationEvents) ProtoMessage()

func (*EnvoyConfigurationEvents) ProtoReflect

func (x *EnvoyConfigurationEvents) ProtoReflect() protoreflect.Message

func (*EnvoyConfigurationEvents) Reset

func (x *EnvoyConfigurationEvents) Reset()

func (*EnvoyConfigurationEvents) String

func (x *EnvoyConfigurationEvents) String() string

type IDPErrorEvent added in v0.17.0

type IDPErrorEvent struct {
	Time    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

IDPErrorEvent is an IDP error event.

func (*IDPErrorEvent) Descriptor deprecated added in v0.17.0

func (*IDPErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use IDPErrorEvent.ProtoReflect.Descriptor instead.

func (*IDPErrorEvent) GetMessage added in v0.17.0

func (x *IDPErrorEvent) GetMessage() string

func (*IDPErrorEvent) GetTime added in v0.17.0

func (x *IDPErrorEvent) GetTime() *timestamppb.Timestamp

func (*IDPErrorEvent) ProtoMessage added in v0.17.0

func (*IDPErrorEvent) ProtoMessage()

func (*IDPErrorEvent) ProtoReflect added in v0.17.0

func (x *IDPErrorEvent) ProtoReflect() protoreflect.Message

func (*IDPErrorEvent) Reset added in v0.17.0

func (x *IDPErrorEvent) Reset()

func (*IDPErrorEvent) String added in v0.17.0

func (x *IDPErrorEvent) String() string

type IDPErrorEvents added in v0.17.0

type IDPErrorEvents struct {
	Values []*IDPErrorEvent `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

IDPErrorEvents is a list of IDP error events.

func (*IDPErrorEvents) Descriptor deprecated added in v0.17.0

func (*IDPErrorEvents) Descriptor() ([]byte, []int)

Deprecated: Use IDPErrorEvents.ProtoReflect.Descriptor instead.

func (*IDPErrorEvents) GetValues added in v0.17.0

func (x *IDPErrorEvents) GetValues() []*IDPErrorEvent

func (*IDPErrorEvents) ProtoMessage added in v0.17.0

func (*IDPErrorEvents) ProtoMessage()

func (*IDPErrorEvents) ProtoReflect added in v0.17.0

func (x *IDPErrorEvents) ProtoReflect() protoreflect.Message

func (*IDPErrorEvents) Reset added in v0.17.0

func (x *IDPErrorEvents) Reset()

func (*IDPErrorEvents) String added in v0.17.0

func (x *IDPErrorEvents) String() string

type LastError added in v0.17.0

type LastError struct {
	Time    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Id      string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

LastError is a last error

func (*LastError) Descriptor deprecated added in v0.17.0

func (*LastError) Descriptor() ([]byte, []int)

Deprecated: Use LastError.ProtoReflect.Descriptor instead.

func (*LastError) GetId added in v0.17.0

func (x *LastError) GetId() string

func (*LastError) GetMessage added in v0.17.0

func (x *LastError) GetMessage() string

func (*LastError) GetTime added in v0.17.0

func (x *LastError) GetTime() *timestamppb.Timestamp

func (*LastError) ProtoMessage added in v0.17.0

func (*LastError) ProtoMessage()

func (*LastError) ProtoReflect added in v0.17.0

func (x *LastError) ProtoReflect() protoreflect.Message

func (*LastError) Reset added in v0.17.0

func (x *LastError) Reset()

func (*LastError) String added in v0.17.0

func (x *LastError) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL