eventsv1beta1

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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

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

Cause function returns cause value.

func (AuthenticationEventValidationError) Error

Error satisfies the builtin error interface

func (AuthenticationEventValidationError) ErrorName

ErrorName returns error name.

func (AuthenticationEventValidationError) Field

Field function returns field value.

func (AuthenticationEventValidationError) Key

Key function returns key value.

func (AuthenticationEventValidationError) Reason

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

Cause function returns cause value.

func (BundleInfoV1ValidationError) Error

Error satisfies the builtin error interface

func (BundleInfoV1ValidationError) ErrorName

func (e BundleInfoV1ValidationError) ErrorName() string

ErrorName returns error name.

func (BundleInfoV1ValidationError) Field

Field function returns field value.

func (BundleInfoV1ValidationError) Key

Key function returns key value.

func (BundleInfoV1ValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetAddress

func (x *Email) GetAddress() string

func (*Email) GetName

func (x *Email) GetName() string

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

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

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

func (*Email) Validate

func (m *Email) Validate() error

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

func (m *Email) ValidateAll() error

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

Cause function returns cause value.

func (EventContextValidationError) Error

Error satisfies the builtin error interface

func (EventContextValidationError) ErrorName

func (e EventContextValidationError) ErrorName() string

ErrorName returns error name.

func (EventContextValidationError) Field

Field function returns field value.

func (EventContextValidationError) Key

Key function returns key value.

func (EventContextValidationError) Reason

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

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) Enum

func (x HTTPProtocol) Enum() *HTTPProtocol

func (HTTPProtocol) EnumDescriptor deprecated

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

Deprecated: Use HTTPProtocol.Descriptor instead.

func (HTTPProtocol) Number

func (HTTPProtocol) String

func (x HTTPProtocol) String() string

func (HTTPProtocol) Type

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 (*HTTPRequestContext) GetDomainName

func (x *HTTPRequestContext) GetDomainName() string

func (*HTTPRequestContext) GetDomainPrefix

func (x *HTTPRequestContext) GetDomainPrefix() string

func (*HTTPRequestContext) GetHttp

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 (*HTTPRequestContextAuthorizerDescription) ProtoMessage

func (*HTTPRequestContextAuthorizerDescription) ProtoReflect

func (*HTTPRequestContextAuthorizerDescription) Reset

func (*HTTPRequestContextAuthorizerDescription) String

func (*HTTPRequestContextAuthorizerDescription) Validate

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

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

AllErrors returns a list of validation violation errors.

func (HTTPRequestContextAuthorizerDescriptionMultiError) Error

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

Cause function returns cause value.

func (HTTPRequestContextAuthorizerDescriptionValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestContextAuthorizerDescriptionValidationError) ErrorName

ErrorName returns error name.

func (HTTPRequestContextAuthorizerDescriptionValidationError) Field

Field function returns field value.

func (HTTPRequestContextAuthorizerDescriptionValidationError) Key

Key function returns key value.

func (HTTPRequestContextAuthorizerDescriptionValidationError) Reason

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

Deprecated: Use HTTPRequestContextAuthorizerJWTDescription.ProtoReflect.Descriptor instead.

func (*HTTPRequestContextAuthorizerJWTDescription) GetClaims

func (*HTTPRequestContextAuthorizerJWTDescription) GetScopes

func (*HTTPRequestContextAuthorizerJWTDescription) ProtoMessage

func (*HTTPRequestContextAuthorizerJWTDescription) ProtoReflect

func (*HTTPRequestContextAuthorizerJWTDescription) Reset

func (*HTTPRequestContextAuthorizerJWTDescription) String

func (*HTTPRequestContextAuthorizerJWTDescription) Validate

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

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

AllErrors returns a list of validation violation errors.

func (HTTPRequestContextAuthorizerJWTDescriptionMultiError) Error

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

Cause function returns cause value.

func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) ErrorName

ErrorName returns error name.

func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Field

Field function returns field value.

func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Key

Key function returns key value.

func (HTTPRequestContextAuthorizerJWTDescriptionValidationError) Reason

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 (*HTTPRequestContextHTTPDescription) GetPath

func (*HTTPRequestContextHTTPDescription) GetProtocol

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 (*HTTPRequestContextHTTPDescription) Reset

func (*HTTPRequestContextHTTPDescription) String

func (*HTTPRequestContextHTTPDescription) Validate

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

AllErrors returns a list of validation violation errors.

func (HTTPRequestContextHTTPDescriptionMultiError) Error

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

Cause function returns cause value.

func (HTTPRequestContextHTTPDescriptionValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestContextHTTPDescriptionValidationError) ErrorName

ErrorName returns error name.

func (HTTPRequestContextHTTPDescriptionValidationError) Field

Field function returns field value.

func (HTTPRequestContextHTTPDescriptionValidationError) Key

Key function returns key value.

func (HTTPRequestContextHTTPDescriptionValidationError) Reason

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

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

Cause function returns cause value.

func (HTTPRequestContextValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestContextValidationError) ErrorName

ErrorName returns error name.

func (HTTPRequestContextValidationError) Field

Field function returns field value.

func (HTTPRequestContextValidationError) Key

Key function returns key value.

func (HTTPRequestContextValidationError) Reason

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

Cause function returns cause value.

func (HTTPRequestValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestValidationError) ErrorName

func (e HTTPRequestValidationError) ErrorName() string

ErrorName returns error name.

func (HTTPRequestValidationError) Field

Field function returns field value.

func (HTTPRequestValidationError) Key

Key function returns key value.

func (HTTPRequestValidationError) Reason

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) Enum

func (x LoginEventType) Enum() *LoginEventType

func (LoginEventType) EnumDescriptor deprecated

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

Deprecated: Use LoginEventType.Descriptor instead.

func (LoginEventType) Number

func (LoginEventType) String

func (x LoginEventType) String() string

func (LoginEventType) Type

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

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

Cause function returns cause value.

func (OPADecisionLogEventValidationError) Error

Error satisfies the builtin error interface

func (OPADecisionLogEventValidationError) ErrorName

ErrorName returns error name.

func (OPADecisionLogEventValidationError) Field

Field function returns field value.

func (OPADecisionLogEventValidationError) Key

Key function returns key value.

func (OPADecisionLogEventValidationError) Reason

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

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

Cause function returns cause value.

func (SendMessageEmailEventValidationError) Error

Error satisfies the builtin error interface

func (SendMessageEmailEventValidationError) ErrorName

ErrorName returns error name.

func (SendMessageEmailEventValidationError) Field

Field function returns field value.

func (SendMessageEmailEventValidationError) Key

Key function returns key value.

func (SendMessageEmailEventValidationError) Reason

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

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

Cause function returns cause value.

func (SendTemplateEmailEventValidationError) Error

Error satisfies the builtin error interface

func (SendTemplateEmailEventValidationError) ErrorName

ErrorName returns error name.

func (SendTemplateEmailEventValidationError) Field

Field function returns field value.

func (SendTemplateEmailEventValidationError) Key

Key function returns key value.

func (SendTemplateEmailEventValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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