eventsrc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_eventsrc_src_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EventSource

type EventSource struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Settings  *EventSourceSettings   `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSource) Descriptor deprecated

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

Deprecated: Use EventSource.ProtoReflect.Descriptor instead.

func (*EventSource) GetCreatedAt

func (x *EventSource) GetCreatedAt() *timestamppb.Timestamp

func (*EventSource) GetId

func (x *EventSource) GetId() string

func (*EventSource) GetSettings

func (x *EventSource) GetSettings() *EventSourceSettings

func (*EventSource) GetUpdatedAt

func (x *EventSource) GetUpdatedAt() *timestamppb.Timestamp

func (*EventSource) ProtoMessage

func (*EventSource) ProtoMessage()

func (*EventSource) ProtoReflect

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

func (*EventSource) Reset

func (x *EventSource) Reset()

func (*EventSource) String

func (x *EventSource) String() string

func (*EventSource) Validate

func (m *EventSource) Validate() error

Validate checks the field values on EventSource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EventSourceProjectBinding

type EventSourceProjectBinding struct {
	SrcId            string                             `protobuf:"bytes,1,opt,name=src_id,json=srcId,proto3" json:"src_id,omitempty"`
	ProjectId        string                             `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Name             string                             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                                 // might not be set if not approved.
	AssociationToken string                             `protobuf:"bytes,4,opt,name=association_token,json=associationToken,proto3" json:"association_token,omitempty"` // "multicast group" set by source.
	SourceConfig     string                             `protobuf:"bytes,5,opt,name=source_config,json=sourceConfig,proto3" json:"source_config,omitempty"`             //                   set by source.
	Approved         bool                               `protobuf:"varint,6,opt,name=approved,proto3" json:"approved,omitempty"`
	Settings         *EventSourceProjectBindingSettings `protobuf:"bytes,10,opt,name=settings,proto3" json:"settings,omitempty"`
	CreatedAt        *timestamppb.Timestamp             `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        *timestamppb.Timestamp             `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

Need to negotiate with event source to determine if eligible to receive events. Essentially this should be carefully managed by the system and not the user to prevent unwanted projects getting events.

func (*EventSourceProjectBinding) Descriptor deprecated

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

Deprecated: Use EventSourceProjectBinding.ProtoReflect.Descriptor instead.

func (*EventSourceProjectBinding) GetApproved

func (x *EventSourceProjectBinding) GetApproved() bool

func (*EventSourceProjectBinding) GetAssociationToken

func (x *EventSourceProjectBinding) GetAssociationToken() string

func (*EventSourceProjectBinding) GetCreatedAt

func (x *EventSourceProjectBinding) GetCreatedAt() *timestamppb.Timestamp

func (*EventSourceProjectBinding) GetName

func (x *EventSourceProjectBinding) GetName() string

func (*EventSourceProjectBinding) GetProjectId

func (x *EventSourceProjectBinding) GetProjectId() string

func (*EventSourceProjectBinding) GetSettings

func (*EventSourceProjectBinding) GetSourceConfig

func (x *EventSourceProjectBinding) GetSourceConfig() string

func (*EventSourceProjectBinding) GetSrcId

func (x *EventSourceProjectBinding) GetSrcId() string

func (*EventSourceProjectBinding) GetUpdatedAt

func (x *EventSourceProjectBinding) GetUpdatedAt() *timestamppb.Timestamp

func (*EventSourceProjectBinding) ProtoMessage

func (*EventSourceProjectBinding) ProtoMessage()

func (*EventSourceProjectBinding) ProtoReflect

func (*EventSourceProjectBinding) Reset

func (x *EventSourceProjectBinding) Reset()

func (*EventSourceProjectBinding) String

func (x *EventSourceProjectBinding) String() string

func (*EventSourceProjectBinding) Validate

func (m *EventSourceProjectBinding) Validate() error

Validate checks the field values on EventSourceProjectBinding with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EventSourceProjectBindingSettings

type EventSourceProjectBindingSettings struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*EventSourceProjectBindingSettings) Descriptor deprecated

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

Deprecated: Use EventSourceProjectBindingSettings.ProtoReflect.Descriptor instead.

func (*EventSourceProjectBindingSettings) GetEnabled

func (x *EventSourceProjectBindingSettings) GetEnabled() bool

