Documentation ¶
Index ¶
- Variables
- type AuthenticationEvent
- func (*AuthenticationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationEvent) GetContext() *EventContext
- func (x *AuthenticationEvent) GetEventTime() *timestamppb.Timestamp
- func (x *AuthenticationEvent) GetResult() LoginEventType
- func (x *AuthenticationEvent) GetSourcePosition() *latlng.LatLng
- func (x *AuthenticationEvent) GetSubject() string
- func (*AuthenticationEvent) ProtoMessage()
- func (x *AuthenticationEvent) ProtoReflect() protoreflect.Message
- func (x *AuthenticationEvent) Reset()
- func (x *AuthenticationEvent) String() string
- func (m *AuthenticationEvent) Validate() error
- func (m *AuthenticationEvent) ValidateAll() error
- type AuthenticationEventMultiError
- type AuthenticationEventValidationError
- func (e AuthenticationEventValidationError) Cause() error
- func (e AuthenticationEventValidationError) Error() string
- func (e AuthenticationEventValidationError) ErrorName() string
- func (e AuthenticationEventValidationError) Field() string
- func (e AuthenticationEventValidationError) Key() bool
- func (e AuthenticationEventValidationError) Reason() string
- type BundleInfoV1
- func (*BundleInfoV1) Descriptor() ([]byte, []int)deprecated
- func (x *BundleInfoV1) GetRevision() string
- func (*BundleInfoV1) ProtoMessage()
- func (x *BundleInfoV1) ProtoReflect() protoreflect.Message
- func (x *BundleInfoV1) Reset()
- func (x *BundleInfoV1) String() string
- func (m *BundleInfoV1) Validate() error
- func (m *BundleInfoV1) ValidateAll() error
- type BundleInfoV1MultiError
- type BundleInfoV1ValidationError
- func (e BundleInfoV1ValidationError) Cause() error
- func (e BundleInfoV1ValidationError) Error() string
- func (e BundleInfoV1ValidationError) ErrorName() string
- func (e BundleInfoV1ValidationError) Field() string
- func (e BundleInfoV1ValidationError) Key() bool
- func (e BundleInfoV1ValidationError) Reason() string
- type Email
- func (*Email) Descriptor() ([]byte, []int)deprecated
- func (x *Email) GetAddress() string
- func (x *Email) GetName() string
- func (*Email) ProtoMessage()
- func (x *Email) ProtoReflect() protoreflect.Message
- func (x *Email) Reset()
- func (x *Email) String() string
- func (m *Email) Validate() error
- func (m *Email) ValidateAll() error
- type EmailMultiError
- type EmailValidationError
- type EventContext
- func (*EventContext) Descriptor() ([]byte, []int)deprecated
- func (x *EventContext) GetAttributes() map[string]*v1beta1.Value
- func (x *EventContext) GetId() string
- func (*EventContext) ProtoMessage()
- func (x *EventContext) ProtoReflect() protoreflect.Message
- func (x *EventContext) Reset()
- func (x *EventContext) String() string
- func (m *EventContext) Validate() error
- func (m *EventContext) ValidateAll() error
- type EventContextMultiError
- type EventContextValidationError
- func (e EventContextValidationError) Cause() error
- func (e EventContextValidationError) Error() string
- func (e EventContextValidationError) ErrorName() string
- func (e EventContextValidationError) Field() string
- func (e EventContextValidationError) Key() bool
- func (e EventContextValidationError) Reason() string
- type HTTPMethod
- type HTTPProtocol
- func (HTTPProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPProtocol) Enum() *HTTPProtocol
- func (HTTPProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPProtocol) Number() protoreflect.EnumNumber
- func (x HTTPProtocol) String() string
- func (HTTPProtocol) Type() protoreflect.EnumType
- type HTTPRequest
- func (*HTTPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequest) GetBody() string
- func (x *HTTPRequest) GetCookies() []string
- func (x *HTTPRequest) GetHeaders() map[string]string
- func (x *HTTPRequest) GetIsBase64Encoded() bool
- func (x *HTTPRequest) GetPathParameters() map[string]string
- func (x *HTTPRequest) GetQueryStringParameters() map[string]string
- func (x *HTTPRequest) GetRawPath() string
- func (x *HTTPRequest) GetRawQueryString() string
- func (x *HTTPRequest) GetRequestContext() *HTTPRequestContext
- func (x *HTTPRequest) GetRouteKey() string
- func (x *HTTPRequest) GetStageVariables() map[string]string
- func (x *HTTPRequest) GetVersion() string
- func (*HTTPRequest) ProtoMessage()
- func (x *HTTPRequest) ProtoReflect() protoreflect.Message
- func (x *HTTPRequest) Reset()
- func (x *HTTPRequest) String() string
- func (m *HTTPRequest) Validate() error
- func (m *HTTPRequest) ValidateAll() error
- type HTTPRequestContext
- func (*HTTPRequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequestContext) GetAccountId() string
- func (x *HTTPRequestContext) GetAuthorizer() *HTTPRequestContextAuthorizerDescription
- func (x *HTTPRequestContext) GetDomainName() string
- func (x *HTTPRequestContext) GetDomainPrefix() string
- func (x *HTTPRequestContext) GetHttp() *HTTPRequestContextHTTPDescription
- func (x *HTTPRequestContext) GetRequestId() string
- func (x *HTTPRequestContext) GetRouteKey() string
- func (x *HTTPRequestContext) GetStage() string
- func (x *HTTPRequestContext) GetTime() string
- func (x *HTTPRequestContext) GetTimeEpoch() int64
- func (*HTTPRequestContext) ProtoMessage()
- func (x *HTTPRequestContext) ProtoReflect() protoreflect.Message
- func (x *HTTPRequestContext) Reset()
- func (x *HTTPRequestContext) String() string
- func (m *HTTPRequestContext) Validate() error
- func (m *HTTPRequestContext) ValidateAll() error
- type HTTPRequestContextAuthorizerDescription
- func (*HTTPRequestContextAuthorizerDescription) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequestContextAuthorizerDescription) GetJwt() *HTTPRequestContextAuthorizerJWTDescription
- func (*HTTPRequestContextAuthorizerDescription) ProtoMessage()
- func (x *HTTPRequestContextAuthorizerDescription) ProtoReflect() protoreflect.Message
- func (x *HTTPRequestContextAuthorizerDescription) Reset()
- func (x *HTTPRequestContextAuthorizerDescription) String() string
- func (m *HTTPRequestContextAuthorizerDescription) Validate() error
- func (m *HTTPRequestContextAuthorizerDescription) ValidateAll() error
- type HTTPRequestContextAuthorizerDescriptionMultiError
- type HTTPRequestContextAuthorizerDescriptionValidationError
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) Cause() error
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) Error() string
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) ErrorName() string
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) Field() string
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) Key() bool
- func (e HTTPRequestContextAuthorizerDescriptionValidationError) Reason() string
- type HTTPRequestContextAuthorizerJWTDescription
- func (*HTTPRequestContextAuthorizerJWTDescription) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequestContextAuthorizerJWTDescription) GetClaims() map[string]string
- func (x *HTTPRequestContextAuthorizerJWTDescription) GetScopes() []string
- func (*HTTPRequestContextAuthorizerJWTDescription) ProtoMessage()
- func (x *HTTPRequestContextAuthorizerJWTDescription) ProtoReflect() protoreflect.Message
- func (x *HTTPRequestContextAuthorizerJWTDescription) Reset()
- func (x *HTTPRequestContextAuthorizerJWTDescription) String() string
- func (m *HTTPRequestContextAuthorizerJWTDescription) Validate() error
- func (m *HTTPRequestContextAuthorizerJWTDescription) ValidateAll() error
- type HTTPRequestContextAuthorizerJWTDescriptionMultiError
- type HTTPRequestContextAuthorizerJWTDescriptionValidationError
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Cause() error
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Error() string
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) ErrorName() string
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Field() string
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Key() bool
- func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Reason() string
- type HTTPRequestContextHTTPDescription
- func (*HTTPRequestContextHTTPDescription) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequestContextHTTPDescription) GetMethod() HTTPMethod
- func (x *HTTPRequestContextHTTPDescription) GetPath() string
- func (x *HTTPRequestContextHTTPDescription) GetProtocol() HTTPProtocol
- func (x *HTTPRequestContextHTTPDescription) GetSourceIp() string
- func (x *HTTPRequestContextHTTPDescription) GetUserAgent() string
- func (*HTTPRequestContextHTTPDescription) ProtoMessage()
- func (x *HTTPRequestContextHTTPDescription) ProtoReflect() protoreflect.Message
- func (x *HTTPRequestContextHTTPDescription) Reset()
- func (x *HTTPRequestContextHTTPDescription) String() string
- func (m *HTTPRequestContextHTTPDescription) Validate() error
- func (m *HTTPRequestContextHTTPDescription) ValidateAll() error
- type HTTPRequestContextHTTPDescriptionMultiError
- type HTTPRequestContextHTTPDescriptionValidationError
- func (e HTTPRequestContextHTTPDescriptionValidationError) Cause() error
- func (e HTTPRequestContextHTTPDescriptionValidationError) Error() string
- func (e HTTPRequestContextHTTPDescriptionValidationError) ErrorName() string
- func (e HTTPRequestContextHTTPDescriptionValidationError) Field() string
- func (e HTTPRequestContextHTTPDescriptionValidationError) Key() bool
- func (e HTTPRequestContextHTTPDescriptionValidationError) Reason() string
- type HTTPRequestContextMultiError
- type HTTPRequestContextValidationError
- func (e HTTPRequestContextValidationError) Cause() error
- func (e HTTPRequestContextValidationError) Error() string
- func (e HTTPRequestContextValidationError) ErrorName() string
- func (e HTTPRequestContextValidationError) Field() string
- func (e HTTPRequestContextValidationError) Key() bool
- func (e HTTPRequestContextValidationError) Reason() string
- type HTTPRequestMultiError
- type HTTPRequestValidationError
- func (e HTTPRequestValidationError) Cause() error
- func (e HTTPRequestValidationError) Error() string
- func (e HTTPRequestValidationError) ErrorName() string
- func (e HTTPRequestValidationError) Field() string
- func (e HTTPRequestValidationError) Key() bool
- func (e HTTPRequestValidationError) Reason() string
- type LoginEventType
- func (LoginEventType) Descriptor() protoreflect.EnumDescriptor
- func (x LoginEventType) Enum() *LoginEventType
- func (LoginEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginEventType) Number() protoreflect.EnumNumber
- func (x LoginEventType) String() string
- func (LoginEventType) Type() protoreflect.EnumType
- type OPADecisionLogEvent
- func (*OPADecisionLogEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OPADecisionLogEvent) GetAtTime() *timestamppb.Timestamp
- func (x *OPADecisionLogEvent) GetBundles() map[string]*BundleInfoV1
- func (x *OPADecisionLogEvent) GetDecisionId() string
- func (x *OPADecisionLogEvent) GetErased() []string
- func (x *OPADecisionLogEvent) GetError() string
- func (x *OPADecisionLogEvent) GetInput() *v1beta1.Value
- func (x *OPADecisionLogEvent) GetLabels() map[string]string
- func (x *OPADecisionLogEvent) GetMasked() []string
- func (x *OPADecisionLogEvent) GetMetrics() *v1beta1.MapValue
- func (x *OPADecisionLogEvent) GetPath() string
- func (x *OPADecisionLogEvent) GetQuery() string
- func (x *OPADecisionLogEvent) GetRequestedBy() string
- func (x *OPADecisionLogEvent) GetResult() *v1beta1.Value
- func (*OPADecisionLogEvent) ProtoMessage()
- func (x *OPADecisionLogEvent) ProtoReflect() protoreflect.Message
- func (x *OPADecisionLogEvent) Reset()
- func (x *OPADecisionLogEvent) String() string
- func (m *OPADecisionLogEvent) Validate() error
- func (m *OPADecisionLogEvent) ValidateAll() error
- type OPADecisionLogEventMultiError
- type OPADecisionLogEventValidationError
- func (e OPADecisionLogEventValidationError) Cause() error
- func (e OPADecisionLogEventValidationError) Error() string
- func (e OPADecisionLogEventValidationError) ErrorName() string
- func (e OPADecisionLogEventValidationError) Field() string
- func (e OPADecisionLogEventValidationError) Key() bool
- func (e OPADecisionLogEventValidationError) Reason() string
- type SendMessageEmailEvent
- func (*SendMessageEmailEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageEmailEvent) GetBatchId() string
- func (x *SendMessageEmailEvent) GetBcc() []*Email
- func (x *SendMessageEmailEvent) GetCategories() []string
- func (x *SendMessageEmailEvent) GetCc() []*Email
- func (x *SendMessageEmailEvent) GetCustomArgs() map[string]string
- func (x *SendMessageEmailEvent) GetDynamicTemplateValues() map[string]*v1beta1.Value
- func (x *SendMessageEmailEvent) GetFrom() *Email
- func (x *SendMessageEmailEvent) GetHeaders() map[string]string
- func (x *SendMessageEmailEvent) GetHtmlContent() string
- func (x *SendMessageEmailEvent) GetReplyTo() *Email
- func (x *SendMessageEmailEvent) GetSendAtTime() *timestamppb.Timestamp
- func (x *SendMessageEmailEvent) GetSubject() string
- func (x *SendMessageEmailEvent) GetTextContent() string
- func (x *SendMessageEmailEvent) GetTo() []*Email
- func (*SendMessageEmailEvent) ProtoMessage()
- func (x *SendMessageEmailEvent) ProtoReflect() protoreflect.Message
- func (x *SendMessageEmailEvent) Reset()
- func (x *SendMessageEmailEvent) String() string
- func (m *SendMessageEmailEvent) Validate() error
- func (m *SendMessageEmailEvent) ValidateAll() error
- type SendMessageEmailEventMultiError
- type SendMessageEmailEventValidationError
- func (e SendMessageEmailEventValidationError) Cause() error
- func (e SendMessageEmailEventValidationError) Error() string
- func (e SendMessageEmailEventValidationError) ErrorName() string
- func (e SendMessageEmailEventValidationError) Field() string
- func (e SendMessageEmailEventValidationError) Key() bool
- func (e SendMessageEmailEventValidationError) Reason() string
- type SendTemplateEmailEvent
- func (*SendTemplateEmailEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SendTemplateEmailEvent) GetBatchId() string
- func (x *SendTemplateEmailEvent) GetBcc() []*Email
- func (x *SendTemplateEmailEvent) GetCategories() []string
- func (x *SendTemplateEmailEvent) GetCc() []*Email
- func (x *SendTemplateEmailEvent) GetCustomArgs() map[string]string
- func (x *SendTemplateEmailEvent) GetDynamicTemplateValues() map[string]*v1beta1.Value
- func (x *SendTemplateEmailEvent) GetFrom() *Email
- func (x *SendTemplateEmailEvent) GetHeaders() map[string]string
- func (x *SendTemplateEmailEvent) GetReplyTo() *Email
- func (x *SendTemplateEmailEvent) GetSendAtTime() *timestamppb.Timestamp
- func (x *SendTemplateEmailEvent) GetSubject() string
- func (x *SendTemplateEmailEvent) GetTemplateId() string
- func (x *SendTemplateEmailEvent) GetTo() []*Email
- func (*SendTemplateEmailEvent) ProtoMessage()
- func (x *SendTemplateEmailEvent) ProtoReflect() protoreflect.Message
- func (x *SendTemplateEmailEvent) Reset()
- func (x *SendTemplateEmailEvent) String() string
- func (m *SendTemplateEmailEvent) Validate() error
- func (m *SendTemplateEmailEvent) ValidateAll() error
- type SendTemplateEmailEventMultiError
- type SendTemplateEmailEventValidationError
- func (e SendTemplateEmailEventValidationError) Cause() error
- func (e SendTemplateEmailEventValidationError) Error() string
- func (e SendTemplateEmailEventValidationError) ErrorName() string
- func (e SendTemplateEmailEventValidationError) Field() string
- func (e SendTemplateEmailEventValidationError) Key() bool
- func (e SendTemplateEmailEventValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( LoginEventType_name = map[int32]string{ 0: "LOGIN_EVENT_TYPE_INVALID", 1: "LOGIN_EVENT_TYPE_SUCCESS", 2: "LOGIN_EVENT_TYPE_FAILED", } LoginEventType_value = map[string]int32{ "LOGIN_EVENT_TYPE_INVALID": 0, "LOGIN_EVENT_TYPE_SUCCESS": 1, "LOGIN_EVENT_TYPE_FAILED": 2, } )
Enum value maps for LoginEventType.
var ( HTTPMethod_name = map[int32]string{ 0: "HTTP_METHOD_INVALID", 1: "HTTP_METHOD_GET", 2: "HTTP_METHOD_HEAD", 3: "HTTP_METHOD_POST", 4: "HTTP_METHOD_PUT", 5: "HTTP_METHOD_PATCH", 6: "HTTP_METHOD_DELETE", 7: "HTTP_METHOD_CONNECT", 8: "HTTP_METHOD_OPTIONS", 9: "HTTP_METHOD_TRACE", } HTTPMethod_value = map[string]int32{ "HTTP_METHOD_INVALID": 0, "HTTP_METHOD_GET": 1, "HTTP_METHOD_HEAD": 2, "HTTP_METHOD_POST": 3, "HTTP_METHOD_PUT": 4, "HTTP_METHOD_PATCH": 5, "HTTP_METHOD_DELETE": 6, "HTTP_METHOD_CONNECT": 7, "HTTP_METHOD_OPTIONS": 8, "HTTP_METHOD_TRACE": 9, } )
Enum value maps for HTTPMethod.
var ( HTTPProtocol_name = map[int32]string{ 0: "HTTP_PROTOCOL_INVALID", 1: "HTTP_PROTOCOL_HTTP_1_1", 2: "HTTP_PROTOCOL_HTTP_2_0", } HTTPProtocol_value = map[string]int32{ "HTTP_PROTOCOL_INVALID": 0, "HTTP_PROTOCOL_HTTP_1_1": 1, "HTTP_PROTOCOL_HTTP_2_0": 2, } )
Enum value maps for HTTPProtocol.
var File_indykite_events_v1beta1_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthenticationEvent ¶
type AuthenticationEvent struct { Context *EventContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Result LoginEventType `protobuf:"varint,2,opt,name=result,proto3,enum=indykite.events.v1beta1.LoginEventType" json:"result,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` EventTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // Anonymized location of source SourcePosition *latlng.LatLng `protobuf:"bytes,5,opt,name=source_position,json=sourcePosition,proto3" json:"source_position,omitempty"` // contains filtered or unexported fields }
AuthenticationEvent contains the Authentication Follow lifecycle events.
func (*AuthenticationEvent) Descriptor
deprecated
func (*AuthenticationEvent) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticationEvent.ProtoReflect.Descriptor instead.
func (*AuthenticationEvent) GetContext ¶
func (x *AuthenticationEvent) GetContext() *EventContext
func (*AuthenticationEvent) GetEventTime ¶
func (x *AuthenticationEvent) GetEventTime() *timestamppb.Timestamp
func (*AuthenticationEvent) GetResult ¶
func (x *AuthenticationEvent) GetResult() LoginEventType
func (*AuthenticationEvent) GetSourcePosition ¶
func (x *AuthenticationEvent) GetSourcePosition() *latlng.LatLng
func (*AuthenticationEvent) GetSubject ¶
func (x *AuthenticationEvent) GetSubject() string
func (*AuthenticationEvent) ProtoMessage ¶
func (*AuthenticationEvent) ProtoMessage()
func (*AuthenticationEvent) ProtoReflect ¶
func (x *AuthenticationEvent) ProtoReflect() protoreflect.Message
func (*AuthenticationEvent) Reset ¶
func (x *AuthenticationEvent) Reset()
func (*AuthenticationEvent) String ¶
func (x *AuthenticationEvent) String() string
func (*AuthenticationEvent) Validate ¶
func (m *AuthenticationEvent) Validate() error
Validate checks the field values on AuthenticationEvent 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 (*AuthenticationEvent) ValidateAll ¶
func (m *AuthenticationEvent) ValidateAll() error
ValidateAll checks the field values on AuthenticationEvent 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 AuthenticationEventMultiError, or nil if none found.
type AuthenticationEventMultiError ¶
type AuthenticationEventMultiError []error
AuthenticationEventMultiError is an error wrapping multiple validation errors returned by AuthenticationEvent.ValidateAll() if the designated constraints aren't met.
func (AuthenticationEventMultiError) AllErrors ¶
func (m AuthenticationEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthenticationEventMultiError) Error ¶
func (m AuthenticationEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthenticationEventValidationError ¶
type AuthenticationEventValidationError struct {
// contains filtered or unexported fields
}
AuthenticationEventValidationError is the validation error returned by AuthenticationEvent.Validate if the designated constraints aren't met.
func (AuthenticationEventValidationError) Cause ¶
func (e AuthenticationEventValidationError) Cause() error
Cause function returns cause value.
func (AuthenticationEventValidationError) Error ¶
func (e AuthenticationEventValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticationEventValidationError) ErrorName ¶
func (e AuthenticationEventValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticationEventValidationError) Field ¶
func (e AuthenticationEventValidationError) Field() string
Field function returns field value.
func (AuthenticationEventValidationError) Key ¶
func (e AuthenticationEventValidationError) Key() bool
Key function returns key value.
func (AuthenticationEventValidationError) Reason ¶
func (e AuthenticationEventValidationError) Reason() string
Reason function returns reason value.
type BundleInfoV1 ¶
type BundleInfoV1 struct { Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*BundleInfoV1) Descriptor
deprecated
func (*BundleInfoV1) Descriptor() ([]byte, []int)
Deprecated: Use BundleInfoV1.ProtoReflect.Descriptor instead.
func (*BundleInfoV1) GetRevision ¶
func (x *BundleInfoV1) GetRevision() string
func (*BundleInfoV1) ProtoMessage ¶
func (*BundleInfoV1) ProtoMessage()
func (*BundleInfoV1) ProtoReflect ¶
func (x *BundleInfoV1) ProtoReflect() protoreflect.Message
func (*BundleInfoV1) Reset ¶
func (x *BundleInfoV1) Reset()
func (*BundleInfoV1) String ¶
func (x *BundleInfoV1) String() string
func (*BundleInfoV1) Validate ¶
func (m *BundleInfoV1) Validate() error
Validate checks the field values on BundleInfoV1 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 (*BundleInfoV1) ValidateAll ¶
func (m *BundleInfoV1) ValidateAll() error
ValidateAll checks the field values on BundleInfoV1 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 BundleInfoV1MultiError, or nil if none found.
type BundleInfoV1MultiError ¶
type BundleInfoV1MultiError []error
BundleInfoV1MultiError is an error wrapping multiple validation errors returned by BundleInfoV1.ValidateAll() if the designated constraints aren't met.
func (BundleInfoV1MultiError) AllErrors ¶
func (m BundleInfoV1MultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BundleInfoV1MultiError) Error ¶
func (m BundleInfoV1MultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BundleInfoV1ValidationError ¶
type BundleInfoV1ValidationError struct {
// contains filtered or unexported fields
}
BundleInfoV1ValidationError is the validation error returned by BundleInfoV1.Validate if the designated constraints aren't met.
func (BundleInfoV1ValidationError) Cause ¶
func (e BundleInfoV1ValidationError) Cause() error
Cause function returns cause value.
func (BundleInfoV1ValidationError) Error ¶
func (e BundleInfoV1ValidationError) Error() string
Error satisfies the builtin error interface
func (BundleInfoV1ValidationError) ErrorName ¶
func (e BundleInfoV1ValidationError) ErrorName() string
ErrorName returns error name.
func (BundleInfoV1ValidationError) Field ¶
func (e BundleInfoV1ValidationError) Field() string
Field function returns field value.
func (BundleInfoV1ValidationError) Key ¶
func (e BundleInfoV1ValidationError) Key() bool
Key function returns key value.
func (BundleInfoV1ValidationError) Reason ¶
func (e BundleInfoV1ValidationError) Reason() string
Reason function returns reason value.
type Email ¶
type Email struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Email holds email name and address info.
func (*Email) Descriptor
deprecated
func (*Email) GetAddress ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
func (*Email) ProtoReflect ¶
func (x *Email) ProtoReflect() protoreflect.Message
func (*Email) Validate ¶
Validate checks the field values on Email 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 (*Email) ValidateAll ¶
ValidateAll checks the field values on Email 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 EmailMultiError, or nil if none found.
type EmailMultiError ¶
type EmailMultiError []error
EmailMultiError is an error wrapping multiple validation errors returned by Email.ValidateAll() if the designated constraints aren't met.
func (EmailMultiError) AllErrors ¶
func (m EmailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmailMultiError) Error ¶
func (m EmailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmailValidationError ¶
type EmailValidationError struct {
// contains filtered or unexported fields
}
EmailValidationError is the validation error returned by Email.Validate if the designated constraints aren't met.
func (EmailValidationError) Cause ¶
func (e EmailValidationError) Cause() error
Cause function returns cause value.
func (EmailValidationError) Error ¶
func (e EmailValidationError) Error() string
Error satisfies the builtin error interface
func (EmailValidationError) ErrorName ¶
func (e EmailValidationError) ErrorName() string
ErrorName returns error name.
func (EmailValidationError) Field ¶
func (e EmailValidationError) Field() string
Field function returns field value.
func (EmailValidationError) Key ¶
func (e EmailValidationError) Key() bool
Key function returns key value.
func (EmailValidationError) Reason ¶
func (e EmailValidationError) Reason() string
Reason function returns reason value.
type EventContext ¶
type EventContext struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Attributes map[string]*v1beta1.Value `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
EventContext is a generic context attached to events and holds any value.
func (*EventContext) Descriptor
deprecated
func (*EventContext) Descriptor() ([]byte, []int)
Deprecated: Use EventContext.ProtoReflect.Descriptor instead.
func (*EventContext) GetAttributes ¶
func (x *EventContext) GetAttributes() map[string]*v1beta1.Value
func (*EventContext) GetId ¶
func (x *EventContext) GetId() string
func (*EventContext) ProtoMessage ¶
func (*EventContext) ProtoMessage()
func (*EventContext) ProtoReflect ¶
func (x *EventContext) ProtoReflect() protoreflect.Message
func (*EventContext) Reset ¶
func (x *EventContext) Reset()
func (*EventContext) String ¶
func (x *EventContext) String() string
func (*EventContext) Validate ¶
func (m *EventContext) Validate() error
Validate checks the field values on EventContext 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 (*EventContext) ValidateAll ¶
func (m *EventContext) ValidateAll() error
ValidateAll checks the field values on EventContext 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 EventContextMultiError, or nil if none found.
type EventContextMultiError ¶
type EventContextMultiError []error
EventContextMultiError is an error wrapping multiple validation errors returned by EventContext.ValidateAll() if the designated constraints aren't met.
func (EventContextMultiError) AllErrors ¶
func (m EventContextMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventContextMultiError) Error ¶
func (m EventContextMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventContextValidationError ¶
type EventContextValidationError struct {
// contains filtered or unexported fields
}
EventContextValidationError is the validation error returned by EventContext.Validate if the designated constraints aren't met.
func (EventContextValidationError) Cause ¶
func (e EventContextValidationError) Cause() error
Cause function returns cause value.
func (EventContextValidationError) Error ¶
func (e EventContextValidationError) Error() string
Error satisfies the builtin error interface
func (EventContextValidationError) ErrorName ¶
func (e EventContextValidationError) ErrorName() string
ErrorName returns error name.
func (EventContextValidationError) Field ¶
func (e EventContextValidationError) Field() string
Field function returns field value.
func (EventContextValidationError) Key ¶
func (e EventContextValidationError) Key() bool
Key function returns key value.
func (EventContextValidationError) Reason ¶
func (e EventContextValidationError) Reason() string
Reason function returns reason value.
type HTTPMethod ¶
type HTTPMethod int32
const ( HTTPMethod_HTTP_METHOD_INVALID HTTPMethod = 0 HTTPMethod_HTTP_METHOD_GET HTTPMethod = 1 HTTPMethod_HTTP_METHOD_HEAD HTTPMethod = 2 HTTPMethod_HTTP_METHOD_POST HTTPMethod = 3 HTTPMethod_HTTP_METHOD_PUT HTTPMethod = 4 HTTPMethod_HTTP_METHOD_PATCH HTTPMethod = 5 HTTPMethod_HTTP_METHOD_DELETE HTTPMethod = 6 HTTPMethod_HTTP_METHOD_CONNECT HTTPMethod = 7 HTTPMethod_HTTP_METHOD_OPTIONS HTTPMethod = 8 HTTPMethod_HTTP_METHOD_TRACE HTTPMethod = 9 )
func (HTTPMethod) Descriptor ¶
func (HTTPMethod) Descriptor() protoreflect.EnumDescriptor
func (HTTPMethod) Enum ¶
func (x HTTPMethod) Enum() *HTTPMethod
func (HTTPMethod) EnumDescriptor
deprecated
func (HTTPMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPMethod.Descriptor instead.
func (HTTPMethod) Number ¶
func (x HTTPMethod) Number() protoreflect.EnumNumber
func (HTTPMethod) String ¶
func (x HTTPMethod) String() string
func (HTTPMethod) Type ¶
func (HTTPMethod) Type() protoreflect.EnumType
type HTTPProtocol ¶
type HTTPProtocol int32
const ( HTTPProtocol_HTTP_PROTOCOL_INVALID HTTPProtocol = 0 HTTPProtocol_HTTP_PROTOCOL_HTTP_1_1 HTTPProtocol = 1 HTTPProtocol_HTTP_PROTOCOL_HTTP_2_0 HTTPProtocol = 2 )
func (HTTPProtocol) Descriptor ¶
func (HTTPProtocol) Descriptor() protoreflect.EnumDescriptor
func (HTTPProtocol) Enum ¶
func (x HTTPProtocol) Enum() *HTTPProtocol
func (HTTPProtocol) EnumDescriptor
deprecated
func (HTTPProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPProtocol.Descriptor instead.
func (HTTPProtocol) Number ¶
func (x HTTPProtocol) Number() protoreflect.EnumNumber
func (HTTPProtocol) String ¶
func (x HTTPProtocol) String() string
func (HTTPProtocol) Type ¶
func (HTTPProtocol) Type() protoreflect.EnumType
type HTTPRequest ¶
type HTTPRequest struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` RouteKey string `protobuf:"bytes,2,opt,name=route_key,json=routeKey,proto3" json:"route_key,omitempty"` RawPath string `protobuf:"bytes,3,opt,name=raw_path,json=rawPath,proto3" json:"raw_path,omitempty"` RawQueryString string `protobuf:"bytes,4,opt,name=raw_query_string,json=rawQueryString,proto3" json:"raw_query_string,omitempty"` Cookies []string `protobuf:"bytes,5,rep,name=cookies,proto3" json:"cookies,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ QueryStringParameters map[string]string `` /* 214-byte string literal not displayed */ PathParameters map[string]string `` /* 191-byte string literal not displayed */ RequestContext *HTTPRequestContext `protobuf:"bytes,9,opt,name=request_context,json=requestContext,proto3" json:"request_context,omitempty"` StageVariables map[string]string `` /* 192-byte string literal not displayed */ Body string `protobuf:"bytes,11,opt,name=body,proto3" json:"body,omitempty"` IsBase64Encoded bool `protobuf:"varint,12,opt,name=is_base64_encoded,json=isBase64Encoded,proto3" json:"is_base64_encoded,omitempty"` // contains filtered or unexported fields }
HTTPRequest contains data coming from the HTTP API
func (*HTTPRequest) Descriptor
deprecated
func (*HTTPRequest) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequest.ProtoReflect.Descriptor instead.
func (*HTTPRequest) GetBody ¶
func (x *HTTPRequest) GetBody() string
func (*HTTPRequest) GetCookies ¶
func (x *HTTPRequest) GetCookies() []string
func (*HTTPRequest) GetHeaders ¶
func (x *HTTPRequest) GetHeaders() map[string]string
func (*HTTPRequest) GetIsBase64Encoded ¶
func (x *HTTPRequest) GetIsBase64Encoded() bool
func (*HTTPRequest) GetPathParameters ¶
func (x *HTTPRequest) GetPathParameters() map[string]string
func (*HTTPRequest) GetQueryStringParameters ¶
func (x *HTTPRequest) GetQueryStringParameters() map[string]string
func (*HTTPRequest) GetRawPath ¶
func (x *HTTPRequest) GetRawPath() string
func (*HTTPRequest) GetRawQueryString ¶
func (x *HTTPRequest) GetRawQueryString() string
func (*HTTPRequest) GetRequestContext ¶
func (x *HTTPRequest) GetRequestContext() *HTTPRequestContext
func (*HTTPRequest) GetRouteKey ¶
func (x *HTTPRequest) GetRouteKey() string
func (*HTTPRequest) GetStageVariables ¶
func (x *HTTPRequest) GetStageVariables() map[string]string
func (*HTTPRequest) GetVersion ¶
func (x *HTTPRequest) GetVersion() string
func (*HTTPRequest) ProtoMessage ¶
func (*HTTPRequest) ProtoMessage()
func (*HTTPRequest) ProtoReflect ¶
func (x *HTTPRequest) ProtoReflect() protoreflect.Message
func (*HTTPRequest) Reset ¶
func (x *HTTPRequest) Reset()
func (*HTTPRequest) String ¶
func (x *HTTPRequest) String() string
func (*HTTPRequest) Validate ¶
func (m *HTTPRequest) Validate() error
Validate checks the field values on HTTPRequest 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 (*HTTPRequest) ValidateAll ¶
func (m *HTTPRequest) ValidateAll() error
ValidateAll checks the field values on HTTPRequest 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 HTTPRequestMultiError, or nil if none found.
type HTTPRequestContext ¶
type HTTPRequestContext struct { RouteKey string `protobuf:"bytes,1,opt,name=route_key,json=routeKey,proto3" json:"route_key,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Stage string `protobuf:"bytes,3,opt,name=stage,proto3" json:"stage,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Authorizer *HTTPRequestContextAuthorizerDescription `protobuf:"bytes,5,opt,name=authorizer,proto3" json:"authorizer,omitempty"` DomainName string `protobuf:"bytes,6,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` DomainPrefix string `protobuf:"bytes,7,opt,name=domain_prefix,json=domainPrefix,proto3" json:"domain_prefix,omitempty"` Time string `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"` TimeEpoch int64 `protobuf:"varint,9,opt,name=time_epoch,json=timeEpoch,proto3" json:"time_epoch,omitempty"` Http *HTTPRequestContextHTTPDescription `protobuf:"bytes,10,opt,name=http,proto3" json:"http,omitempty"` // contains filtered or unexported fields }
HTTPRequestContext contains the information to identify the account and resources invoking the service.
func (*HTTPRequestContext) Descriptor
deprecated
func (*HTTPRequestContext) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequestContext.ProtoReflect.Descriptor instead.
func (*HTTPRequestContext) GetAccountId ¶
func (x *HTTPRequestContext) GetAccountId() string
func (*HTTPRequestContext) GetAuthorizer ¶
func (x *HTTPRequestContext) GetAuthorizer() *HTTPRequestContextAuthorizerDescription
func (*HTTPRequestContext) GetDomainName ¶
func (x *HTTPRequestContext) GetDomainName() string
func (*HTTPRequestContext) GetDomainPrefix ¶
func (x *HTTPRequestContext) GetDomainPrefix() string
func (*HTTPRequestContext) GetHttp ¶
func (x *HTTPRequestContext) GetHttp() *HTTPRequestContextHTTPDescription
func (*HTTPRequestContext) GetRequestId ¶
func (x *HTTPRequestContext) GetRequestId() string
func (*HTTPRequestContext) GetRouteKey ¶
func (x *HTTPRequestContext) GetRouteKey() string
func (*HTTPRequestContext) GetStage ¶
func (x *HTTPRequestContext) GetStage() string
func (*HTTPRequestContext) GetTime ¶
func (x *HTTPRequestContext) GetTime() string
func (*HTTPRequestContext) GetTimeEpoch ¶
func (x *HTTPRequestContext) GetTimeEpoch() int64
func (*HTTPRequestContext) ProtoMessage ¶
func (*HTTPRequestContext) ProtoMessage()
func (*HTTPRequestContext) ProtoReflect ¶
func (x *HTTPRequestContext) ProtoReflect() protoreflect.Message
func (*HTTPRequestContext) Reset ¶
func (x *HTTPRequestContext) Reset()
func (*HTTPRequestContext) String ¶
func (x *HTTPRequestContext) String() string
func (*HTTPRequestContext) Validate ¶
func (m *HTTPRequestContext) Validate() error
Validate checks the field values on HTTPRequestContext 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 (*HTTPRequestContext) ValidateAll ¶
func (m *HTTPRequestContext) ValidateAll() error
ValidateAll checks the field values on HTTPRequestContext 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 HTTPRequestContextMultiError, or nil if none found.
type HTTPRequestContextAuthorizerDescription ¶
type HTTPRequestContextAuthorizerDescription struct { Jwt *HTTPRequestContextAuthorizerJWTDescription `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"` // contains filtered or unexported fields }
HTTPRequestContextAuthorizerDescription contains authorizer information for the request context.
func (*HTTPRequestContextAuthorizerDescription) Descriptor
deprecated
func (*HTTPRequestContextAuthorizerDescription) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequestContextAuthorizerDescription.ProtoReflect.Descriptor instead.
func (*HTTPRequestContextAuthorizerDescription) GetJwt ¶
func (x *HTTPRequestContextAuthorizerDescription) GetJwt() *HTTPRequestContextAuthorizerJWTDescription
func (*HTTPRequestContextAuthorizerDescription) ProtoMessage ¶
func (*HTTPRequestContextAuthorizerDescription) ProtoMessage()
func (*HTTPRequestContextAuthorizerDescription) ProtoReflect ¶
func (x *HTTPRequestContextAuthorizerDescription) ProtoReflect() protoreflect.Message
func (*HTTPRequestContextAuthorizerDescription) Reset ¶
func (x *HTTPRequestContextAuthorizerDescription) Reset()
func (*HTTPRequestContextAuthorizerDescription) String ¶
func (x *HTTPRequestContextAuthorizerDescription) String() string
func (*HTTPRequestContextAuthorizerDescription) Validate ¶
func (m *HTTPRequestContextAuthorizerDescription) Validate() error
Validate checks the field values on HTTPRequestContextAuthorizerDescription 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 (*HTTPRequestContextAuthorizerDescription) ValidateAll ¶
func (m *HTTPRequestContextAuthorizerDescription) ValidateAll() error
ValidateAll checks the field values on HTTPRequestContextAuthorizerDescription 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 HTTPRequestContextAuthorizerDescriptionMultiError, or nil if none found.
type HTTPRequestContextAuthorizerDescriptionMultiError ¶
type HTTPRequestContextAuthorizerDescriptionMultiError []error
HTTPRequestContextAuthorizerDescriptionMultiError is an error wrapping multiple validation errors returned by HTTPRequestContextAuthorizerDescription.ValidateAll() if the designated constraints aren't met.
func (HTTPRequestContextAuthorizerDescriptionMultiError) AllErrors ¶
func (m HTTPRequestContextAuthorizerDescriptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HTTPRequestContextAuthorizerDescriptionMultiError) Error ¶
func (m HTTPRequestContextAuthorizerDescriptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HTTPRequestContextAuthorizerDescriptionValidationError ¶
type HTTPRequestContextAuthorizerDescriptionValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestContextAuthorizerDescriptionValidationError is the validation error returned by HTTPRequestContextAuthorizerDescription.Validate if the designated constraints aren't met.
func (HTTPRequestContextAuthorizerDescriptionValidationError) Cause ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) Cause() error
Cause function returns cause value.
func (HTTPRequestContextAuthorizerDescriptionValidationError) Error ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) Error() string
Error satisfies the builtin error interface
func (HTTPRequestContextAuthorizerDescriptionValidationError) ErrorName ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) ErrorName() string
ErrorName returns error name.
func (HTTPRequestContextAuthorizerDescriptionValidationError) Field ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) Field() string
Field function returns field value.
func (HTTPRequestContextAuthorizerDescriptionValidationError) Key ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) Key() bool
Key function returns key value.
func (HTTPRequestContextAuthorizerDescriptionValidationError) Reason ¶
func (e HTTPRequestContextAuthorizerDescriptionValidationError) Reason() string
Reason function returns reason value.
type HTTPRequestContextAuthorizerJWTDescription ¶
type HTTPRequestContextAuthorizerJWTDescription struct { Claims map[string]string `` /* 153-byte string literal not displayed */ Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
HTTPRequestContextAuthorizerJWTDescription contains JWT authorizer information for the request context.
func (*HTTPRequestContextAuthorizerJWTDescription) Descriptor
deprecated
func (*HTTPRequestContextAuthorizerJWTDescription) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequestContextAuthorizerJWTDescription.ProtoReflect.Descriptor instead.
func (*HTTPRequestContextAuthorizerJWTDescription) GetClaims ¶
func (x *HTTPRequestContextAuthorizerJWTDescription) GetClaims() map[string]string
func (*HTTPRequestContextAuthorizerJWTDescription) GetScopes ¶
func (x *HTTPRequestContextAuthorizerJWTDescription) GetScopes() []string
func (*HTTPRequestContextAuthorizerJWTDescription) ProtoMessage ¶
func (*HTTPRequestContextAuthorizerJWTDescription) ProtoMessage()
func (*HTTPRequestContextAuthorizerJWTDescription) ProtoReflect ¶
func (x *HTTPRequestContextAuthorizerJWTDescription) ProtoReflect() protoreflect.Message
func (*HTTPRequestContextAuthorizerJWTDescription) Reset ¶
func (x *HTTPRequestContextAuthorizerJWTDescription) Reset()
func (*HTTPRequestContextAuthorizerJWTDescription) String ¶
func (x *HTTPRequestContextAuthorizerJWTDescription) String() string
func (*HTTPRequestContextAuthorizerJWTDescription) Validate ¶
func (m *HTTPRequestContextAuthorizerJWTDescription) Validate() error
Validate checks the field values on HTTPRequestContextAuthorizerJWTDescription 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 (*HTTPRequestContextAuthorizerJWTDescription) ValidateAll ¶
func (m *HTTPRequestContextAuthorizerJWTDescription) ValidateAll() error
ValidateAll checks the field values on HTTPRequestContextAuthorizerJWTDescription 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 HTTPRequestContextAuthorizerJWTDescriptionMultiError, or nil if none found.
type HTTPRequestContextAuthorizerJWTDescriptionMultiError ¶
type HTTPRequestContextAuthorizerJWTDescriptionMultiError []error
HTTPRequestContextAuthorizerJWTDescriptionMultiError is an error wrapping multiple validation errors returned by HTTPRequestContextAuthorizerJWTDescription.ValidateAll() if the designated constraints aren't met.
func (HTTPRequestContextAuthorizerJWTDescriptionMultiError) AllErrors ¶
func (m HTTPRequestContextAuthorizerJWTDescriptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HTTPRequestContextAuthorizerJWTDescriptionMultiError) Error ¶
func (m HTTPRequestContextAuthorizerJWTDescriptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HTTPRequestContextAuthorizerJWTDescriptionValidationError ¶
type HTTPRequestContextAuthorizerJWTDescriptionValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestContextAuthorizerJWTDescriptionValidationError is the validation error returned by HTTPRequestContextAuthorizerJWTDescription.Validate if the designated constraints aren't met.
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Cause ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Cause() error
Cause function returns cause value.
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Error ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Error() string
Error satisfies the builtin error interface
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) ErrorName ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) ErrorName() string
ErrorName returns error name.
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Field ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Field() string
Field function returns field value.
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Key ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Key() bool
Key function returns key value.
func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Reason ¶
func (e HTTPRequestContextAuthorizerJWTDescriptionValidationError) Reason() string
Reason function returns reason value.
type HTTPRequestContextHTTPDescription ¶
type HTTPRequestContextHTTPDescription struct { Method HTTPMethod `protobuf:"varint,1,opt,name=method,proto3,enum=indykite.events.v1beta1.HTTPMethod" json:"method,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Protocol HTTPProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=indykite.events.v1beta1.HTTPProtocol" json:"protocol,omitempty"` SourceIp string `protobuf:"bytes,4,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"` UserAgent string `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // contains filtered or unexported fields }
HTTPRequestContextHTTPDescription contains HTTP information for the request context.
func (*HTTPRequestContextHTTPDescription) Descriptor
deprecated
func (*HTTPRequestContextHTTPDescription) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequestContextHTTPDescription.ProtoReflect.Descriptor instead.
func (*HTTPRequestContextHTTPDescription) GetMethod ¶
func (x *HTTPRequestContextHTTPDescription) GetMethod() HTTPMethod
func (*HTTPRequestContextHTTPDescription) GetPath ¶
func (x *HTTPRequestContextHTTPDescription) GetPath() string
func (*HTTPRequestContextHTTPDescription) GetProtocol ¶
func (x *HTTPRequestContextHTTPDescription) GetProtocol() HTTPProtocol
func (*HTTPRequestContextHTTPDescription) GetSourceIp ¶
func (x *HTTPRequestContextHTTPDescription) GetSourceIp() string
func (*HTTPRequestContextHTTPDescription) GetUserAgent ¶
func (x *HTTPRequestContextHTTPDescription) GetUserAgent() string
func (*HTTPRequestContextHTTPDescription) ProtoMessage ¶
func (*HTTPRequestContextHTTPDescription) ProtoMessage()
func (*HTTPRequestContextHTTPDescription) ProtoReflect ¶
func (x *HTTPRequestContextHTTPDescription) ProtoReflect() protoreflect.Message
func (*HTTPRequestContextHTTPDescription) Reset ¶
func (x *HTTPRequestContextHTTPDescription) Reset()
func (*HTTPRequestContextHTTPDescription) String ¶
func (x *HTTPRequestContextHTTPDescription) String() string
func (*HTTPRequestContextHTTPDescription) Validate ¶
func (m *HTTPRequestContextHTTPDescription) Validate() error
Validate checks the field values on HTTPRequestContextHTTPDescription 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 (*HTTPRequestContextHTTPDescription) ValidateAll ¶
func (m *HTTPRequestContextHTTPDescription) ValidateAll() error
ValidateAll checks the field values on HTTPRequestContextHTTPDescription 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 HTTPRequestContextHTTPDescriptionMultiError, or nil if none found.
type HTTPRequestContextHTTPDescriptionMultiError ¶
type HTTPRequestContextHTTPDescriptionMultiError []error
HTTPRequestContextHTTPDescriptionMultiError is an error wrapping multiple validation errors returned by HTTPRequestContextHTTPDescription.ValidateAll() if the designated constraints aren't met.
func (HTTPRequestContextHTTPDescriptionMultiError) AllErrors ¶
func (m HTTPRequestContextHTTPDescriptionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HTTPRequestContextHTTPDescriptionMultiError) Error ¶
func (m HTTPRequestContextHTTPDescriptionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HTTPRequestContextHTTPDescriptionValidationError ¶
type HTTPRequestContextHTTPDescriptionValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestContextHTTPDescriptionValidationError is the validation error returned by HTTPRequestContextHTTPDescription.Validate if the designated constraints aren't met.
func (HTTPRequestContextHTTPDescriptionValidationError) Cause ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) Cause() error
Cause function returns cause value.
func (HTTPRequestContextHTTPDescriptionValidationError) Error ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) Error() string
Error satisfies the builtin error interface
func (HTTPRequestContextHTTPDescriptionValidationError) ErrorName ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) ErrorName() string
ErrorName returns error name.
func (HTTPRequestContextHTTPDescriptionValidationError) Field ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) Field() string
Field function returns field value.
func (HTTPRequestContextHTTPDescriptionValidationError) Key ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) Key() bool
Key function returns key value.
func (HTTPRequestContextHTTPDescriptionValidationError) Reason ¶
func (e HTTPRequestContextHTTPDescriptionValidationError) Reason() string
Reason function returns reason value.
type HTTPRequestContextMultiError ¶
type HTTPRequestContextMultiError []error
HTTPRequestContextMultiError is an error wrapping multiple validation errors returned by HTTPRequestContext.ValidateAll() if the designated constraints aren't met.
func (HTTPRequestContextMultiError) AllErrors ¶
func (m HTTPRequestContextMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HTTPRequestContextMultiError) Error ¶
func (m HTTPRequestContextMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HTTPRequestContextValidationError ¶
type HTTPRequestContextValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestContextValidationError is the validation error returned by HTTPRequestContext.Validate if the designated constraints aren't met.
func (HTTPRequestContextValidationError) Cause ¶
func (e HTTPRequestContextValidationError) Cause() error
Cause function returns cause value.
func (HTTPRequestContextValidationError) Error ¶
func (e HTTPRequestContextValidationError) Error() string
Error satisfies the builtin error interface
func (HTTPRequestContextValidationError) ErrorName ¶
func (e HTTPRequestContextValidationError) ErrorName() string
ErrorName returns error name.
func (HTTPRequestContextValidationError) Field ¶
func (e HTTPRequestContextValidationError) Field() string
Field function returns field value.
func (HTTPRequestContextValidationError) Key ¶
func (e HTTPRequestContextValidationError) Key() bool
Key function returns key value.
func (HTTPRequestContextValidationError) Reason ¶
func (e HTTPRequestContextValidationError) Reason() string
Reason function returns reason value.
type HTTPRequestMultiError ¶
type HTTPRequestMultiError []error
HTTPRequestMultiError is an error wrapping multiple validation errors returned by HTTPRequest.ValidateAll() if the designated constraints aren't met.
func (HTTPRequestMultiError) AllErrors ¶
func (m HTTPRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HTTPRequestMultiError) Error ¶
func (m HTTPRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HTTPRequestValidationError ¶
type HTTPRequestValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestValidationError is the validation error returned by HTTPRequest.Validate if the designated constraints aren't met.
func (HTTPRequestValidationError) Cause ¶
func (e HTTPRequestValidationError) Cause() error
Cause function returns cause value.
func (HTTPRequestValidationError) Error ¶
func (e HTTPRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HTTPRequestValidationError) ErrorName ¶
func (e HTTPRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HTTPRequestValidationError) Field ¶
func (e HTTPRequestValidationError) Field() string
Field function returns field value.
func (HTTPRequestValidationError) Key ¶
func (e HTTPRequestValidationError) Key() bool
Key function returns key value.
func (HTTPRequestValidationError) Reason ¶
func (e HTTPRequestValidationError) Reason() string
Reason function returns reason value.
type LoginEventType ¶
type LoginEventType int32
LoginEventType defines the different login result states.
const ( LoginEventType_LOGIN_EVENT_TYPE_INVALID LoginEventType = 0 LoginEventType_LOGIN_EVENT_TYPE_SUCCESS LoginEventType = 1 LoginEventType_LOGIN_EVENT_TYPE_FAILED LoginEventType = 2 )
func (LoginEventType) Descriptor ¶
func (LoginEventType) Descriptor() protoreflect.EnumDescriptor
func (LoginEventType) Enum ¶
func (x LoginEventType) Enum() *LoginEventType
func (LoginEventType) EnumDescriptor
deprecated
func (LoginEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginEventType.Descriptor instead.
func (LoginEventType) Number ¶
func (x LoginEventType) Number() protoreflect.EnumNumber
func (LoginEventType) String ¶
func (x LoginEventType) String() string
func (LoginEventType) Type ¶
func (LoginEventType) Type() protoreflect.EnumType
type OPADecisionLogEvent ¶
type OPADecisionLogEvent struct { Labels map[string]string `` /* 153-byte string literal not displayed */ DecisionId string `protobuf:"bytes,2,opt,name=decision_id,json=decisionId,proto3" json:"decision_id,omitempty"` Bundles map[string]*BundleInfoV1 `` /* 155-byte string literal not displayed */ Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Query string `protobuf:"bytes,5,opt,name=query,proto3" json:"query,omitempty"` Input *v1beta1.Value `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` Result *v1beta1.Value `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` Erased []string `protobuf:"bytes,8,rep,name=erased,proto3" json:"erased,omitempty"` Masked []string `protobuf:"bytes,9,rep,name=masked,proto3" json:"masked,omitempty"` Error string `protobuf:"bytes,10,opt,name=error,proto3" json:"error,omitempty"` RequestedBy string `protobuf:"bytes,11,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"` AtTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=at_time,json=atTime,proto3" json:"at_time,omitempty"` Metrics *v1beta1.MapValue `protobuf:"bytes,13,opt,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
OPADecisionLogEvent represents a decision log event.
[EventV1](https://github.com/open-policy-agent/opa/blob/master/plugins/logs/plugin.go#L43)
func (*OPADecisionLogEvent) Descriptor
deprecated
func (*OPADecisionLogEvent) Descriptor() ([]byte, []int)
Deprecated: Use OPADecisionLogEvent.ProtoReflect.Descriptor instead.
func (*OPADecisionLogEvent) GetAtTime ¶
func (x *OPADecisionLogEvent) GetAtTime() *timestamppb.Timestamp
func (*OPADecisionLogEvent) GetBundles ¶
func (x *OPADecisionLogEvent) GetBundles() map[string]*BundleInfoV1
func (*OPADecisionLogEvent) GetDecisionId ¶
func (x *OPADecisionLogEvent) GetDecisionId() string
func (*OPADecisionLogEvent) GetErased ¶
func (x *OPADecisionLogEvent) GetErased() []string
func (*OPADecisionLogEvent) GetError ¶
func (x *OPADecisionLogEvent) GetError() string
func (*OPADecisionLogEvent) GetInput ¶
func (x *OPADecisionLogEvent) GetInput() *v1beta1.Value
func (*OPADecisionLogEvent) GetLabels ¶
func (x *OPADecisionLogEvent) GetLabels() map[string]string
func (*OPADecisionLogEvent) GetMasked ¶
func (x *OPADecisionLogEvent) GetMasked() []string
func (*OPADecisionLogEvent) GetMetrics ¶
func (x *OPADecisionLogEvent) GetMetrics() *v1beta1.MapValue
func (*OPADecisionLogEvent) GetPath ¶
func (x *OPADecisionLogEvent) GetPath() string
func (*OPADecisionLogEvent) GetQuery ¶
func (x *OPADecisionLogEvent) GetQuery() string
func (*OPADecisionLogEvent) GetRequestedBy ¶
func (x *OPADecisionLogEvent) GetRequestedBy() string
func (*OPADecisionLogEvent) GetResult ¶
func (x *OPADecisionLogEvent) GetResult() *v1beta1.Value
func (*OPADecisionLogEvent) ProtoMessage ¶
func (*OPADecisionLogEvent) ProtoMessage()
func (*OPADecisionLogEvent) ProtoReflect ¶
func (x *OPADecisionLogEvent) ProtoReflect() protoreflect.Message
func (*OPADecisionLogEvent) Reset ¶
func (x *OPADecisionLogEvent) Reset()
func (*OPADecisionLogEvent) String ¶
func (x *OPADecisionLogEvent) String() string
func (*OPADecisionLogEvent) Validate ¶
func (m *OPADecisionLogEvent) Validate() error
Validate checks the field values on OPADecisionLogEvent 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 (*OPADecisionLogEvent) ValidateAll ¶
func (m *OPADecisionLogEvent) ValidateAll() error
ValidateAll checks the field values on OPADecisionLogEvent 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 OPADecisionLogEventMultiError, or nil if none found.
type OPADecisionLogEventMultiError ¶
type OPADecisionLogEventMultiError []error
OPADecisionLogEventMultiError is an error wrapping multiple validation errors returned by OPADecisionLogEvent.ValidateAll() if the designated constraints aren't met.
func (OPADecisionLogEventMultiError) AllErrors ¶
func (m OPADecisionLogEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OPADecisionLogEventMultiError) Error ¶
func (m OPADecisionLogEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OPADecisionLogEventValidationError ¶
type OPADecisionLogEventValidationError struct {
// contains filtered or unexported fields
}
OPADecisionLogEventValidationError is the validation error returned by OPADecisionLogEvent.Validate if the designated constraints aren't met.
func (OPADecisionLogEventValidationError) Cause ¶
func (e OPADecisionLogEventValidationError) Cause() error
Cause function returns cause value.
func (OPADecisionLogEventValidationError) Error ¶
func (e OPADecisionLogEventValidationError) Error() string
Error satisfies the builtin error interface
func (OPADecisionLogEventValidationError) ErrorName ¶
func (e OPADecisionLogEventValidationError) ErrorName() string
ErrorName returns error name.
func (OPADecisionLogEventValidationError) Field ¶
func (e OPADecisionLogEventValidationError) Field() string
Field function returns field value.
func (OPADecisionLogEventValidationError) Key ¶
func (e OPADecisionLogEventValidationError) Key() bool
Key function returns key value.
func (OPADecisionLogEventValidationError) Reason ¶
func (e OPADecisionLogEventValidationError) Reason() string
Reason function returns reason value.
type SendMessageEmailEvent ¶
type SendMessageEmailEvent struct { From *Email `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` ReplyTo *Email `protobuf:"bytes,2,opt,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` To []*Email `protobuf:"bytes,3,rep,name=to,proto3" json:"to,omitempty"` Cc []*Email `protobuf:"bytes,4,rep,name=cc,proto3" json:"cc,omitempty"` Bcc []*Email `protobuf:"bytes,5,rep,name=bcc,proto3" json:"bcc,omitempty"` Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"` TextContent string `protobuf:"bytes,7,opt,name=text_content,json=textContent,proto3" json:"text_content,omitempty"` HtmlContent string `protobuf:"bytes,8,opt,name=html_content,json=htmlContent,proto3" json:"html_content,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ CustomArgs map[string]string `` /* 180-byte string literal not displayed */ DynamicTemplateValues map[string]*v1beta1.Value `` /* 215-byte string literal not displayed */ Categories []string `protobuf:"bytes,12,rep,name=categories,proto3" json:"categories,omitempty"` // The time of data. SendAtTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=send_at_time,json=sendAtTime,proto3" json:"send_at_time,omitempty"` BatchId string `protobuf:"bytes,14,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
SendMessageEmailEvent holds the info to send email. https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html
func (*SendMessageEmailEvent) Descriptor
deprecated
func (*SendMessageEmailEvent) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageEmailEvent.ProtoReflect.Descriptor instead.
func (*SendMessageEmailEvent) GetBatchId ¶
func (x *SendMessageEmailEvent) GetBatchId() string
func (*SendMessageEmailEvent) GetBcc ¶
func (x *SendMessageEmailEvent) GetBcc() []*Email
func (*SendMessageEmailEvent) GetCategories ¶
func (x *SendMessageEmailEvent) GetCategories() []string
func (*SendMessageEmailEvent) GetCc ¶
func (x *SendMessageEmailEvent) GetCc() []*Email
func (*SendMessageEmailEvent) GetCustomArgs ¶
func (x *SendMessageEmailEvent) GetCustomArgs() map[string]string
func (*SendMessageEmailEvent) GetDynamicTemplateValues ¶
func (x *SendMessageEmailEvent) GetDynamicTemplateValues() map[string]*v1beta1.Value
func (*SendMessageEmailEvent) GetFrom ¶
func (x *SendMessageEmailEvent) GetFrom() *Email
func (*SendMessageEmailEvent) GetHeaders ¶
func (x *SendMessageEmailEvent) GetHeaders() map[string]string
func (*SendMessageEmailEvent) GetHtmlContent ¶
func (x *SendMessageEmailEvent) GetHtmlContent() string
func (*SendMessageEmailEvent) GetReplyTo ¶
func (x *SendMessageEmailEvent) GetReplyTo() *Email
func (*SendMessageEmailEvent) GetSendAtTime ¶
func (x *SendMessageEmailEvent) GetSendAtTime() *timestamppb.Timestamp
func (*SendMessageEmailEvent) GetSubject ¶
func (x *SendMessageEmailEvent) GetSubject() string
func (*SendMessageEmailEvent) GetTextContent ¶
func (x *SendMessageEmailEvent) GetTextContent() string
func (*SendMessageEmailEvent) GetTo ¶
func (x *SendMessageEmailEvent) GetTo() []*Email
func (*SendMessageEmailEvent) ProtoMessage ¶
func (*SendMessageEmailEvent) ProtoMessage()
func (*SendMessageEmailEvent) ProtoReflect ¶
func (x *SendMessageEmailEvent) ProtoReflect() protoreflect.Message
func (*SendMessageEmailEvent) Reset ¶
func (x *SendMessageEmailEvent) Reset()
func (*SendMessageEmailEvent) String ¶
func (x *SendMessageEmailEvent) String() string
func (*SendMessageEmailEvent) Validate ¶
func (m *SendMessageEmailEvent) Validate() error
Validate checks the field values on SendMessageEmailEvent 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 (*SendMessageEmailEvent) ValidateAll ¶
func (m *SendMessageEmailEvent) ValidateAll() error
ValidateAll checks the field values on SendMessageEmailEvent 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 SendMessageEmailEventMultiError, or nil if none found.
type SendMessageEmailEventMultiError ¶
type SendMessageEmailEventMultiError []error
SendMessageEmailEventMultiError is an error wrapping multiple validation errors returned by SendMessageEmailEvent.ValidateAll() if the designated constraints aren't met.
func (SendMessageEmailEventMultiError) AllErrors ¶
func (m SendMessageEmailEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendMessageEmailEventMultiError) Error ¶
func (m SendMessageEmailEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendMessageEmailEventValidationError ¶
type SendMessageEmailEventValidationError struct {
// contains filtered or unexported fields
}
SendMessageEmailEventValidationError is the validation error returned by SendMessageEmailEvent.Validate if the designated constraints aren't met.
func (SendMessageEmailEventValidationError) Cause ¶
func (e SendMessageEmailEventValidationError) Cause() error
Cause function returns cause value.
func (SendMessageEmailEventValidationError) Error ¶
func (e SendMessageEmailEventValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageEmailEventValidationError) ErrorName ¶
func (e SendMessageEmailEventValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageEmailEventValidationError) Field ¶
func (e SendMessageEmailEventValidationError) Field() string
Field function returns field value.
func (SendMessageEmailEventValidationError) Key ¶
func (e SendMessageEmailEventValidationError) Key() bool
Key function returns key value.
func (SendMessageEmailEventValidationError) Reason ¶
func (e SendMessageEmailEventValidationError) Reason() string
Reason function returns reason value.
type SendTemplateEmailEvent ¶
type SendTemplateEmailEvent struct { TemplateId string `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` From *Email `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` ReplyTo *Email `protobuf:"bytes,3,opt,name=reply_to,json=replyTo,proto3" json:"reply_to,omitempty"` To []*Email `protobuf:"bytes,4,rep,name=to,proto3" json:"to,omitempty"` Cc []*Email `protobuf:"bytes,5,rep,name=cc,proto3" json:"cc,omitempty"` Bcc []*Email `protobuf:"bytes,6,rep,name=bcc,proto3" json:"bcc,omitempty"` Subject string `protobuf:"bytes,7,opt,name=subject,proto3" json:"subject,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ CustomArgs map[string]string `` /* 180-byte string literal not displayed */ DynamicTemplateValues map[string]*v1beta1.Value `` /* 215-byte string literal not displayed */ Categories []string `protobuf:"bytes,13,rep,name=categories,proto3" json:"categories,omitempty"` // The time of data. SendAtTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=send_at_time,json=sendAtTime,proto3" json:"send_at_time,omitempty"` BatchId string `protobuf:"bytes,15,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` // contains filtered or unexported fields }
SendTemplateEmailEvent holds the info to send email. https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html
func (*SendTemplateEmailEvent) Descriptor
deprecated
func (*SendTemplateEmailEvent) Descriptor() ([]byte, []int)
Deprecated: Use SendTemplateEmailEvent.ProtoReflect.Descriptor instead.
func (*SendTemplateEmailEvent) GetBatchId ¶
func (x *SendTemplateEmailEvent) GetBatchId() string
func (*SendTemplateEmailEvent) GetBcc ¶
func (x *SendTemplateEmailEvent) GetBcc() []*Email
func (*SendTemplateEmailEvent) GetCategories ¶
func (x *SendTemplateEmailEvent) GetCategories() []string
func (*SendTemplateEmailEvent) GetCc ¶
func (x *SendTemplateEmailEvent) GetCc() []*Email
func (*SendTemplateEmailEvent) GetCustomArgs ¶
func (x *SendTemplateEmailEvent) GetCustomArgs() map[string]string
func (*SendTemplateEmailEvent) GetDynamicTemplateValues ¶
func (x *SendTemplateEmailEvent) GetDynamicTemplateValues() map[string]*v1beta1.Value
func (*SendTemplateEmailEvent) GetFrom ¶
func (x *SendTemplateEmailEvent) GetFrom() *Email
func (*SendTemplateEmailEvent) GetHeaders ¶
func (x *SendTemplateEmailEvent) GetHeaders() map[string]string
func (*SendTemplateEmailEvent) GetReplyTo ¶
func (x *SendTemplateEmailEvent) GetReplyTo() *Email
func (*SendTemplateEmailEvent) GetSendAtTime ¶
func (x *SendTemplateEmailEvent) GetSendAtTime() *timestamppb.Timestamp
func (*SendTemplateEmailEvent) GetSubject ¶
func (x *SendTemplateEmailEvent) GetSubject() string
func (*SendTemplateEmailEvent) GetTemplateId ¶
func (x *SendTemplateEmailEvent) GetTemplateId() string
func (*SendTemplateEmailEvent) GetTo ¶
func (x *SendTemplateEmailEvent) GetTo() []*Email
func (*SendTemplateEmailEvent) ProtoMessage ¶
func (*SendTemplateEmailEvent) ProtoMessage()
func (*SendTemplateEmailEvent) ProtoReflect ¶
func (x *SendTemplateEmailEvent) ProtoReflect() protoreflect.Message
func (*SendTemplateEmailEvent) Reset ¶
func (x *SendTemplateEmailEvent) Reset()
func (*SendTemplateEmailEvent) String ¶
func (x *SendTemplateEmailEvent) String() string
func (*SendTemplateEmailEvent) Validate ¶
func (m *SendTemplateEmailEvent) Validate() error
Validate checks the field values on SendTemplateEmailEvent 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 (*SendTemplateEmailEvent) ValidateAll ¶
func (m *SendTemplateEmailEvent) ValidateAll() error
ValidateAll checks the field values on SendTemplateEmailEvent 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 SendTemplateEmailEventMultiError, or nil if none found.
type SendTemplateEmailEventMultiError ¶
type SendTemplateEmailEventMultiError []error
SendTemplateEmailEventMultiError is an error wrapping multiple validation errors returned by SendTemplateEmailEvent.ValidateAll() if the designated constraints aren't met.
func (SendTemplateEmailEventMultiError) AllErrors ¶
func (m SendTemplateEmailEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SendTemplateEmailEventMultiError) Error ¶
func (m SendTemplateEmailEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SendTemplateEmailEventValidationError ¶
type SendTemplateEmailEventValidationError struct {
// contains filtered or unexported fields
}
SendTemplateEmailEventValidationError is the validation error returned by SendTemplateEmailEvent.Validate if the designated constraints aren't met.
func (SendTemplateEmailEventValidationError) Cause ¶
func (e SendTemplateEmailEventValidationError) Cause() error
Cause function returns cause value.
func (SendTemplateEmailEventValidationError) Error ¶
func (e SendTemplateEmailEventValidationError) Error() string
Error satisfies the builtin error interface
func (SendTemplateEmailEventValidationError) ErrorName ¶
func (e SendTemplateEmailEventValidationError) ErrorName() string
ErrorName returns error name.
func (SendTemplateEmailEventValidationError) Field ¶
func (e SendTemplateEmailEventValidationError) Field() string
Field function returns field value.
func (SendTemplateEmailEventValidationError) Key ¶
func (e SendTemplateEmailEventValidationError) Key() bool
Key function returns key value.
func (SendTemplateEmailEventValidationError) Reason ¶
func (e SendTemplateEmailEventValidationError) Reason() string
Reason function returns reason value.