Documentation ¶
Index ¶
- Variables
- type CloudEvent
- func (*CloudEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CloudEvent) GetAttributes() map[string]*CloudEvent_CloudEventAttributeValue
- func (x *CloudEvent) GetBinaryData() []byte
- func (m *CloudEvent) GetData() isCloudEvent_Data
- func (x *CloudEvent) GetId() string
- func (x *CloudEvent) GetProtoData() *anypb.Any
- func (x *CloudEvent) GetSource() string
- func (x *CloudEvent) GetSpecVersion() string
- func (x *CloudEvent) GetTextData() string
- func (x *CloudEvent) GetType() string
- func (*CloudEvent) ProtoMessage()
- func (x *CloudEvent) ProtoReflect() protoreflect.Message
- func (x *CloudEvent) Reset()
- func (x *CloudEvent) String() string
- func (m *CloudEvent) Validate() error
- func (m *CloudEvent) ValidateAll() error
- type CloudEventBatch
- func (*CloudEventBatch) Descriptor() ([]byte, []int)deprecated
- func (x *CloudEventBatch) GetEvents() []*CloudEvent
- func (*CloudEventBatch) ProtoMessage()
- func (x *CloudEventBatch) ProtoReflect() protoreflect.Message
- func (x *CloudEventBatch) Reset()
- func (x *CloudEventBatch) String() string
- func (m *CloudEventBatch) Validate() error
- func (m *CloudEventBatch) ValidateAll() error
- type CloudEventBatchMultiError
- type CloudEventBatchValidationError
- func (e CloudEventBatchValidationError) Cause() error
- func (e CloudEventBatchValidationError) Error() string
- func (e CloudEventBatchValidationError) ErrorName() string
- func (e CloudEventBatchValidationError) Field() string
- func (e CloudEventBatchValidationError) Key() bool
- func (e CloudEventBatchValidationError) Reason() string
- type CloudEventMultiError
- type CloudEventValidationError
- type CloudEvent_BinaryData
- type CloudEvent_CloudEventAttributeValue
- func (*CloudEvent_CloudEventAttributeValue) Descriptor() ([]byte, []int)deprecated
- func (m *CloudEvent_CloudEventAttributeValue) GetAttr() isCloudEvent_CloudEventAttributeValue_Attr
- func (x *CloudEvent_CloudEventAttributeValue) GetCeBoolean() bool
- func (x *CloudEvent_CloudEventAttributeValue) GetCeBytes() []byte
- func (x *CloudEvent_CloudEventAttributeValue) GetCeInteger() int32
- func (x *CloudEvent_CloudEventAttributeValue) GetCeString() string
- func (x *CloudEvent_CloudEventAttributeValue) GetCeTimestamp() *timestamppb.Timestamp
- func (x *CloudEvent_CloudEventAttributeValue) GetCeUri() string
- func (x *CloudEvent_CloudEventAttributeValue) GetCeUriRef() string
- func (*CloudEvent_CloudEventAttributeValue) ProtoMessage()
- func (x *CloudEvent_CloudEventAttributeValue) ProtoReflect() protoreflect.Message
- func (x *CloudEvent_CloudEventAttributeValue) Reset()
- func (x *CloudEvent_CloudEventAttributeValue) String() string
- func (m *CloudEvent_CloudEventAttributeValue) Validate() error
- func (m *CloudEvent_CloudEventAttributeValue) ValidateAll() error
- type CloudEvent_CloudEventAttributeValueMultiError
- type CloudEvent_CloudEventAttributeValueValidationError
- func (e CloudEvent_CloudEventAttributeValueValidationError) Cause() error
- func (e CloudEvent_CloudEventAttributeValueValidationError) Error() string
- func (e CloudEvent_CloudEventAttributeValueValidationError) ErrorName() string
- func (e CloudEvent_CloudEventAttributeValueValidationError) Field() string
- func (e CloudEvent_CloudEventAttributeValueValidationError) Key() bool
- func (e CloudEvent_CloudEventAttributeValueValidationError) Reason() string
- type CloudEvent_CloudEventAttributeValue_CeBoolean
- type CloudEvent_CloudEventAttributeValue_CeBytes
- type CloudEvent_CloudEventAttributeValue_CeInteger
- type CloudEvent_CloudEventAttributeValue_CeString
- type CloudEvent_CloudEventAttributeValue_CeTimestamp
- type CloudEvent_CloudEventAttributeValue_CeUri
- type CloudEvent_CloudEventAttributeValue_CeUriRef
- type CloudEvent_ProtoData
- type CloudEvent_TextData
- type ConsumeRequest
- func (*ConsumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumeRequest) GetMessage() *CloudEvent
- func (*ConsumeRequest) ProtoMessage()
- func (x *ConsumeRequest) ProtoReflect() protoreflect.Message
- func (x *ConsumeRequest) Reset()
- func (x *ConsumeRequest) String() string
- func (m *ConsumeRequest) Validate() error
- func (m *ConsumeRequest) ValidateAll() error
- type ConsumeRequestMultiError
- type ConsumeRequestValidationError
- func (e ConsumeRequestValidationError) Cause() error
- func (e ConsumeRequestValidationError) Error() string
- func (e ConsumeRequestValidationError) ErrorName() string
- func (e ConsumeRequestValidationError) Field() string
- func (e ConsumeRequestValidationError) Key() bool
- func (e ConsumeRequestValidationError) Reason() string
- type ConsumeResponse
- func (*ConsumeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumeResponse) GetMessage() *CloudEvent
- func (*ConsumeResponse) ProtoMessage()
- func (x *ConsumeResponse) ProtoReflect() protoreflect.Message
- func (x *ConsumeResponse) Reset()
- func (x *ConsumeResponse) String() string
- func (m *ConsumeResponse) Validate() error
- func (m *ConsumeResponse) ValidateAll() error
- type ConsumeResponseMultiError
- type ConsumeResponseValidationError
- func (e ConsumeResponseValidationError) Cause() error
- func (e ConsumeResponseValidationError) Error() string
- func (e ConsumeResponseValidationError) ErrorName() string
- func (e ConsumeResponseValidationError) Field() string
- func (e ConsumeResponseValidationError) Key() bool
- func (e ConsumeResponseValidationError) Reason() string
- type ProduceRequest
- func (*ProduceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProduceRequest) GetMessage() *CloudEvent
- func (*ProduceRequest) ProtoMessage()
- func (x *ProduceRequest) ProtoReflect() protoreflect.Message
- func (x *ProduceRequest) Reset()
- func (x *ProduceRequest) String() string
- func (m *ProduceRequest) Validate() error
- func (m *ProduceRequest) ValidateAll() error
- type ProduceRequestMultiError
- type ProduceRequestValidationError
- func (e ProduceRequestValidationError) Cause() error
- func (e ProduceRequestValidationError) Error() string
- func (e ProduceRequestValidationError) ErrorName() string
- func (e ProduceRequestValidationError) Field() string
- func (e ProduceRequestValidationError) Key() bool
- func (e ProduceRequestValidationError) Reason() string
- type ProduceResponse
- func (*ProduceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProduceResponse) GetId() string
- func (*ProduceResponse) ProtoMessage()
- func (x *ProduceResponse) ProtoReflect() protoreflect.Message
- func (x *ProduceResponse) Reset()
- func (x *ProduceResponse) String() string
- func (m *ProduceResponse) Validate() error
- func (m *ProduceResponse) ValidateAll() error
- type ProduceResponseMultiError
- type ProduceResponseValidationError
- func (e ProduceResponseValidationError) Cause() error
- func (e ProduceResponseValidationError) Error() string
- func (e ProduceResponseValidationError) ErrorName() string
- func (e ProduceResponseValidationError) Field() string
- func (e ProduceResponseValidationError) Key() bool
- func (e ProduceResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_core_message_broker_actors_v1_consumer_proto protoreflect.FileDescriptor
var File_core_message_broker_actors_v1_models_proto protoreflect.FileDescriptor
var File_core_message_broker_actors_v1_producer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CloudEvent ¶ added in v0.5.0
type CloudEvent struct { // Required Attributes Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bun:"id" csv:"id" pg:"id" yaml:"id"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source" bun:"source" csv:"source" pg:"source" yaml:"source"` // URI-reference SpecVersion string `` /* 160-byte string literal not displayed */ Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type" bun:"type" csv:"type" pg:"type" yaml:"type"` // Optional & Extension Attributes Attributes map[string]*CloudEvent_CloudEventAttributeValue `` /* 219-byte string literal not displayed */ // -- CloudEvent Data (Bytes, Text, or Proto) // // Types that are assignable to Data: // // *CloudEvent_BinaryData // *CloudEvent_TextData // *CloudEvent_ProtoData Data isCloudEvent_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
* CloudEvent Protobuf Format
- Required context attributes are explicity represented. - Optional and Extension context attributes are carried in a map structure. - Data may be represented as binary, text, or protobuf messages.
REF: [https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/cloudevents.proto]
func (*CloudEvent) Descriptor
deprecated
added in
v0.5.0
func (*CloudEvent) Descriptor() ([]byte, []int)
Deprecated: Use CloudEvent.ProtoReflect.Descriptor instead.
func (*CloudEvent) GetAttributes ¶ added in v0.5.0
func (x *CloudEvent) GetAttributes() map[string]*CloudEvent_CloudEventAttributeValue
func (*CloudEvent) GetBinaryData ¶ added in v0.5.0
func (x *CloudEvent) GetBinaryData() []byte
func (*CloudEvent) GetData ¶ added in v0.5.0
func (m *CloudEvent) GetData() isCloudEvent_Data
func (*CloudEvent) GetId ¶ added in v0.5.0
func (x *CloudEvent) GetId() string
func (*CloudEvent) GetProtoData ¶ added in v0.5.0
func (x *CloudEvent) GetProtoData() *anypb.Any
func (*CloudEvent) GetSource ¶ added in v0.5.0
func (x *CloudEvent) GetSource() string
func (*CloudEvent) GetSpecVersion ¶ added in v0.5.0
func (x *CloudEvent) GetSpecVersion() string
func (*CloudEvent) GetTextData ¶ added in v0.5.0
func (x *CloudEvent) GetTextData() string
func (*CloudEvent) GetType ¶ added in v0.5.0
func (x *CloudEvent) GetType() string
func (*CloudEvent) ProtoMessage ¶ added in v0.5.0
func (*CloudEvent) ProtoMessage()
func (*CloudEvent) ProtoReflect ¶ added in v0.5.0
func (x *CloudEvent) ProtoReflect() protoreflect.Message
func (*CloudEvent) Reset ¶ added in v0.5.0
func (x *CloudEvent) Reset()
func (*CloudEvent) String ¶ added in v0.5.0
func (x *CloudEvent) String() string
func (*CloudEvent) Validate ¶ added in v0.5.0
func (m *CloudEvent) Validate() error
Validate checks the field values on CloudEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CloudEvent) ValidateAll ¶ added in v0.5.0
func (m *CloudEvent) ValidateAll() error
ValidateAll checks the field values on CloudEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloudEventMultiError, or nil if none found.
type CloudEventBatch ¶ added in v0.5.0
type CloudEventBatch struct { Events []*CloudEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events" bun:"events" csv:"events" pg:"events" yaml:"events"` // contains filtered or unexported fields }
* CloudEvent Protobuf Batch Format
func (*CloudEventBatch) Descriptor
deprecated
added in
v0.5.0
func (*CloudEventBatch) Descriptor() ([]byte, []int)
Deprecated: Use CloudEventBatch.ProtoReflect.Descriptor instead.
func (*CloudEventBatch) GetEvents ¶ added in v0.5.0
func (x *CloudEventBatch) GetEvents() []*CloudEvent
func (*CloudEventBatch) ProtoMessage ¶ added in v0.5.0
func (*CloudEventBatch) ProtoMessage()
func (*CloudEventBatch) ProtoReflect ¶ added in v0.5.0
func (x *CloudEventBatch) ProtoReflect() protoreflect.Message
func (*CloudEventBatch) Reset ¶ added in v0.5.0
func (x *CloudEventBatch) Reset()
func (*CloudEventBatch) String ¶ added in v0.5.0
func (x *CloudEventBatch) String() string
func (*CloudEventBatch) Validate ¶ added in v0.5.0
func (m *CloudEventBatch) Validate() error
Validate checks the field values on CloudEventBatch with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CloudEventBatch) ValidateAll ¶ added in v0.5.0
func (m *CloudEventBatch) ValidateAll() error
ValidateAll checks the field values on CloudEventBatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloudEventBatchMultiError, or nil if none found.
type CloudEventBatchMultiError ¶ added in v0.5.0
type CloudEventBatchMultiError []error
CloudEventBatchMultiError is an error wrapping multiple validation errors returned by CloudEventBatch.ValidateAll() if the designated constraints aren't met.
func (CloudEventBatchMultiError) AllErrors ¶ added in v0.5.0
func (m CloudEventBatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CloudEventBatchMultiError) Error ¶ added in v0.5.0
func (m CloudEventBatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CloudEventBatchValidationError ¶ added in v0.5.0
type CloudEventBatchValidationError struct {
// contains filtered or unexported fields
}
CloudEventBatchValidationError is the validation error returned by CloudEventBatch.Validate if the designated constraints aren't met.
func (CloudEventBatchValidationError) Cause ¶ added in v0.5.0
func (e CloudEventBatchValidationError) Cause() error
Cause function returns cause value.
func (CloudEventBatchValidationError) Error ¶ added in v0.5.0
func (e CloudEventBatchValidationError) Error() string
Error satisfies the builtin error interface
func (CloudEventBatchValidationError) ErrorName ¶ added in v0.5.0
func (e CloudEventBatchValidationError) ErrorName() string
ErrorName returns error name.
func (CloudEventBatchValidationError) Field ¶ added in v0.5.0
func (e CloudEventBatchValidationError) Field() string
Field function returns field value.
func (CloudEventBatchValidationError) Key ¶ added in v0.5.0
func (e CloudEventBatchValidationError) Key() bool
Key function returns key value.
func (CloudEventBatchValidationError) Reason ¶ added in v0.5.0
func (e CloudEventBatchValidationError) Reason() string
Reason function returns reason value.
type CloudEventMultiError ¶ added in v0.5.0
type CloudEventMultiError []error
CloudEventMultiError is an error wrapping multiple validation errors returned by CloudEvent.ValidateAll() if the designated constraints aren't met.
func (CloudEventMultiError) AllErrors ¶ added in v0.5.0
func (m CloudEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CloudEventMultiError) Error ¶ added in v0.5.0
func (m CloudEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CloudEventValidationError ¶ added in v0.5.0
type CloudEventValidationError struct {
// contains filtered or unexported fields
}
CloudEventValidationError is the validation error returned by CloudEvent.Validate if the designated constraints aren't met.
func (CloudEventValidationError) Cause ¶ added in v0.5.0
func (e CloudEventValidationError) Cause() error
Cause function returns cause value.
func (CloudEventValidationError) Error ¶ added in v0.5.0
func (e CloudEventValidationError) Error() string
Error satisfies the builtin error interface
func (CloudEventValidationError) ErrorName ¶ added in v0.5.0
func (e CloudEventValidationError) ErrorName() string
ErrorName returns error name.
func (CloudEventValidationError) Field ¶ added in v0.5.0
func (e CloudEventValidationError) Field() string
Field function returns field value.
func (CloudEventValidationError) Key ¶ added in v0.5.0
func (e CloudEventValidationError) Key() bool
Key function returns key value.
func (CloudEventValidationError) Reason ¶ added in v0.5.0
func (e CloudEventValidationError) Reason() string
Reason function returns reason value.
type CloudEvent_BinaryData ¶ added in v0.5.0
type CloudEvent_BinaryData struct {
BinaryData []byte `` /* 159-byte string literal not displayed */
}
type CloudEvent_CloudEventAttributeValue ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue struct { // Types that are assignable to Attr: // // *CloudEvent_CloudEventAttributeValue_CeBoolean // *CloudEvent_CloudEventAttributeValue_CeInteger // *CloudEvent_CloudEventAttributeValue_CeString // *CloudEvent_CloudEventAttributeValue_CeBytes // *CloudEvent_CloudEventAttributeValue_CeUri // *CloudEvent_CloudEventAttributeValue_CeUriRef // *CloudEvent_CloudEventAttributeValue_CeTimestamp Attr isCloudEvent_CloudEventAttributeValue_Attr `protobuf_oneof:"attr"` // contains filtered or unexported fields }
func (*CloudEvent_CloudEventAttributeValue) Descriptor
deprecated
added in
v0.5.0
func (*CloudEvent_CloudEventAttributeValue) Descriptor() ([]byte, []int)
Deprecated: Use CloudEvent_CloudEventAttributeValue.ProtoReflect.Descriptor instead.
func (*CloudEvent_CloudEventAttributeValue) GetAttr ¶ added in v0.5.0
func (m *CloudEvent_CloudEventAttributeValue) GetAttr() isCloudEvent_CloudEventAttributeValue_Attr
func (*CloudEvent_CloudEventAttributeValue) GetCeBoolean ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeBoolean() bool
func (*CloudEvent_CloudEventAttributeValue) GetCeBytes ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeBytes() []byte
func (*CloudEvent_CloudEventAttributeValue) GetCeInteger ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeInteger() int32
func (*CloudEvent_CloudEventAttributeValue) GetCeString ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeString() string
func (*CloudEvent_CloudEventAttributeValue) GetCeTimestamp ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeTimestamp() *timestamppb.Timestamp
func (*CloudEvent_CloudEventAttributeValue) GetCeUri ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeUri() string
func (*CloudEvent_CloudEventAttributeValue) GetCeUriRef ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) GetCeUriRef() string
func (*CloudEvent_CloudEventAttributeValue) ProtoMessage ¶ added in v0.5.0
func (*CloudEvent_CloudEventAttributeValue) ProtoMessage()
func (*CloudEvent_CloudEventAttributeValue) ProtoReflect ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) ProtoReflect() protoreflect.Message
func (*CloudEvent_CloudEventAttributeValue) Reset ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) Reset()
func (*CloudEvent_CloudEventAttributeValue) String ¶ added in v0.5.0
func (x *CloudEvent_CloudEventAttributeValue) String() string
func (*CloudEvent_CloudEventAttributeValue) Validate ¶ added in v0.5.0
func (m *CloudEvent_CloudEventAttributeValue) Validate() error
Validate checks the field values on CloudEvent_CloudEventAttributeValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CloudEvent_CloudEventAttributeValue) ValidateAll ¶ added in v0.5.0
func (m *CloudEvent_CloudEventAttributeValue) ValidateAll() error
ValidateAll checks the field values on CloudEvent_CloudEventAttributeValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CloudEvent_CloudEventAttributeValueMultiError, or nil if none found.
type CloudEvent_CloudEventAttributeValueMultiError ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValueMultiError []error
CloudEvent_CloudEventAttributeValueMultiError is an error wrapping multiple validation errors returned by CloudEvent_CloudEventAttributeValue.ValidateAll() if the designated constraints aren't met.
func (CloudEvent_CloudEventAttributeValueMultiError) AllErrors ¶ added in v0.5.0
func (m CloudEvent_CloudEventAttributeValueMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CloudEvent_CloudEventAttributeValueMultiError) Error ¶ added in v0.5.0
func (m CloudEvent_CloudEventAttributeValueMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CloudEvent_CloudEventAttributeValueValidationError ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValueValidationError struct {
// contains filtered or unexported fields
}
CloudEvent_CloudEventAttributeValueValidationError is the validation error returned by CloudEvent_CloudEventAttributeValue.Validate if the designated constraints aren't met.
func (CloudEvent_CloudEventAttributeValueValidationError) Cause ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) Cause() error
Cause function returns cause value.
func (CloudEvent_CloudEventAttributeValueValidationError) Error ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) Error() string
Error satisfies the builtin error interface
func (CloudEvent_CloudEventAttributeValueValidationError) ErrorName ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) ErrorName() string
ErrorName returns error name.
func (CloudEvent_CloudEventAttributeValueValidationError) Field ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) Field() string
Field function returns field value.
func (CloudEvent_CloudEventAttributeValueValidationError) Key ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) Key() bool
Key function returns key value.
func (CloudEvent_CloudEventAttributeValueValidationError) Reason ¶ added in v0.5.0
func (e CloudEvent_CloudEventAttributeValueValidationError) Reason() string
Reason function returns reason value.
type CloudEvent_CloudEventAttributeValue_CeBoolean ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeBoolean struct {
CeBoolean bool `protobuf:"varint,1,opt,name=ce_boolean,json=ceBoolean,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeBytes ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeBytes struct {
CeBytes []byte `protobuf:"bytes,4,opt,name=ce_bytes,json=ceBytes,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeInteger ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeInteger struct {
CeInteger int32 `protobuf:"varint,2,opt,name=ce_integer,json=ceInteger,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeString ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeString struct {
CeString string `protobuf:"bytes,3,opt,name=ce_string,json=ceString,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeTimestamp ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeTimestamp struct {
CeTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=ce_timestamp,json=ceTimestamp,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeUri ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeUri struct {
CeUri string `protobuf:"bytes,5,opt,name=ce_uri,json=ceUri,proto3,oneof"`
}
type CloudEvent_CloudEventAttributeValue_CeUriRef ¶ added in v0.5.0
type CloudEvent_CloudEventAttributeValue_CeUriRef struct {
CeUriRef string `protobuf:"bytes,6,opt,name=ce_uri_ref,json=ceUriRef,proto3,oneof"`
}
type CloudEvent_ProtoData ¶ added in v0.5.0
type CloudEvent_TextData ¶ added in v0.5.0
type CloudEvent_TextData struct {
TextData string `` /* 145-byte string literal not displayed */
}
type ConsumeRequest ¶
type ConsumeRequest struct { Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"` // contains filtered or unexported fields }
func (*ConsumeRequest) Descriptor
deprecated
func (*ConsumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConsumeRequest.ProtoReflect.Descriptor instead.
func (*ConsumeRequest) GetMessage ¶
func (x *ConsumeRequest) GetMessage() *CloudEvent
func (*ConsumeRequest) ProtoMessage ¶
func (*ConsumeRequest) ProtoMessage()
func (*ConsumeRequest) ProtoReflect ¶
func (x *ConsumeRequest) ProtoReflect() protoreflect.Message
func (*ConsumeRequest) Reset ¶
func (x *ConsumeRequest) Reset()
func (*ConsumeRequest) String ¶
func (x *ConsumeRequest) String() string
func (*ConsumeRequest) Validate ¶
func (m *ConsumeRequest) Validate() error
Validate checks the field values on ConsumeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConsumeRequest) ValidateAll ¶
func (m *ConsumeRequest) ValidateAll() error
ValidateAll checks the field values on ConsumeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConsumeRequestMultiError, or nil if none found.
type ConsumeRequestMultiError ¶
type ConsumeRequestMultiError []error
ConsumeRequestMultiError is an error wrapping multiple validation errors returned by ConsumeRequest.ValidateAll() if the designated constraints aren't met.
func (ConsumeRequestMultiError) AllErrors ¶
func (m ConsumeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConsumeRequestMultiError) Error ¶
func (m ConsumeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConsumeRequestValidationError ¶
type ConsumeRequestValidationError struct {
// contains filtered or unexported fields
}
ConsumeRequestValidationError is the validation error returned by ConsumeRequest.Validate if the designated constraints aren't met.
func (ConsumeRequestValidationError) Cause ¶
func (e ConsumeRequestValidationError) Cause() error
Cause function returns cause value.
func (ConsumeRequestValidationError) Error ¶
func (e ConsumeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ConsumeRequestValidationError) ErrorName ¶
func (e ConsumeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ConsumeRequestValidationError) Field ¶
func (e ConsumeRequestValidationError) Field() string
Field function returns field value.
func (ConsumeRequestValidationError) Key ¶
func (e ConsumeRequestValidationError) Key() bool
Key function returns key value.
func (ConsumeRequestValidationError) Reason ¶
func (e ConsumeRequestValidationError) Reason() string
Reason function returns reason value.
type ConsumeResponse ¶
type ConsumeResponse struct { Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"` // contains filtered or unexported fields }
func (*ConsumeResponse) Descriptor
deprecated
func (*ConsumeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConsumeResponse.ProtoReflect.Descriptor instead.
func (*ConsumeResponse) GetMessage ¶
func (x *ConsumeResponse) GetMessage() *CloudEvent
func (*ConsumeResponse) ProtoMessage ¶
func (*ConsumeResponse) ProtoMessage()
func (*ConsumeResponse) ProtoReflect ¶
func (x *ConsumeResponse) ProtoReflect() protoreflect.Message
func (*ConsumeResponse) Reset ¶
func (x *ConsumeResponse) Reset()
func (*ConsumeResponse) String ¶
func (x *ConsumeResponse) String() string
func (*ConsumeResponse) Validate ¶
func (m *ConsumeResponse) Validate() error
Validate checks the field values on ConsumeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConsumeResponse) ValidateAll ¶
func (m *ConsumeResponse) ValidateAll() error
ValidateAll checks the field values on ConsumeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConsumeResponseMultiError, or nil if none found.
type ConsumeResponseMultiError ¶
type ConsumeResponseMultiError []error
ConsumeResponseMultiError is an error wrapping multiple validation errors returned by ConsumeResponse.ValidateAll() if the designated constraints aren't met.
func (ConsumeResponseMultiError) AllErrors ¶
func (m ConsumeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConsumeResponseMultiError) Error ¶
func (m ConsumeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConsumeResponseValidationError ¶
type ConsumeResponseValidationError struct {
// contains filtered or unexported fields
}
ConsumeResponseValidationError is the validation error returned by ConsumeResponse.Validate if the designated constraints aren't met.
func (ConsumeResponseValidationError) Cause ¶
func (e ConsumeResponseValidationError) Cause() error
Cause function returns cause value.
func (ConsumeResponseValidationError) Error ¶
func (e ConsumeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ConsumeResponseValidationError) ErrorName ¶
func (e ConsumeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ConsumeResponseValidationError) Field ¶
func (e ConsumeResponseValidationError) Field() string
Field function returns field value.
func (ConsumeResponseValidationError) Key ¶
func (e ConsumeResponseValidationError) Key() bool
Key function returns key value.
func (ConsumeResponseValidationError) Reason ¶
func (e ConsumeResponseValidationError) Reason() string
Reason function returns reason value.
type ProduceRequest ¶
type ProduceRequest struct { // TODO: Change to `CloudEvent` message type Message *CloudEvent `protobuf:"bytes,1,opt,name=message,proto3" json:"message" bun:"message" csv:"message" pg:"message" yaml:"message"` // contains filtered or unexported fields }
Send this `Message` to the other `Actors` in the system that are subscribed to this `Message`
func (*ProduceRequest) Descriptor
deprecated
func (*ProduceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProduceRequest.ProtoReflect.Descriptor instead.
func (*ProduceRequest) GetMessage ¶
func (x *ProduceRequest) GetMessage() *CloudEvent
func (*ProduceRequest) ProtoMessage ¶
func (*ProduceRequest) ProtoMessage()
func (*ProduceRequest) ProtoReflect ¶
func (x *ProduceRequest) ProtoReflect() protoreflect.Message
func (*ProduceRequest) Reset ¶
func (x *ProduceRequest) Reset()
func (*ProduceRequest) String ¶
func (x *ProduceRequest) String() string
func (*ProduceRequest) Validate ¶
func (m *ProduceRequest) Validate() error
Validate checks the field values on ProduceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProduceRequest) ValidateAll ¶
func (m *ProduceRequest) ValidateAll() error
ValidateAll checks the field values on ProduceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProduceRequestMultiError, or nil if none found.
type ProduceRequestMultiError ¶
type ProduceRequestMultiError []error
ProduceRequestMultiError is an error wrapping multiple validation errors returned by ProduceRequest.ValidateAll() if the designated constraints aren't met.
func (ProduceRequestMultiError) AllErrors ¶
func (m ProduceRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProduceRequestMultiError) Error ¶
func (m ProduceRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProduceRequestValidationError ¶
type ProduceRequestValidationError struct {
// contains filtered or unexported fields
}
ProduceRequestValidationError is the validation error returned by ProduceRequest.Validate if the designated constraints aren't met.
func (ProduceRequestValidationError) Cause ¶
func (e ProduceRequestValidationError) Cause() error
Cause function returns cause value.
func (ProduceRequestValidationError) Error ¶
func (e ProduceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ProduceRequestValidationError) ErrorName ¶
func (e ProduceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ProduceRequestValidationError) Field ¶
func (e ProduceRequestValidationError) Field() string
Field function returns field value.
func (ProduceRequestValidationError) Key ¶
func (e ProduceRequestValidationError) Key() bool
Key function returns key value.
func (ProduceRequestValidationError) Reason ¶
func (e ProduceRequestValidationError) Reason() string
Reason function returns reason value.
type ProduceResponse ¶
type ProduceResponse struct { // The message id is returned as a way to acknowledge the message as been committed Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bun:"id" csv:"id" pg:"id" yaml:"id"` // contains filtered or unexported fields }
func (*ProduceResponse) Descriptor
deprecated
func (*ProduceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProduceResponse.ProtoReflect.Descriptor instead.
func (*ProduceResponse) GetId ¶
func (x *ProduceResponse) GetId() string
func (*ProduceResponse) ProtoMessage ¶
func (*ProduceResponse) ProtoMessage()
func (*ProduceResponse) ProtoReflect ¶
func (x *ProduceResponse) ProtoReflect() protoreflect.Message
func (*ProduceResponse) Reset ¶
func (x *ProduceResponse) Reset()
func (*ProduceResponse) String ¶
func (x *ProduceResponse) String() string
func (*ProduceResponse) Validate ¶
func (m *ProduceResponse) Validate() error
Validate checks the field values on ProduceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProduceResponse) ValidateAll ¶
func (m *ProduceResponse) ValidateAll() error
ValidateAll checks the field values on ProduceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProduceResponseMultiError, or nil if none found.
type ProduceResponseMultiError ¶
type ProduceResponseMultiError []error
ProduceResponseMultiError is an error wrapping multiple validation errors returned by ProduceResponse.ValidateAll() if the designated constraints aren't met.
func (ProduceResponseMultiError) AllErrors ¶
func (m ProduceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProduceResponseMultiError) Error ¶
func (m ProduceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProduceResponseValidationError ¶
type ProduceResponseValidationError struct {
// contains filtered or unexported fields
}
ProduceResponseValidationError is the validation error returned by ProduceResponse.Validate if the designated constraints aren't met.
func (ProduceResponseValidationError) Cause ¶
func (e ProduceResponseValidationError) Cause() error
Cause function returns cause value.
func (ProduceResponseValidationError) Error ¶
func (e ProduceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ProduceResponseValidationError) ErrorName ¶
func (e ProduceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ProduceResponseValidationError) Field ¶
func (e ProduceResponseValidationError) Field() string
Field function returns field value.
func (ProduceResponseValidationError) Key ¶
func (e ProduceResponseValidationError) Key() bool
Key function returns key value.
func (ProduceResponseValidationError) Reason ¶
func (e ProduceResponseValidationError) Reason() string
Reason function returns reason value.