func (*EventSourceProjectBindingSettings) ProtoMessage

func (*EventSourceProjectBindingSettings) ProtoMessage()

func (*EventSourceProjectBindingSettings) ProtoReflect

func (*EventSourceProjectBindingSettings) Reset

func (*EventSourceProjectBindingSettings) String

func (*EventSourceProjectBindingSettings) Validate

Validate checks the field values on EventSourceProjectBindingSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EventSourceProjectBindingSettingsValidationError

type EventSourceProjectBindingSettingsValidationError struct {
	// contains filtered or unexported fields
}

EventSourceProjectBindingSettingsValidationError is the validation error returned by EventSourceProjectBindingSettings.Validate if the designated constraints aren't met.

func (EventSourceProjectBindingSettingsValidationError) Cause

Cause function returns cause value.

func (EventSourceProjectBindingSettingsValidationError) Error

Error satisfies the builtin error interface

func (EventSourceProjectBindingSettingsValidationError) ErrorName

ErrorName returns error name.

func (EventSourceProjectBindingSettingsValidationError) Field

Field function returns field value.

func (EventSourceProjectBindingSettingsValidationError) Key

Key function returns key value.

func (EventSourceProjectBindingSettingsValidationError) Reason

Reason function returns reason value.

type EventSourceProjectBindingValidationError

type EventSourceProjectBindingValidationError struct {
	// contains filtered or unexported fields
}

EventSourceProjectBindingValidationError is the validation error returned by EventSourceProjectBinding.Validate if the designated constraints aren't met.

func (EventSourceProjectBindingValidationError) Cause

Cause function returns cause value.

func (EventSourceProjectBindingValidationError) Error

Error satisfies the builtin error interface

func (EventSourceProjectBindingValidationError) ErrorName

ErrorName returns error name.

func (EventSourceProjectBindingValidationError) Field

Field function returns field value.

func (EventSourceProjectBindingValidationError) Key

Key function returns key value.

func (EventSourceProjectBindingValidationError) Reason

Reason function returns reason value.

type EventSourceSettings

type EventSourceSettings struct {
	Enabled bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Types   []string `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"` // emitted event types.
	// contains filtered or unexported fields
}

func (*EventSourceSettings) Descriptor deprecated

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

Deprecated: Use EventSourceSettings.ProtoReflect.Descriptor instead.

func (*EventSourceSettings) GetEnabled

func (x *EventSourceSettings) GetEnabled() bool

func (*EventSourceSettings) GetTypes

func (x *EventSourceSettings) GetTypes() []string

func (*EventSourceSettings) ProtoMessage

func (*EventSourceSettings) ProtoMessage()

func (*EventSourceSettings) ProtoReflect

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

func (*EventSourceSettings) Reset

func (x *EventSourceSettings) Reset()

func (*EventSourceSettings) String

func (x *EventSourceSettings) String() string

func (*EventSourceSettings) Validate

func (m *EventSourceSettings) Validate() error

Validate checks the field values on EventSourceSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EventSourceSettingsValidationError

type EventSourceSettingsValidationError struct {
	// contains filtered or unexported fields
}

EventSourceSettingsValidationError is the validation error returned by EventSourceSettings.Validate if the designated constraints aren't met.

func (EventSourceSettingsValidationError) Cause

Cause function returns cause value.

func (EventSourceSettingsValidationError) Error

Error satisfies the builtin error interface

func (EventSourceSettingsValidationError) ErrorName

ErrorName returns error name.

func (EventSourceSettingsValidationError) Field

Field function returns field value.

func (EventSourceSettingsValidationError) Key

Key function returns key value.

func (EventSourceSettingsValidationError) Reason

Reason function returns reason value.

type EventSourceValidationError

type EventSourceValidationError struct {
	// contains filtered or unexported fields
}

EventSourceValidationError is the validation error returned by EventSource.Validate if the designated constraints aren't met.

func (EventSourceValidationError) Cause

Cause function returns cause value.

func (EventSourceValidationError) Error

Error satisfies the builtin error interface

func (EventSourceValidationError) ErrorName

func (e EventSourceValidationError) ErrorName() string

ErrorName returns error name.

func (EventSourceValidationError) Field

Field function returns field value.

func (EventSourceValidationError) Key

Key function returns key value.

func (EventSourceValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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