Documentation ¶
Index ¶
- Variables
- type EventSource
- func (*EventSource) Descriptor() ([]byte, []int)deprecated
- func (x *EventSource) GetCreatedAt() *timestamppb.Timestamp
- func (x *EventSource) GetId() string
- func (x *EventSource) GetSettings() *EventSourceSettings
- func (x *EventSource) GetUpdatedAt() *timestamppb.Timestamp
- func (*EventSource) ProtoMessage()
- func (x *EventSource) ProtoReflect() protoreflect.Message
- func (x *EventSource) Reset()
- func (x *EventSource) String() string
- func (m *EventSource) Validate() error
- type EventSourceProjectBinding
- func (*EventSourceProjectBinding) Descriptor() ([]byte, []int)deprecated
- func (x *EventSourceProjectBinding) GetApproved() bool
- func (x *EventSourceProjectBinding) GetAssociationToken() string
- func (x *EventSourceProjectBinding) GetCreatedAt() *timestamppb.Timestamp
- func (x *EventSourceProjectBinding) GetName() string
- func (x *EventSourceProjectBinding) GetProjectId() string
- func (x *EventSourceProjectBinding) GetSettings() *EventSourceProjectBindingSettings
- func (x *EventSourceProjectBinding) GetSourceConfig() string
- func (x *EventSourceProjectBinding) GetSrcId() string
- func (x *EventSourceProjectBinding) GetUpdatedAt() *timestamppb.Timestamp
- func (*EventSourceProjectBinding) ProtoMessage()
- func (x *EventSourceProjectBinding) ProtoReflect() protoreflect.Message
- func (x *EventSourceProjectBinding) Reset()
- func (x *EventSourceProjectBinding) String() string
- func (m *EventSourceProjectBinding) Validate() error
- type EventSourceProjectBindingSettings
- func (*EventSourceProjectBindingSettings) Descriptor() ([]byte, []int)deprecated
- func (x *EventSourceProjectBindingSettings) GetEnabled() bool
- func (*EventSourceProjectBindingSettings) ProtoMessage()
- func (x *EventSourceProjectBindingSettings) ProtoReflect() protoreflect.Message
- func (x *EventSourceProjectBindingSettings) Reset()
- func (x *EventSourceProjectBindingSettings) String() string
- func (m *EventSourceProjectBindingSettings) Validate() error
- type EventSourceProjectBindingSettingsValidationError
- func (e EventSourceProjectBindingSettingsValidationError) Cause() error
- func (e EventSourceProjectBindingSettingsValidationError) Error() string
- func (e EventSourceProjectBindingSettingsValidationError) ErrorName() string
- func (e EventSourceProjectBindingSettingsValidationError) Field() string
- func (e EventSourceProjectBindingSettingsValidationError) Key() bool
- func (e EventSourceProjectBindingSettingsValidationError) Reason() string
- type EventSourceProjectBindingValidationError
- func (e EventSourceProjectBindingValidationError) Cause() error
- func (e EventSourceProjectBindingValidationError) Error() string
- func (e EventSourceProjectBindingValidationError) ErrorName() string
- func (e EventSourceProjectBindingValidationError) Field() string
- func (e EventSourceProjectBindingValidationError) Key() bool
- func (e EventSourceProjectBindingValidationError) Reason() string
- type EventSourceSettings
- func (*EventSourceSettings) Descriptor() ([]byte, []int)deprecated
- func (x *EventSourceSettings) GetEnabled() bool
- func (x *EventSourceSettings) GetTypes() []string
- func (*EventSourceSettings) ProtoMessage()
- func (x *EventSourceSettings) ProtoReflect() protoreflect.Message
- func (x *EventSourceSettings) Reset()
- func (x *EventSourceSettings) String() string
- func (m *EventSourceSettings) Validate() error
- type EventSourceSettingsValidationError
- func (e EventSourceSettingsValidationError) Cause() error
- func (e EventSourceSettingsValidationError) Error() string
- func (e EventSourceSettingsValidationError) ErrorName() string
- func (e EventSourceSettingsValidationError) Field() string
- func (e EventSourceSettingsValidationError) Key() bool
- func (e EventSourceSettingsValidationError) Reason() string
- type EventSourceValidationError
- func (e EventSourceValidationError) Cause() error
- func (e EventSourceValidationError) Error() string
- func (e EventSourceValidationError) ErrorName() string
- func (e EventSourceValidationError) Field() string
- func (e EventSourceValidationError) Key() bool
- func (e EventSourceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 (x *EventSourceProjectBinding) GetSettings() *EventSourceProjectBindingSettings
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 (x *EventSourceProjectBinding) ProtoReflect() protoreflect.Message
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 (x *EventSourceProjectBindingSettings) ProtoReflect() protoreflect.Message
func (*EventSourceProjectBindingSettings) Reset ¶
func (x *EventSourceProjectBindingSettings) Reset()
func (*EventSourceProjectBindingSettings) String ¶
func (x *EventSourceProjectBindingSettings) String() string
func (*EventSourceProjectBindingSettings) Validate ¶
func (m *EventSourceProjectBindingSettings) Validate() error
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 ¶
func (e EventSourceProjectBindingSettingsValidationError) Cause() error
Cause function returns cause value.
func (EventSourceProjectBindingSettingsValidationError) Error ¶
func (e EventSourceProjectBindingSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (EventSourceProjectBindingSettingsValidationError) ErrorName ¶
func (e EventSourceProjectBindingSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (EventSourceProjectBindingSettingsValidationError) Field ¶
func (e EventSourceProjectBindingSettingsValidationError) Field() string
Field function returns field value.
func (EventSourceProjectBindingSettingsValidationError) Key ¶
func (e EventSourceProjectBindingSettingsValidationError) Key() bool
Key function returns key value.
func (EventSourceProjectBindingSettingsValidationError) Reason ¶
func (e EventSourceProjectBindingSettingsValidationError) Reason() string
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 ¶
func (e EventSourceProjectBindingValidationError) Cause() error
Cause function returns cause value.
func (EventSourceProjectBindingValidationError) Error ¶
func (e EventSourceProjectBindingValidationError) Error() string
Error satisfies the builtin error interface
func (EventSourceProjectBindingValidationError) ErrorName ¶
func (e EventSourceProjectBindingValidationError) ErrorName() string
ErrorName returns error name.
func (EventSourceProjectBindingValidationError) Field ¶
func (e EventSourceProjectBindingValidationError) Field() string
Field function returns field value.
func (EventSourceProjectBindingValidationError) Key ¶
func (e EventSourceProjectBindingValidationError) Key() bool
Key function returns key value.
func (EventSourceProjectBindingValidationError) Reason ¶
func (e EventSourceProjectBindingValidationError) Reason() string
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 ¶
func (e EventSourceSettingsValidationError) Cause() error
Cause function returns cause value.
func (EventSourceSettingsValidationError) Error ¶
func (e EventSourceSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (EventSourceSettingsValidationError) ErrorName ¶
func (e EventSourceSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (EventSourceSettingsValidationError) Field ¶
func (e EventSourceSettingsValidationError) Field() string
Field function returns field value.
func (EventSourceSettingsValidationError) Key ¶
func (e EventSourceSettingsValidationError) Key() bool
Key function returns key value.
func (EventSourceSettingsValidationError) Reason ¶
func (e EventSourceSettingsValidationError) Reason() string
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 ¶
func (e EventSourceValidationError) Cause() error
Cause function returns cause value.
func (EventSourceValidationError) Error ¶
func (e EventSourceValidationError) Error() string
Error satisfies the builtin error interface
func (EventSourceValidationError) ErrorName ¶
func (e EventSourceValidationError) ErrorName() string
ErrorName returns error name.
func (EventSourceValidationError) Field ¶
func (e EventSourceValidationError) Field() string
Field function returns field value.
func (EventSourceValidationError) Key ¶
func (e EventSourceValidationError) Key() bool
Key function returns key value.
func (EventSourceValidationError) Reason ¶
func (e EventSourceValidationError) Reason() string
Reason function returns reason value.