Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterExternalServer(s grpc.ServiceRegistrar, srv ExternalServer)
- func RegisterInternalServer(s grpc.ServiceRegistrar, srv InternalServer)
- type AbortCondition
- func (AbortCondition) Descriptor() protoreflect.EnumDescriptor
- func (x AbortCondition) Enum() *AbortCondition
- func (AbortCondition) EnumDescriptor() ([]byte, []int)deprecated
- func (x AbortCondition) Number() protoreflect.EnumNumber
- func (x AbortCondition) String() string
- func (AbortCondition) Type() protoreflect.EnumType
- type AppRegisterRejectRequest
- func (*AppRegisterRejectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppRegisterRejectRequest) GetClusterId() string
- func (*AppRegisterRejectRequest) ProtoMessage()
- func (x *AppRegisterRejectRequest) ProtoReflect() protoreflect.Message
- func (x *AppRegisterRejectRequest) Reset()
- func (x *AppRegisterRejectRequest) String() string
- type AppRegistrationRequest
- func (*AppRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppRegistrationRequest) GetClusterId() string
- func (x *AppRegistrationRequest) GetEmail() string
- func (x *AppRegistrationRequest) GetXCode() string
- func (*AppRegistrationRequest) ProtoMessage()
- func (x *AppRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *AppRegistrationRequest) Reset()
- func (x *AppRegistrationRequest) String() string
- type AppRegistrationStatusRequest
- func (*AppRegistrationStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppRegistrationStatusRequest) GetEmail() string
- func (*AppRegistrationStatusRequest) ProtoMessage()
- func (x *AppRegistrationStatusRequest) ProtoReflect() protoreflect.Message
- func (x *AppRegistrationStatusRequest) Reset()
- func (x *AppRegistrationStatusRequest) String() string
- type AppRegistrationStatusResponse
- func (*AppRegistrationStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppRegistrationStatusResponse) GetStatus() AppRegistrationStatusResponse_Status
- func (*AppRegistrationStatusResponse) ProtoMessage()
- func (x *AppRegistrationStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AppRegistrationStatusResponse) Reset()
- func (x *AppRegistrationStatusResponse) String() string
- type AppRegistrationStatusResponse_Status
- func (AppRegistrationStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x AppRegistrationStatusResponse_Status) Enum() *AppRegistrationStatusResponse_Status
- func (AppRegistrationStatusResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppRegistrationStatusResponse_Status) Number() protoreflect.EnumNumber
- func (x AppRegistrationStatusResponse_Status) String() string
- func (AppRegistrationStatusResponse_Status) Type() protoreflect.EnumType
- type AppVerifyRegistrationRequest
- func (*AppVerifyRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppVerifyRegistrationRequest) GetCode() string
- func (x *AppVerifyRegistrationRequest) GetEmail() string
- func (*AppVerifyRegistrationRequest) ProtoMessage()
- func (x *AppVerifyRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *AppVerifyRegistrationRequest) Reset()
- func (x *AppVerifyRegistrationRequest) String() string
- type AttachNotificationRequestdeprecated
- func (*AttachNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachNotificationRequest) GetNotificationId() string
- func (x *AttachNotificationRequest) GetPipelineId() string
- func (*AttachNotificationRequest) ProtoMessage()
- func (x *AttachNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *AttachNotificationRequest) Reset()
- func (x *AttachNotificationRequest) String() string
- type Audience
- func (*Audience) Descriptor() ([]byte, []int)deprecated
- func (x *Audience) GetComponentName() string
- func (x *Audience) GetOperationName() string
- func (x *Audience) GetOperationType() OperationType
- func (x *Audience) GetServiceName() string
- func (x *Audience) GetXCreatedBy() string
- func (*Audience) ProtoMessage()
- func (x *Audience) ProtoReflect() protoreflect.Message
- func (x *Audience) Reset()
- func (x *Audience) String() string
- type AudienceRate
- func (*AudienceRate) Descriptor() ([]byte, []int)deprecated
- func (x *AudienceRate) GetBytes() float64
- func (x *AudienceRate) GetProcessed() float64
- func (*AudienceRate) ProtoMessage()
- func (x *AudienceRate) ProtoReflect() protoreflect.Message
- func (x *AudienceRate) Reset()
- func (x *AudienceRate) String() string
- type BusEvent
- func (*BusEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BusEvent) GetCreatePipelineRequest() *CreatePipelineRequest
- func (x *BusEvent) GetDeleteAudienceRequest() *DeleteAudienceRequest
- func (x *BusEvent) GetDeletePipelineRequest() *DeletePipelineRequest
- func (x *BusEvent) GetDeregisterRequest() *DeregisterRequest
- func (m *BusEvent) GetEvent() isBusEvent_Event
- func (x *BusEvent) GetKvRequest() *KVRequest
- func (x *BusEvent) GetMetricsRequest() *MetricsRequest
- func (x *BusEvent) GetNewAudienceRequest() *NewAudienceRequest
- func (x *BusEvent) GetPausePipelineRequest() *PausePipelineRequest
- func (x *BusEvent) GetRegisterRequest() *RegisterRequest
- func (x *BusEvent) GetResumePipelineRequest() *ResumePipelineRequest
- func (x *BusEvent) GetSetPipelinesRequest() *SetPipelinesRequest
- func (x *BusEvent) GetSource() string
- func (x *BusEvent) GetTailRequest() *TailRequest
- func (x *BusEvent) GetTailResponse() *TailResponse
- func (x *BusEvent) GetUpdatePipelineRequest() *UpdatePipelineRequest
- func (x *BusEvent) GetXMetadata() map[string]string
- func (*BusEvent) ProtoMessage()
- func (x *BusEvent) ProtoReflect() protoreflect.Message
- func (x *BusEvent) Reset()
- func (x *BusEvent) String() string
- type BusEvent_CreatePipelineRequest
- type BusEvent_DeleteAudienceRequest
- type BusEvent_DeletePipelineRequest
- type BusEvent_DeregisterRequest
- type BusEvent_KvRequest
- type BusEvent_MetricsRequest
- type BusEvent_NewAudienceRequest
- type BusEvent_PausePipelineRequest
- type BusEvent_RegisterRequest
- type BusEvent_ResumePipelineRequest
- type BusEvent_SetPipelinesRequest
- type BusEvent_TailRequest
- type BusEvent_TailResponse
- type BusEvent_UpdatePipelineRequest
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetArch() string
- func (x *ClientInfo) GetClientType() ClientType
- func (x *ClientInfo) GetLanguage() string
- func (x *ClientInfo) GetLibraryName() string
- func (x *ClientInfo) GetLibraryVersion() string
- func (x *ClientInfo) GetOs() string
- func (x *ClientInfo) GetXNodeName() string
- func (x *ClientInfo) GetXServiceName() string
- func (x *ClientInfo) GetXSessionId() string
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- type ClientType
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetAudience() *Audience
- func (m *Command) GetCommand() isCommand_Command
- func (x *Command) GetKeepAlive() *KeepAliveCommand
- func (x *Command) GetKv() *KVCommand
- func (x *Command) GetSetPipelines() *SetPipelinesCommand
- func (x *Command) GetTail() *TailCommand
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_KeepAlive
- type Command_Kv
- type Command_SetPipelines
- type Command_Tail
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAudienceMappings() map[string]*PipelineConfigs
- func (x *Config) GetAudiences() []*Audience
- func (x *Config) GetNotifications() []*NotificationConfig
- func (x *Config) GetPipelines() []*Pipeline
- func (x *Config) GetWasmModules() []*shared.WasmModule
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type CreateAudienceRequest
- func (*CreateAudienceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAudienceRequest) GetAudience() *Audience
- func (*CreateAudienceRequest) ProtoMessage()
- func (x *CreateAudienceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAudienceRequest) Reset()
- func (x *CreateAudienceRequest) String() string
- type CreateNotificationRequest
- func (*CreateNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotificationRequest) GetNotification() *NotificationConfig
- func (*CreateNotificationRequest) ProtoMessage()
- func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNotificationRequest) Reset()
- func (x *CreateNotificationRequest) String() string
- type CreateNotificationResponse
- func (*CreateNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNotificationResponse) GetNotification() *NotificationConfig
- func (*CreateNotificationResponse) ProtoMessage()
- func (x *CreateNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNotificationResponse) Reset()
- func (x *CreateNotificationResponse) String() string
- type CreatePipelineRequest
- func (*CreatePipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePipelineRequest) GetPipeline() *Pipeline
- func (x *CreatePipelineRequest) GetPipelineJson() []byte
- func (*CreatePipelineRequest) ProtoMessage()
- func (x *CreatePipelineRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePipelineRequest) Reset()
- func (x *CreatePipelineRequest) String() string
- type CreatePipelineResponse
- func (*CreatePipelineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePipelineResponse) GetMessage() string
- func (x *CreatePipelineResponse) GetPipelineId() string
- func (*CreatePipelineResponse) ProtoMessage()
- func (x *CreatePipelineResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePipelineResponse) Reset()
- func (x *CreatePipelineResponse) String() string
- type CreateWasmRequest
- func (*CreateWasmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWasmRequest) GetWasm() *shared.WasmModule
- func (*CreateWasmRequest) ProtoMessage()
- func (x *CreateWasmRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWasmRequest) Reset()
- func (x *CreateWasmRequest) String() string
- type CreateWasmResponse
- func (*CreateWasmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWasmResponse) GetId() string
- func (x *CreateWasmResponse) GetMessage() string
- func (*CreateWasmResponse) ProtoMessage()
- func (x *CreateWasmResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWasmResponse) Reset()
- func (x *CreateWasmResponse) String() string
- type DeleteAudienceRequest
- func (*DeleteAudienceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAudienceRequest) GetAudience() *Audience
- func (x *DeleteAudienceRequest) GetForce() bool
- func (*DeleteAudienceRequest) ProtoMessage()
- func (x *DeleteAudienceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAudienceRequest) Reset()
- func (x *DeleteAudienceRequest) String() string
- type DeleteNotificationRequest
- func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotificationRequest) GetNotificationId() string
- func (*DeleteNotificationRequest) ProtoMessage()
- func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotificationRequest) Reset()
- func (x *DeleteNotificationRequest) String() string
- type DeletePipelineRequest
- func (*DeletePipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePipelineRequest) GetPipelineId() string
- func (x *DeletePipelineRequest) GetXAudiences() []*Audience
- func (*DeletePipelineRequest) ProtoMessage()
- func (x *DeletePipelineRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePipelineRequest) Reset()
- func (x *DeletePipelineRequest) String() string
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceRequest) GetForce() bool
- func (x *DeleteServiceRequest) GetServiceName() string
- func (*DeleteServiceRequest) ProtoMessage()
- func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceRequest) Reset()
- func (x *DeleteServiceRequest) String() string
- type DeleteWasmRequest
- type DeregisterRequest
- func (*DeregisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeregisterRequest) GetServiceName() string
- func (x *DeregisterRequest) GetSessionId() string
- func (*DeregisterRequest) ProtoMessage()
- func (x *DeregisterRequest) ProtoReflect() protoreflect.Message
- func (x *DeregisterRequest) Reset()
- func (x *DeregisterRequest) String() string
- type DetachNotificationRequestdeprecated
- func (*DetachNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachNotificationRequest) GetNotificationId() string
- func (x *DetachNotificationRequest) GetPipelineId() string
- func (*DetachNotificationRequest) ProtoMessage()
- func (x *DetachNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *DetachNotificationRequest) Reset()
- func (x *DetachNotificationRequest) String() string
- type ExecStatus
- type ExternalClient
- type ExternalServer
- type External_GetAllStreamClient
- type External_GetAllStreamServer
- type External_GetAudienceRatesClient
- type External_GetAudienceRatesServer
- type External_GetMetricsClient
- type External_GetMetricsServer
- type External_TailClient
- type External_TailServer
- type GetAllRequest
- type GetAllResponse
- func (*GetAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllResponse) GetAudiences() []*Audience
- func (x *GetAllResponse) GetConfigs() map[string]*PipelineConfigs
- func (x *GetAllResponse) GetGeneratedAtUnixTsNsUtc() int64
- func (x *GetAllResponse) GetLive() []*LiveInfo
- func (x *GetAllResponse) GetPipelines() map[string]*PipelineInfo
- func (x *GetAllResponse) GetXKeepalive() bool
- func (*GetAllResponse) ProtoMessage()
- func (x *GetAllResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllResponse) Reset()
- func (x *GetAllResponse) String() string
- type GetAllWasmRequest
- type GetAllWasmResponse
- func (*GetAllWasmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllWasmResponse) GetWasm() []*shared.WasmModule
- func (*GetAllWasmResponse) ProtoMessage()
- func (x *GetAllWasmResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllWasmResponse) Reset()
- func (x *GetAllWasmResponse) String() string
- type GetAudienceRatesRequest
- type GetAudienceRatesResponse
- func (*GetAudienceRatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAudienceRatesResponse) GetRates() map[string]*AudienceRate
- func (x *GetAudienceRatesResponse) GetXKeepalive() bool
- func (*GetAudienceRatesResponse) ProtoMessage()
- func (x *GetAudienceRatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAudienceRatesResponse) Reset()
- func (x *GetAudienceRatesResponse) String() string
- type GetConfigRequest
- type GetConfigResponse
- type GetMetricsRequest
- type GetMetricsResponse
- func (*GetMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricsResponse) GetMetrics() map[string]*Metric
- func (x *GetMetricsResponse) GetXKeepalive() bool
- func (*GetMetricsResponse) ProtoMessage()
- func (x *GetMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetricsResponse) Reset()
- func (x *GetMetricsResponse) String() string
- type GetNotificationRequest
- func (*GetNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationRequest) GetNotificationId() string
- func (*GetNotificationRequest) ProtoMessage()
- func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationRequest) Reset()
- func (x *GetNotificationRequest) String() string
- type GetNotificationResponse
- func (*GetNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationResponse) GetNotification() *NotificationConfig
- func (*GetNotificationResponse) ProtoMessage()
- func (x *GetNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotificationResponse) Reset()
- func (x *GetNotificationResponse) String() string
- type GetNotificationsRequest
- type GetNotificationsResponse
- func (*GetNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationsResponse) GetNotifications() map[string]*NotificationConfig
- func (*GetNotificationsResponse) ProtoMessage()
- func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotificationsResponse) Reset()
- func (x *GetNotificationsResponse) String() string
- type GetPipelineRequest
- func (*GetPipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPipelineRequest) GetPipelineId() string
- func (*GetPipelineRequest) ProtoMessage()
- func (x *GetPipelineRequest) ProtoReflect() protoreflect.Message
- func (x *GetPipelineRequest) Reset()
- func (x *GetPipelineRequest) String() string
- type GetPipelineResponse
- func (*GetPipelineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPipelineResponse) GetPipeline() *Pipeline
- func (*GetPipelineResponse) ProtoMessage()
- func (x *GetPipelineResponse) ProtoReflect() protoreflect.Message
- func (x *GetPipelineResponse) Reset()
- func (x *GetPipelineResponse) String() string
- type GetPipelinesRequest
- type GetPipelinesResponse
- func (*GetPipelinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPipelinesResponse) GetPipelines() []*Pipeline
- func (*GetPipelinesResponse) ProtoMessage()
- func (x *GetPipelinesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPipelinesResponse) Reset()
- func (x *GetPipelinesResponse) String() string
- type GetSchemaRequest
- type GetSchemaResponse
- type GetSetPipelinesCommandsByServiceRequest
- func (*GetSetPipelinesCommandsByServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetPipelinesCommandsByServiceRequest) GetServiceName() string
- func (*GetSetPipelinesCommandsByServiceRequest) ProtoMessage()
- func (x *GetSetPipelinesCommandsByServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetSetPipelinesCommandsByServiceRequest) Reset()
- func (x *GetSetPipelinesCommandsByServiceRequest) String() string
- type GetSetPipelinesCommandsByServiceResponse
- func (*GetSetPipelinesCommandsByServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetPipelinesCommandsByServiceResponse) GetSetPipelineCommands() []*Command
- func (x *GetSetPipelinesCommandsByServiceResponse) GetWasmModules() map[string]*shared.WasmModule
- func (*GetSetPipelinesCommandsByServiceResponse) ProtoMessage()
- func (x *GetSetPipelinesCommandsByServiceResponse) ProtoReflect() protoreflect.Message
- func (x *GetSetPipelinesCommandsByServiceResponse) Reset()
- func (x *GetSetPipelinesCommandsByServiceResponse) String() string
- type GetWasmRequest
- type GetWasmResponse
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetAudiences() []*Audience
- func (x *HeartbeatRequest) GetClientInfo() *ClientInfo
- func (x *HeartbeatRequest) GetServiceName() string
- func (x *HeartbeatRequest) GetSessionId() string
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- type InterStepResult
- func (*InterStepResult) Descriptor() ([]byte, []int)deprecated
- func (x *InterStepResult) GetAudience() *Audience
- func (x *InterStepResult) GetDetectiveResult() *steps.DetectiveStepResult
- func (m *InterStepResult) GetInputFrom() isInterStepResult_InputFrom
- func (*InterStepResult) ProtoMessage()
- func (x *InterStepResult) ProtoReflect() protoreflect.Message
- func (x *InterStepResult) Reset()
- func (x *InterStepResult) String() string
- type InterStepResult_DetectiveResult
- type InternalClient
- type InternalServer
- type Internal_RegisterClient
- type Internal_RegisterServer
- type Internal_SendTailClient
- type Internal_SendTailServer
- type KVCommand
- func (*KVCommand) Descriptor() ([]byte, []int)deprecated
- func (x *KVCommand) GetInstructions() []*KVInstruction
- func (x *KVCommand) GetOverwrite() bool
- func (*KVCommand) ProtoMessage()
- func (x *KVCommand) ProtoReflect() protoreflect.Message
- func (x *KVCommand) Reset()
- func (x *KVCommand) String() string
- type KVCreateHTTPRequest
- func (*KVCreateHTTPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KVCreateHTTPRequest) GetKvs() []*KVObject
- func (x *KVCreateHTTPRequest) GetOverwrite() bool
- func (*KVCreateHTTPRequest) ProtoMessage()
- func (x *KVCreateHTTPRequest) ProtoReflect() protoreflect.Message
- func (x *KVCreateHTTPRequest) Reset()
- func (x *KVCreateHTTPRequest) String() string
- type KVInstruction
- func (*KVInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *KVInstruction) GetAction() shared.KVAction
- func (x *KVInstruction) GetId() string
- func (x *KVInstruction) GetObject() *KVObject
- func (x *KVInstruction) GetRequestedAtUnixTsNanoUtc() int64
- func (*KVInstruction) ProtoMessage()
- func (x *KVInstruction) ProtoReflect() protoreflect.Message
- func (x *KVInstruction) Reset()
- func (x *KVInstruction) String() string
- type KVObject
- func (*KVObject) Descriptor() ([]byte, []int)deprecated
- func (x *KVObject) GetCreatedAtUnixTsNanoUtc() int64
- func (x *KVObject) GetKey() string
- func (x *KVObject) GetUpdatedAtUnixTsNanoUtc() int64
- func (x *KVObject) GetValue() []byte
- func (*KVObject) ProtoMessage()
- func (x *KVObject) ProtoReflect() protoreflect.Message
- func (x *KVObject) Reset()
- func (x *KVObject) String() string
- type KVRequest
- func (*KVRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KVRequest) GetInstructions() []*KVInstruction
- func (x *KVRequest) GetOverwrite() bool
- func (*KVRequest) ProtoMessage()
- func (x *KVRequest) ProtoReflect() protoreflect.Message
- func (x *KVRequest) Reset()
- func (x *KVRequest) String() string
- type KVUpdateHTTPRequest
- func (*KVUpdateHTTPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KVUpdateHTTPRequest) GetKvs() []*KVObject
- func (*KVUpdateHTTPRequest) ProtoMessage()
- func (x *KVUpdateHTTPRequest) ProtoReflect() protoreflect.Message
- func (x *KVUpdateHTTPRequest) Reset()
- func (x *KVUpdateHTTPRequest) String() string
- type KeepAliveCommand
- type LiveInfo
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetAudience() *Audience
- func (x *Metric) GetLabels() map[string]string
- func (x *Metric) GetName() string
- func (x *Metric) GetValue() float64
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricsRequest
- type NewAudienceRequest
- func (*NewAudienceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewAudienceRequest) GetAudience() *Audience
- func (x *NewAudienceRequest) GetSessionId() string
- func (*NewAudienceRequest) ProtoMessage()
- func (x *NewAudienceRequest) ProtoReflect() protoreflect.Message
- func (x *NewAudienceRequest) Reset()
- func (x *NewAudienceRequest) String() string
- type NotificationConfig
- func (*NotificationConfig) Descriptor() ([]byte, []int)deprecated
- func (m *NotificationConfig) GetConfig() isNotificationConfig_Config
- func (x *NotificationConfig) GetEmail() *NotificationEmail
- func (x *NotificationConfig) GetId() string
- func (x *NotificationConfig) GetName() string
- func (x *NotificationConfig) GetPagerduty() *NotificationPagerDuty
- func (x *NotificationConfig) GetSlack() *NotificationSlack
- func (x *NotificationConfig) GetType() NotificationType
- func (x *NotificationConfig) GetXCreatedBy() string
- func (*NotificationConfig) ProtoMessage()
- func (x *NotificationConfig) ProtoReflect() protoreflect.Message
- func (x *NotificationConfig) Reset()
- func (x *NotificationConfig) String() string
- type NotificationConfig_Email
- type NotificationConfig_Pagerduty
- type NotificationConfig_Slack
- type NotificationEmail
- func (*NotificationEmail) Descriptor() ([]byte, []int)deprecated
- func (m *NotificationEmail) GetConfig() isNotificationEmail_Config
- func (x *NotificationEmail) GetFromAddress() string
- func (x *NotificationEmail) GetRecipients() []string
- func (x *NotificationEmail) GetSes() *NotificationEmailSES
- func (x *NotificationEmail) GetSmtp() *NotificationEmailSMTP
- func (x *NotificationEmail) GetType() NotificationEmail_Type
- func (*NotificationEmail) ProtoMessage()
- func (x *NotificationEmail) ProtoReflect() protoreflect.Message
- func (x *NotificationEmail) Reset()
- func (x *NotificationEmail) String() string
- type NotificationEmailSES
- func (*NotificationEmailSES) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEmailSES) GetSesAccessKeyId() string
- func (x *NotificationEmailSES) GetSesRegion() string
- func (x *NotificationEmailSES) GetSesSecretAccessKey() string
- func (*NotificationEmailSES) ProtoMessage()
- func (x *NotificationEmailSES) ProtoReflect() protoreflect.Message
- func (x *NotificationEmailSES) Reset()
- func (x *NotificationEmailSES) String() string
- type NotificationEmailSMTP
- func (*NotificationEmailSMTP) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEmailSMTP) GetHost() string
- func (x *NotificationEmailSMTP) GetPassword() string
- func (x *NotificationEmailSMTP) GetPort() int32
- func (x *NotificationEmailSMTP) GetUseTls() bool
- func (x *NotificationEmailSMTP) GetUser() string
- func (*NotificationEmailSMTP) ProtoMessage()
- func (x *NotificationEmailSMTP) ProtoReflect() protoreflect.Message
- func (x *NotificationEmailSMTP) Reset()
- func (x *NotificationEmailSMTP) String() string
- type NotificationEmail_Ses
- type NotificationEmail_Smtp
- type NotificationEmail_Type
- func (NotificationEmail_Type) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationEmail_Type) Enum() *NotificationEmail_Type
- func (NotificationEmail_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationEmail_Type) Number() protoreflect.EnumNumber
- func (x NotificationEmail_Type) String() string
- func (NotificationEmail_Type) Type() protoreflect.EnumType
- type NotificationPagerDuty
- func (*NotificationPagerDuty) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationPagerDuty) GetEmail() string
- func (x *NotificationPagerDuty) GetServiceId() string
- func (x *NotificationPagerDuty) GetToken() string
- func (x *NotificationPagerDuty) GetUrgency() NotificationPagerDuty_Urgency
- func (*NotificationPagerDuty) ProtoMessage()
- func (x *NotificationPagerDuty) ProtoReflect() protoreflect.Message
- func (x *NotificationPagerDuty) Reset()
- func (x *NotificationPagerDuty) String() string
- type NotificationPagerDuty_Urgency
- func (NotificationPagerDuty_Urgency) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationPagerDuty_Urgency) Enum() *NotificationPagerDuty_Urgency
- func (NotificationPagerDuty_Urgency) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationPagerDuty_Urgency) Number() protoreflect.EnumNumber
- func (x NotificationPagerDuty_Urgency) String() string
- func (NotificationPagerDuty_Urgency) Type() protoreflect.EnumType
- type NotificationSlack
- func (*NotificationSlack) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationSlack) GetBotToken() string
- func (x *NotificationSlack) GetChannel() string
- func (*NotificationSlack) ProtoMessage()
- func (x *NotificationSlack) ProtoReflect() protoreflect.Message
- func (x *NotificationSlack) Reset()
- func (x *NotificationSlack) String() string
- type NotificationType
- func (NotificationType) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationType) Enum() *NotificationType
- func (NotificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationType) Number() protoreflect.EnumNumber
- func (x NotificationType) String() string
- func (NotificationType) Type() protoreflect.EnumType
- type NotifyRequest
- func (*NotifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyRequest) GetAudience() *Audience
- func (x *NotifyRequest) GetConditionType() NotifyRequest_ConditionType
- func (x *NotifyRequest) GetOccurredAtUnixTsUtc() int64
- func (x *NotifyRequest) GetPayload() []byte
- func (x *NotifyRequest) GetPipelineId() string
- func (x *NotifyRequest) GetStep() *PipelineStep
- func (*NotifyRequest) ProtoMessage()
- func (x *NotifyRequest) ProtoReflect() protoreflect.Message
- func (x *NotifyRequest) Reset()
- func (x *NotifyRequest) String() string
- type NotifyRequest_ConditionType
- func (NotifyRequest_ConditionType) Descriptor() protoreflect.EnumDescriptor
- func (x NotifyRequest_ConditionType) Enum() *NotifyRequest_ConditionType
- func (NotifyRequest_ConditionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotifyRequest_ConditionType) Number() protoreflect.EnumNumber
- func (x NotifyRequest_ConditionType) String() string
- func (NotifyRequest_ConditionType) Type() protoreflect.EnumType
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type PausePipelineRequest
- func (*PausePipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PausePipelineRequest) GetAudience() *Audience
- func (x *PausePipelineRequest) GetPipelineId() string
- func (*PausePipelineRequest) ProtoMessage()
- func (x *PausePipelineRequest) ProtoReflect() protoreflect.Message
- func (x *PausePipelineRequest) Reset()
- func (x *PausePipelineRequest) String() string
- type PauseTailRequest
- type Pipeline
- func (*Pipeline) Descriptor() ([]byte, []int)deprecated
- func (x *Pipeline) GetDataFormat() PipelineDataFormat
- func (x *Pipeline) GetId() string
- func (x *Pipeline) GetName() string
- func (x *Pipeline) GetSteps() []*PipelineStep
- func (x *Pipeline) GetXCreatedAtUnixTsUtc() int64
- func (x *Pipeline) GetXCreatedBy() string
- func (x *Pipeline) GetXDescription() string
- func (x *Pipeline) GetXNotificationConfigs() []*NotificationConfigdeprecated
- func (x *Pipeline) GetXPaused() bool
- func (x *Pipeline) GetXUpdatedAtUnixTsUtc() int64
- func (x *Pipeline) GetXUrl() string
- func (x *Pipeline) GetXVersion() string
- func (*Pipeline) ProtoMessage()
- func (x *Pipeline) ProtoReflect() protoreflect.Message
- func (x *Pipeline) Reset()
- func (x *Pipeline) String() string
- type PipelineConfig
- func (*PipelineConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineConfig) GetCreatedAtUnixTsUtc() int64
- func (x *PipelineConfig) GetId() string
- func (x *PipelineConfig) GetPaused() bool
- func (*PipelineConfig) ProtoMessage()
- func (x *PipelineConfig) ProtoReflect() protoreflect.Message
- func (x *PipelineConfig) Reset()
- func (x *PipelineConfig) String() string
- type PipelineConfigs
- func (*PipelineConfigs) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineConfigs) GetConfigs() []*PipelineConfig
- func (x *PipelineConfigs) GetXCreatedBy() string
- func (x *PipelineConfigs) GetXIsEmpty() bool
- func (*PipelineConfigs) ProtoMessage()
- func (x *PipelineConfigs) ProtoReflect() protoreflect.Message
- func (x *PipelineConfigs) Reset()
- func (x *PipelineConfigs) String() string
- type PipelineDataFormat
- func (PipelineDataFormat) Descriptor() protoreflect.EnumDescriptor
- func (x PipelineDataFormat) Enum() *PipelineDataFormat
- func (PipelineDataFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x PipelineDataFormat) Number() protoreflect.EnumNumber
- func (x PipelineDataFormat) String() string
- func (PipelineDataFormat) Type() protoreflect.EnumType
- type PipelineInfo
- func (*PipelineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineInfo) GetAudiences() []*Audience
- func (x *PipelineInfo) GetPipeline() *Pipeline
- func (*PipelineInfo) ProtoMessage()
- func (x *PipelineInfo) ProtoReflect() protoreflect.Message
- func (x *PipelineInfo) Reset()
- func (x *PipelineInfo) String() string
- type PipelineStatus
- func (*PipelineStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineStatus) GetId() string
- func (x *PipelineStatus) GetName() string
- func (x *PipelineStatus) GetStepStatus() []*StepStatus
- func (*PipelineStatus) ProtoMessage()
- func (x *PipelineStatus) ProtoReflect() protoreflect.Message
- func (x *PipelineStatus) Reset()
- func (x *PipelineStatus) String() string
- type PipelineStep
- func (*PipelineStep) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineStep) GetCustom() *steps.CustomStep
- func (x *PipelineStep) GetDecode() *steps.DecodeStep
- func (x *PipelineStep) GetDetective() *steps.DetectiveStep
- func (x *PipelineStep) GetDynamic() bool
- func (x *PipelineStep) GetEncode() *steps.EncodeStep
- func (x *PipelineStep) GetHttpRequest() *steps.HttpRequestStep
- func (x *PipelineStep) GetInferSchema() *steps.InferSchemaStep
- func (x *PipelineStep) GetKv() *steps.KVStep
- func (x *PipelineStep) GetName() string
- func (x *PipelineStep) GetOnError() *PipelineStepConditions
- func (x *PipelineStep) GetOnFalse() *PipelineStepConditions
- func (x *PipelineStep) GetOnTrue() *PipelineStepConditions
- func (x *PipelineStep) GetSchemaValidation() *steps.SchemaValidationStep
- func (m *PipelineStep) GetStep() isPipelineStep_Step
- func (x *PipelineStep) GetTransform() *steps.TransformStep
- func (x *PipelineStep) GetValidJson() *steps.ValidJSONStep
- func (x *PipelineStep) GetXWasmBytes() []byte
- func (x *PipelineStep) GetXWasmFunction() string
- func (x *PipelineStep) GetXWasmId() string
- func (*PipelineStep) ProtoMessage()
- func (x *PipelineStep) ProtoReflect() protoreflect.Message
- func (x *PipelineStep) Reset()
- func (x *PipelineStep) String() string
- type PipelineStepConditions
- func (*PipelineStepConditions) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineStepConditions) GetAbort() AbortCondition
- func (x *PipelineStepConditions) GetMetadata() map[string]string
- func (x *PipelineStepConditions) GetNotification() *PipelineStepNotification
- func (x *PipelineStepConditions) GetNotify() booldeprecated
- func (*PipelineStepConditions) ProtoMessage()
- func (x *PipelineStepConditions) ProtoReflect() protoreflect.Message
- func (x *PipelineStepConditions) Reset()
- func (x *PipelineStepConditions) String() string
- type PipelineStepNotification
- func (*PipelineStepNotification) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineStepNotification) GetNotificationConfigIds() []string
- func (x *PipelineStepNotification) GetPaths() []string
- func (x *PipelineStepNotification) GetPayloadType() PipelineStepNotification_PayloadType
- func (*PipelineStepNotification) ProtoMessage()
- func (x *PipelineStepNotification) ProtoReflect() protoreflect.Message
- func (x *PipelineStepNotification) Reset()
- func (x *PipelineStepNotification) String() string
- type PipelineStepNotification_PayloadType
- func (PipelineStepNotification_PayloadType) Descriptor() protoreflect.EnumDescriptor
- func (x PipelineStepNotification_PayloadType) Enum() *PipelineStepNotification_PayloadType
- func (PipelineStepNotification_PayloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PipelineStepNotification_PayloadType) Number() protoreflect.EnumNumber
- func (x PipelineStepNotification_PayloadType) String() string
- func (PipelineStepNotification_PayloadType) Type() protoreflect.EnumType
- type PipelineStep_Custom
- type PipelineStep_Decode
- type PipelineStep_Detective
- type PipelineStep_Encode
- type PipelineStep_HttpRequest
- type PipelineStep_InferSchema
- type PipelineStep_Kv
- type PipelineStep_SchemaValidation
- type PipelineStep_Transform
- type PipelineStep_ValidJson
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetAudiences() []*Audience
- func (x *RegisterRequest) GetClientInfo() *ClientInfo
- func (x *RegisterRequest) GetDryRun() bool
- func (x *RegisterRequest) GetServiceName() string
- func (x *RegisterRequest) GetSessionId() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type ResponseCode
- func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseCode) Enum() *ResponseCode
- func (ResponseCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseCode) Number() protoreflect.EnumNumber
- func (x ResponseCode) String() string
- func (ResponseCode) Type() protoreflect.EnumType
- type ResumePipelineRequest
- func (*ResumePipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumePipelineRequest) GetAudience() *Audience
- func (x *ResumePipelineRequest) GetPipelineId() string
- func (*ResumePipelineRequest) ProtoMessage()
- func (x *ResumePipelineRequest) ProtoReflect() protoreflect.Message
- func (x *ResumePipelineRequest) Reset()
- func (x *ResumePipelineRequest) String() string
- type ResumeTailRequest
- type SDKMode
- type SDKResponse
- func (*SDKResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SDKResponse) GetData() []byte
- func (x *SDKResponse) GetMetadata() map[string]string
- func (x *SDKResponse) GetPipelineStatus() []*PipelineStatus
- func (x *SDKResponse) GetSdkMode() SDKMode
- func (x *SDKResponse) GetStatus() ExecStatus
- func (x *SDKResponse) GetStatusMessage() string
- func (*SDKResponse) ProtoMessage()
- func (x *SDKResponse) ProtoReflect() protoreflect.Message
- func (x *SDKResponse) Reset()
- func (x *SDKResponse) String() string
- type SampleOptions
- func (*SampleOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SampleOptions) GetSampleIntervalSeconds() uint32
- func (x *SampleOptions) GetSampleRate() uint32
- func (*SampleOptions) ProtoMessage()
- func (x *SampleOptions) ProtoReflect() protoreflect.Message
- func (x *SampleOptions) Reset()
- func (x *SampleOptions) String() string
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetJsonSchema() []byte
- func (x *Schema) GetXMetadata() map[string]string
- func (x *Schema) GetXVersion() int32
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SendSchemaRequest
- func (*SendSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSchemaRequest) GetAudience() *Audience
- func (x *SendSchemaRequest) GetSchema() *Schema
- func (*SendSchemaRequest) ProtoMessage()
- func (x *SendSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *SendSchemaRequest) Reset()
- func (x *SendSchemaRequest) String() string
- type SetPipelinesCommand
- func (*SetPipelinesCommand) Descriptor() ([]byte, []int)deprecated
- func (x *SetPipelinesCommand) GetPipelines() []*Pipeline
- func (x *SetPipelinesCommand) GetWasmModules() map[string]*shared.WasmModule
- func (*SetPipelinesCommand) ProtoMessage()
- func (x *SetPipelinesCommand) ProtoReflect() protoreflect.Message
- func (x *SetPipelinesCommand) Reset()
- func (x *SetPipelinesCommand) String() string
- type SetPipelinesRequest
- func (*SetPipelinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPipelinesRequest) GetAudience() *Audience
- func (x *SetPipelinesRequest) GetPipelineIds() []string
- func (x *SetPipelinesRequest) GetXCreatedBy() string
- func (*SetPipelinesRequest) ProtoMessage()
- func (x *SetPipelinesRequest) ProtoReflect() protoreflect.Message
- func (x *SetPipelinesRequest) Reset()
- func (x *SetPipelinesRequest) String() string
- type StandardResponse
- func (*StandardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StandardResponse) GetCode() ResponseCode
- func (x *StandardResponse) GetId() string
- func (x *StandardResponse) GetMessage() string
- func (*StandardResponse) ProtoMessage()
- func (x *StandardResponse) ProtoReflect() protoreflect.Message
- func (x *StandardResponse) Reset()
- func (x *StandardResponse) String() string
- type StepStatus
- func (*StepStatus) Descriptor() ([]byte, []int)deprecated
- func (x *StepStatus) GetAbortCondition() AbortCondition
- func (x *StepStatus) GetName() string
- func (x *StepStatus) GetStatus() ExecStatus
- func (x *StepStatus) GetStatusMessage() string
- func (*StepStatus) ProtoMessage()
- func (x *StepStatus) ProtoReflect() protoreflect.Message
- func (x *StepStatus) Reset()
- func (x *StepStatus) String() string
- type TailCommand
- type TailRequest
- func (*TailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TailRequest) GetAudience() *Audience
- func (x *TailRequest) GetId() string
- func (x *TailRequest) GetPipelineId() stringdeprecated
- func (x *TailRequest) GetSampleOptions() *SampleOptions
- func (x *TailRequest) GetType() TailRequestType
- func (x *TailRequest) GetXMetadata() map[string]string
- func (*TailRequest) ProtoMessage()
- func (x *TailRequest) ProtoReflect() protoreflect.Message
- func (x *TailRequest) Reset()
- func (x *TailRequest) String() string
- type TailRequestType
- func (TailRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x TailRequestType) Enum() *TailRequestType
- func (TailRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TailRequestType) Number() protoreflect.EnumNumber
- func (x TailRequestType) String() string
- func (TailRequestType) Type() protoreflect.EnumType
- type TailResponse
- func (*TailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TailResponse) GetAudience() *Audience
- func (x *TailResponse) GetNewData() []byte
- func (x *TailResponse) GetOriginalData() []byte
- func (x *TailResponse) GetPipelineId() string
- func (x *TailResponse) GetSessionId() string
- func (x *TailResponse) GetTailRequestId() string
- func (x *TailResponse) GetTimestampNs() int64
- func (x *TailResponse) GetType() TailResponseType
- func (x *TailResponse) GetXKeepalive() bool
- func (x *TailResponse) GetXMetadata() map[string]string
- func (*TailResponse) ProtoMessage()
- func (x *TailResponse) ProtoReflect() protoreflect.Message
- func (x *TailResponse) Reset()
- func (x *TailResponse) String() string
- type TailResponseType
- func (TailResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x TailResponseType) Enum() *TailResponseType
- func (TailResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TailResponseType) Number() protoreflect.EnumNumber
- func (x TailResponseType) String() string
- func (TailResponseType) Type() protoreflect.EnumType
- type TestRequest
- type TestResponse
- type UnimplementedExternalServer
- func (UnimplementedExternalServer) AppRegister(context.Context, *AppRegistrationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) AppRegisterReject(context.Context, *AppRegisterRejectRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) AppRegistrationStatus(context.Context, *AppRegistrationStatusRequest) (*AppRegistrationStatusResponse, error)
- func (UnimplementedExternalServer) AppVerifyRegistration(context.Context, *AppVerifyRegistrationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) AttachNotification(context.Context, *AttachNotificationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) CreateAudience(context.Context, *CreateAudienceRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) CreateNotification(context.Context, *CreateNotificationRequest) (*CreateNotificationResponse, error)
- func (UnimplementedExternalServer) CreatePipeline(context.Context, *CreatePipelineRequest) (*CreatePipelineResponse, error)
- func (UnimplementedExternalServer) CreateWasm(context.Context, *CreateWasmRequest) (*CreateWasmResponse, error)
- func (UnimplementedExternalServer) DeleteAudience(context.Context, *DeleteAudienceRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) DeleteNotification(context.Context, *DeleteNotificationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) DeletePipeline(context.Context, *DeletePipelineRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) DeleteService(context.Context, *DeleteServiceRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) DeleteWasm(context.Context, *DeleteWasmRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) DetachNotification(context.Context, *DetachNotificationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error)
- func (UnimplementedExternalServer) GetAllStream(*GetAllRequest, External_GetAllStreamServer) error
- func (UnimplementedExternalServer) GetAllWasm(context.Context, *GetAllWasmRequest) (*GetAllWasmResponse, error)
- func (UnimplementedExternalServer) GetAudienceRates(*GetAudienceRatesRequest, External_GetAudienceRatesServer) error
- func (UnimplementedExternalServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedExternalServer) GetMetrics(*GetMetricsRequest, External_GetMetricsServer) error
- func (UnimplementedExternalServer) GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationResponse, error)
- func (UnimplementedExternalServer) GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
- func (UnimplementedExternalServer) GetPipeline(context.Context, *GetPipelineRequest) (*GetPipelineResponse, error)
- func (UnimplementedExternalServer) GetPipelines(context.Context, *GetPipelinesRequest) (*GetPipelinesResponse, error)
- func (UnimplementedExternalServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
- func (UnimplementedExternalServer) GetWasm(context.Context, *GetWasmRequest) (*GetWasmResponse, error)
- func (UnimplementedExternalServer) PausePipeline(context.Context, *PausePipelineRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) PauseTail(context.Context, *PauseTailRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) ResumePipeline(context.Context, *ResumePipelineRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) ResumeTail(context.Context, *ResumeTailRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) SetPipelines(context.Context, *SetPipelinesRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) Tail(*TailRequest, External_TailServer) error
- func (UnimplementedExternalServer) Test(context.Context, *TestRequest) (*TestResponse, error)
- func (UnimplementedExternalServer) UpdateNotification(context.Context, *UpdateNotificationRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) UpdatePipeline(context.Context, *UpdatePipelineRequest) (*StandardResponse, error)
- func (UnimplementedExternalServer) UpdateWasm(context.Context, *UpdateWasmRequest) (*StandardResponse, error)
- type UnimplementedInternalServer
- func (UnimplementedInternalServer) GetSetPipelinesCommandsByService(context.Context, *GetSetPipelinesCommandsByServiceRequest) (*GetSetPipelinesCommandsByServiceResponse, error)
- func (UnimplementedInternalServer) Heartbeat(context.Context, *HeartbeatRequest) (*StandardResponse, error)
- func (UnimplementedInternalServer) Metrics(context.Context, *MetricsRequest) (*StandardResponse, error)
- func (UnimplementedInternalServer) NewAudience(context.Context, *NewAudienceRequest) (*StandardResponse, error)
- func (UnimplementedInternalServer) Notify(context.Context, *NotifyRequest) (*StandardResponse, error)
- func (UnimplementedInternalServer) Register(*RegisterRequest, Internal_RegisterServer) error
- func (UnimplementedInternalServer) SendSchema(context.Context, *SendSchemaRequest) (*StandardResponse, error)
- func (UnimplementedInternalServer) SendTail(Internal_SendTailServer) error
- type UnsafeExternalServer
- type UnsafeInternalServer
- type UpdateNotificationRequest
- func (*UpdateNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNotificationRequest) GetNotification() *NotificationConfig
- func (*UpdateNotificationRequest) ProtoMessage()
- func (x *UpdateNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNotificationRequest) Reset()
- func (x *UpdateNotificationRequest) String() string
- type UpdatePipelineRequest
- func (*UpdatePipelineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePipelineRequest) GetPipeline() *Pipeline
- func (x *UpdatePipelineRequest) GetPipelineJson() []byte
- func (*UpdatePipelineRequest) ProtoMessage()
- func (x *UpdatePipelineRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePipelineRequest) Reset()
- func (x *UpdatePipelineRequest) String() string
- type UpdateWasmRequest
- func (*UpdateWasmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWasmRequest) GetWasm() *shared.WasmModule
- func (*UpdateWasmRequest) ProtoMessage()
- func (x *UpdateWasmRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWasmRequest) Reset()
- func (x *UpdateWasmRequest) String() string
- type WASMExitCode
- func (WASMExitCode) Descriptor() protoreflect.EnumDescriptor
- func (x WASMExitCode) Enum() *WASMExitCode
- func (WASMExitCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x WASMExitCode) Number() protoreflect.EnumNumber
- func (x WASMExitCode) String() string
- func (WASMExitCode) Type() protoreflect.EnumType
- type WASMRequest
- func (*WASMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WASMRequest) GetDataFormat() PipelineDataFormat
- func (x *WASMRequest) GetInputPayload() []byte
- func (x *WASMRequest) GetInputStep() []byte
- func (x *WASMRequest) GetInterStepResult() *InterStepResult
- func (x *WASMRequest) GetStep() *PipelineStep
- func (*WASMRequest) ProtoMessage()
- func (x *WASMRequest) ProtoReflect() protoreflect.Message
- func (x *WASMRequest) Reset()
- func (x *WASMRequest) String() string
- type WASMResponse
- func (*WASMResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WASMResponse) GetExitCode() WASMExitCode
- func (x *WASMResponse) GetExitMsg() string
- func (x *WASMResponse) GetInterStepResult() *InterStepResult
- func (x *WASMResponse) GetOutputPayload() []byte
- func (x *WASMResponse) GetOutputStep() []byte
- func (*WASMResponse) ProtoMessage()
- func (x *WASMResponse) ProtoReflect() protoreflect.Message
- func (x *WASMResponse) Reset()
- func (x *WASMResponse) String() string
Constants ¶
const ( External_GetAll_FullMethodName = "/protos.External/GetAll" External_GetConfig_FullMethodName = "/protos.External/GetConfig" External_GetAllStream_FullMethodName = "/protos.External/GetAllStream" External_GetPipelines_FullMethodName = "/protos.External/GetPipelines" External_GetPipeline_FullMethodName = "/protos.External/GetPipeline" External_CreatePipeline_FullMethodName = "/protos.External/CreatePipeline" External_UpdatePipeline_FullMethodName = "/protos.External/UpdatePipeline" External_DeletePipeline_FullMethodName = "/protos.External/DeletePipeline" External_SetPipelines_FullMethodName = "/protos.External/SetPipelines" External_PausePipeline_FullMethodName = "/protos.External/PausePipeline" External_ResumePipeline_FullMethodName = "/protos.External/ResumePipeline" External_CreateNotification_FullMethodName = "/protos.External/CreateNotification" External_UpdateNotification_FullMethodName = "/protos.External/UpdateNotification" External_DeleteNotification_FullMethodName = "/protos.External/DeleteNotification" External_GetNotifications_FullMethodName = "/protos.External/GetNotifications" External_GetNotification_FullMethodName = "/protos.External/GetNotification" External_AttachNotification_FullMethodName = "/protos.External/AttachNotification" External_DetachNotification_FullMethodName = "/protos.External/DetachNotification" External_CreateAudience_FullMethodName = "/protos.External/CreateAudience" External_DeleteAudience_FullMethodName = "/protos.External/DeleteAudience" External_DeleteService_FullMethodName = "/protos.External/DeleteService" External_GetMetrics_FullMethodName = "/protos.External/GetMetrics" External_Tail_FullMethodName = "/protos.External/Tail" External_PauseTail_FullMethodName = "/protos.External/PauseTail" External_ResumeTail_FullMethodName = "/protos.External/ResumeTail" External_GetAudienceRates_FullMethodName = "/protos.External/GetAudienceRates" External_GetSchema_FullMethodName = "/protos.External/GetSchema" External_AppRegistrationStatus_FullMethodName = "/protos.External/AppRegistrationStatus" External_AppRegister_FullMethodName = "/protos.External/AppRegister" External_AppVerifyRegistration_FullMethodName = "/protos.External/AppVerifyRegistration" External_AppRegisterReject_FullMethodName = "/protos.External/AppRegisterReject" External_GetWasm_FullMethodName = "/protos.External/GetWasm" External_GetAllWasm_FullMethodName = "/protos.External/GetAllWasm" External_CreateWasm_FullMethodName = "/protos.External/CreateWasm" External_UpdateWasm_FullMethodName = "/protos.External/UpdateWasm" External_DeleteWasm_FullMethodName = "/protos.External/DeleteWasm" External_Test_FullMethodName = "/protos.External/Test" )
const ( Internal_Register_FullMethodName = "/protos.Internal/Register" Internal_NewAudience_FullMethodName = "/protos.Internal/NewAudience" Internal_Heartbeat_FullMethodName = "/protos.Internal/Heartbeat" Internal_Notify_FullMethodName = "/protos.Internal/Notify" Internal_Metrics_FullMethodName = "/protos.Internal/Metrics" Internal_GetSetPipelinesCommandsByService_FullMethodName = "/protos.Internal/GetSetPipelinesCommandsByService" Internal_SendTail_FullMethodName = "/protos.Internal/SendTail" Internal_SendSchema_FullMethodName = "/protos.Internal/SendSchema" )
Variables ¶
var ( ResponseCode_name = map[int32]string{ 0: "RESPONSE_CODE_UNSET", 1: "RESPONSE_CODE_OK", 2: "RESPONSE_CODE_BAD_REQUEST", 3: "RESPONSE_CODE_NOT_FOUND", 4: "RESPONSE_CODE_INTERNAL_SERVER_ERROR", 5: "RESPONSE_CODE_GENERIC_ERROR", } ResponseCode_value = map[string]int32{ "RESPONSE_CODE_UNSET": 0, "RESPONSE_CODE_OK": 1, "RESPONSE_CODE_BAD_REQUEST": 2, "RESPONSE_CODE_NOT_FOUND": 3, "RESPONSE_CODE_INTERNAL_SERVER_ERROR": 4, "RESPONSE_CODE_GENERIC_ERROR": 5, } )
Enum value maps for ResponseCode.
var ( OperationType_name = map[int32]string{ 0: "OPERATION_TYPE_UNSET", 1: "OPERATION_TYPE_CONSUMER", 2: "OPERATION_TYPE_PRODUCER", } OperationType_value = map[string]int32{ "OPERATION_TYPE_UNSET": 0, "OPERATION_TYPE_CONSUMER": 1, "OPERATION_TYPE_PRODUCER": 2, } )
Enum value maps for OperationType.
var ( TailResponseType_name = map[int32]string{ 0: "TAIL_RESPONSE_TYPE_UNSET", 1: "TAIL_RESPONSE_TYPE_PAYLOAD", 2: "TAIL_RESPONSE_TYPE_ERROR", } TailResponseType_value = map[string]int32{ "TAIL_RESPONSE_TYPE_UNSET": 0, "TAIL_RESPONSE_TYPE_PAYLOAD": 1, "TAIL_RESPONSE_TYPE_ERROR": 2, } )
Enum value maps for TailResponseType.
var ( TailRequestType_name = map[int32]string{ 0: "TAIL_REQUEST_TYPE_UNSET", 1: "TAIL_REQUEST_TYPE_START", 2: "TAIL_REQUEST_TYPE_STOP", 3: "TAIL_REQUEST_TYPE_PAUSE", 4: "TAIL_REQUEST_TYPE_RESUME", } TailRequestType_value = map[string]int32{ "TAIL_REQUEST_TYPE_UNSET": 0, "TAIL_REQUEST_TYPE_START": 1, "TAIL_REQUEST_TYPE_STOP": 2, "TAIL_REQUEST_TYPE_PAUSE": 3, "TAIL_REQUEST_TYPE_RESUME": 4, } )
Enum value maps for TailRequestType.
var ( AppRegistrationStatusResponse_Status_name = map[int32]string{ 0: "STATUS_UNSET", 1: "STATUS_SUBMIT", 2: "STATUS_VERIFY", 3: "STATUS_DONE", } AppRegistrationStatusResponse_Status_value = map[string]int32{ "STATUS_UNSET": 0, "STATUS_SUBMIT": 1, "STATUS_VERIFY": 2, "STATUS_DONE": 3, } )
Enum value maps for AppRegistrationStatusResponse_Status.
var ( ClientType_name = map[int32]string{ 0: "CLIENT_TYPE_UNSET", 1: "CLIENT_TYPE_SDK", 2: "CLIENT_TYPE_SHIM", } ClientType_value = map[string]int32{ "CLIENT_TYPE_UNSET": 0, "CLIENT_TYPE_SDK": 1, "CLIENT_TYPE_SHIM": 2, } )
Enum value maps for ClientType.
var ( NotifyRequest_ConditionType_name = map[int32]string{ 0: "CONDITION_TYPE_UNSET", 1: "CONDITION_TYPE_ON_TRUE", 2: "CONDITION_TYPE_ON_FALSE", 3: "CONDITION_TYPE_ON_ERROR", } NotifyRequest_ConditionType_value = map[string]int32{ "CONDITION_TYPE_UNSET": 0, "CONDITION_TYPE_ON_TRUE": 1, "CONDITION_TYPE_ON_FALSE": 2, "CONDITION_TYPE_ON_ERROR": 3, } )
Enum value maps for NotifyRequest_ConditionType.
var ( NotificationType_name = map[int32]string{ 0: "NOTIFICATION_TYPE_UNSET", 1: "NOTIFICATION_TYPE_SLACK", 2: "NOTIFICATION_TYPE_EMAIL", 3: "NOTIFICATION_TYPE_PAGERDUTY", } NotificationType_value = map[string]int32{ "NOTIFICATION_TYPE_UNSET": 0, "NOTIFICATION_TYPE_SLACK": 1, "NOTIFICATION_TYPE_EMAIL": 2, "NOTIFICATION_TYPE_PAGERDUTY": 3, } )
Enum value maps for NotificationType.
var ( NotificationEmail_Type_name = map[int32]string{ 0: "TYPE_UNSET", 1: "TYPE_SMTP", 2: "TYPE_SES", } NotificationEmail_Type_value = map[string]int32{ "TYPE_UNSET": 0, "TYPE_SMTP": 1, "TYPE_SES": 2, } )
Enum value maps for NotificationEmail_Type.
var ( NotificationPagerDuty_Urgency_name = map[int32]string{ 0: "URGENCY_UNSET", 1: "URGENCY_LOW", 2: "URGENCY_HIGH", } NotificationPagerDuty_Urgency_value = map[string]int32{ "URGENCY_UNSET": 0, "URGENCY_LOW": 1, "URGENCY_HIGH": 2, } )
Enum value maps for NotificationPagerDuty_Urgency.
var ( PipelineDataFormat_name = map[int32]string{ 0: "PIPELINE_DATA_FORMAT_UNSET", 1: "PIPELINE_DATA_FORMAT_JSON", 2: "PIPELINE_DATA_FORMAT_PLAINTEXT", } PipelineDataFormat_value = map[string]int32{ "PIPELINE_DATA_FORMAT_UNSET": 0, "PIPELINE_DATA_FORMAT_JSON": 1, "PIPELINE_DATA_FORMAT_PLAINTEXT": 2, } )
Enum value maps for PipelineDataFormat.
var ( AbortCondition_name = map[int32]string{ 0: "ABORT_CONDITION_UNSET", 1: "ABORT_CONDITION_ABORT_CURRENT", 2: "ABORT_CONDITION_ABORT_ALL", } AbortCondition_value = map[string]int32{ "ABORT_CONDITION_UNSET": 0, "ABORT_CONDITION_ABORT_CURRENT": 1, "ABORT_CONDITION_ABORT_ALL": 2, } )
Enum value maps for AbortCondition.
var ( PipelineStepNotification_PayloadType_name = map[int32]string{ 0: "PAYLOAD_TYPE_UNSET", 1: "PAYLOAD_TYPE_EXCLUDE", 2: "PAYLOAD_TYPE_FULL_PAYLOAD", 3: "PAYLOAD_TYPE_SELECT_PATHS", } PipelineStepNotification_PayloadType_value = map[string]int32{ "PAYLOAD_TYPE_UNSET": 0, "PAYLOAD_TYPE_EXCLUDE": 1, "PAYLOAD_TYPE_FULL_PAYLOAD": 2, "PAYLOAD_TYPE_SELECT_PATHS": 3, } )
Enum value maps for PipelineStepNotification_PayloadType.
var ( ExecStatus_name = map[int32]string{ 0: "EXEC_STATUS_UNSET", 1: "EXEC_STATUS_TRUE", 2: "EXEC_STATUS_FALSE", 3: "EXEC_STATUS_ERROR", 4: "EXEC_STATUS_ASYNC", 5: "EXEC_STATUS_SAMPLING", } ExecStatus_value = map[string]int32{ "EXEC_STATUS_UNSET": 0, "EXEC_STATUS_TRUE": 1, "EXEC_STATUS_FALSE": 2, "EXEC_STATUS_ERROR": 3, "EXEC_STATUS_ASYNC": 4, "EXEC_STATUS_SAMPLING": 5, } )
Enum value maps for ExecStatus.
var ( SDKMode_name = map[int32]string{ 0: "SDK_MODE_UNSET", 1: "SDK_MODE_SYNC", 2: "SDK_MODE_ASYNC", } SDKMode_value = map[string]int32{ "SDK_MODE_UNSET": 0, "SDK_MODE_SYNC": 1, "SDK_MODE_ASYNC": 2, } )
Enum value maps for SDKMode.
var ( WASMExitCode_name = map[int32]string{ 0: "WASM_EXIT_CODE_UNSET", 1: "WASM_EXIT_CODE_TRUE", 2: "WASM_EXIT_CODE_FALSE", 3: "WASM_EXIT_CODE_ERROR", } WASMExitCode_value = map[string]int32{ "WASM_EXIT_CODE_UNSET": 0, "WASM_EXIT_CODE_TRUE": 1, "WASM_EXIT_CODE_FALSE": 2, "WASM_EXIT_CODE_ERROR": 3, } )
Enum value maps for WASMExitCode.
var External_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protos.External", HandlerType: (*ExternalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAll", Handler: _External_GetAll_Handler, }, { MethodName: "GetConfig", Handler: _External_GetConfig_Handler, }, { MethodName: "GetPipelines", Handler: _External_GetPipelines_Handler, }, { MethodName: "GetPipeline", Handler: _External_GetPipeline_Handler, }, { MethodName: "CreatePipeline", Handler: _External_CreatePipeline_Handler, }, { MethodName: "UpdatePipeline", Handler: _External_UpdatePipeline_Handler, }, { MethodName: "DeletePipeline", Handler: _External_DeletePipeline_Handler, }, { MethodName: "SetPipelines", Handler: _External_SetPipelines_Handler, }, { MethodName: "PausePipeline", Handler: _External_PausePipeline_Handler, }, { MethodName: "ResumePipeline", Handler: _External_ResumePipeline_Handler, }, { MethodName: "CreateNotification", Handler: _External_CreateNotification_Handler, }, { MethodName: "UpdateNotification", Handler: _External_UpdateNotification_Handler, }, { MethodName: "DeleteNotification", Handler: _External_DeleteNotification_Handler, }, { MethodName: "GetNotifications", Handler: _External_GetNotifications_Handler, }, { MethodName: "GetNotification", Handler: _External_GetNotification_Handler, }, { MethodName: "AttachNotification", Handler: _External_AttachNotification_Handler, }, { MethodName: "DetachNotification", Handler: _External_DetachNotification_Handler, }, { MethodName: "CreateAudience", Handler: _External_CreateAudience_Handler, }, { MethodName: "DeleteAudience", Handler: _External_DeleteAudience_Handler, }, { MethodName: "DeleteService", Handler: _External_DeleteService_Handler, }, { MethodName: "PauseTail", Handler: _External_PauseTail_Handler, }, { MethodName: "ResumeTail", Handler: _External_ResumeTail_Handler, }, { MethodName: "GetSchema", Handler: _External_GetSchema_Handler, }, { MethodName: "AppRegistrationStatus", Handler: _External_AppRegistrationStatus_Handler, }, { MethodName: "AppRegister", Handler: _External_AppRegister_Handler, }, { MethodName: "AppVerifyRegistration", Handler: _External_AppVerifyRegistration_Handler, }, { MethodName: "AppRegisterReject", Handler: _External_AppRegisterReject_Handler, }, { MethodName: "GetWasm", Handler: _External_GetWasm_Handler, }, { MethodName: "GetAllWasm", Handler: _External_GetAllWasm_Handler, }, { MethodName: "CreateWasm", Handler: _External_CreateWasm_Handler, }, { MethodName: "UpdateWasm", Handler: _External_UpdateWasm_Handler, }, { MethodName: "DeleteWasm", Handler: _External_DeleteWasm_Handler, }, { MethodName: "Test", Handler: _External_Test_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetAllStream", Handler: _External_GetAllStream_Handler, ServerStreams: true, }, { StreamName: "GetMetrics", Handler: _External_GetMetrics_Handler, ServerStreams: true, }, { StreamName: "Tail", Handler: _External_Tail_Handler, ServerStreams: true, }, { StreamName: "GetAudienceRates", Handler: _External_GetAudienceRates_Handler, ServerStreams: true, }, }, Metadata: "sp_external.proto", }
External_ServiceDesc is the grpc.ServiceDesc for External service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sp_bus_proto protoreflect.FileDescriptor
var File_sp_command_proto protoreflect.FileDescriptor
var File_sp_common_proto protoreflect.FileDescriptor
var File_sp_external_proto protoreflect.FileDescriptor
var File_sp_info_proto protoreflect.FileDescriptor
var File_sp_internal_proto protoreflect.FileDescriptor
var File_sp_kv_proto protoreflect.FileDescriptor
var File_sp_notify_proto protoreflect.FileDescriptor
var File_sp_pipeline_proto protoreflect.FileDescriptor
var File_sp_sdk_proto protoreflect.FileDescriptor
var File_sp_wsm_proto protoreflect.FileDescriptor
var Internal_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protos.Internal", HandlerType: (*InternalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "NewAudience", Handler: _Internal_NewAudience_Handler, }, { MethodName: "Heartbeat", Handler: _Internal_Heartbeat_Handler, }, { MethodName: "Notify", Handler: _Internal_Notify_Handler, }, { MethodName: "Metrics", Handler: _Internal_Metrics_Handler, }, { MethodName: "GetSetPipelinesCommandsByService", Handler: _Internal_GetSetPipelinesCommandsByService_Handler, }, { MethodName: "SendSchema", Handler: _Internal_SendSchema_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Register", Handler: _Internal_Register_Handler, ServerStreams: true, }, { StreamName: "SendTail", Handler: _Internal_SendTail_Handler, ClientStreams: true, }, }, Metadata: "sp_internal.proto", }
Internal_ServiceDesc is the grpc.ServiceDesc for Internal service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterExternalServer ¶
func RegisterExternalServer(s grpc.ServiceRegistrar, srv ExternalServer)
func RegisterInternalServer ¶
func RegisterInternalServer(s grpc.ServiceRegistrar, srv InternalServer)
Types ¶
type AbortCondition ¶ added in v0.1.15
type AbortCondition int32
Defines the ways in which a pipeline can be aborted
const ( AbortCondition_ABORT_CONDITION_UNSET AbortCondition = 0 AbortCondition_ABORT_CONDITION_ABORT_CURRENT AbortCondition = 1 AbortCondition_ABORT_CONDITION_ABORT_ALL AbortCondition = 2 )
func (AbortCondition) Descriptor ¶ added in v0.1.15
func (AbortCondition) Descriptor() protoreflect.EnumDescriptor
func (AbortCondition) Enum ¶ added in v0.1.15
func (x AbortCondition) Enum() *AbortCondition
func (AbortCondition) EnumDescriptor
deprecated
added in
v0.1.15
func (AbortCondition) EnumDescriptor() ([]byte, []int)
Deprecated: Use AbortCondition.Descriptor instead.
func (AbortCondition) Number ¶ added in v0.1.15
func (x AbortCondition) Number() protoreflect.EnumNumber
func (AbortCondition) String ¶ added in v0.1.15
func (x AbortCondition) String() string
func (AbortCondition) Type ¶ added in v0.1.15
func (AbortCondition) Type() protoreflect.EnumType
type AppRegisterRejectRequest ¶
type AppRegisterRejectRequest struct { ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
func (*AppRegisterRejectRequest) Descriptor
deprecated
func (*AppRegisterRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppRegisterRejectRequest.ProtoReflect.Descriptor instead.
func (*AppRegisterRejectRequest) GetClusterId ¶
func (x *AppRegisterRejectRequest) GetClusterId() string
func (*AppRegisterRejectRequest) ProtoMessage ¶
func (*AppRegisterRejectRequest) ProtoMessage()
func (*AppRegisterRejectRequest) ProtoReflect ¶
func (x *AppRegisterRejectRequest) ProtoReflect() protoreflect.Message
func (*AppRegisterRejectRequest) Reset ¶
func (x *AppRegisterRejectRequest) Reset()
func (*AppRegisterRejectRequest) String ¶
func (x *AppRegisterRejectRequest) String() string
type AppRegistrationRequest ¶
type AppRegistrationRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Used for storage on ui-bff backend XCode string `protobuf:"bytes,100,opt,name=_code,json=Code,proto3" json:"_code,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*AppRegistrationRequest) Descriptor
deprecated
func (*AppRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppRegistrationRequest.ProtoReflect.Descriptor instead.
func (*AppRegistrationRequest) GetClusterId ¶
func (x *AppRegistrationRequest) GetClusterId() string
func (*AppRegistrationRequest) GetEmail ¶
func (x *AppRegistrationRequest) GetEmail() string
func (*AppRegistrationRequest) GetXCode ¶
func (x *AppRegistrationRequest) GetXCode() string
func (*AppRegistrationRequest) ProtoMessage ¶
func (*AppRegistrationRequest) ProtoMessage()
func (*AppRegistrationRequest) ProtoReflect ¶
func (x *AppRegistrationRequest) ProtoReflect() protoreflect.Message
func (*AppRegistrationRequest) Reset ¶
func (x *AppRegistrationRequest) Reset()
func (*AppRegistrationRequest) String ¶
func (x *AppRegistrationRequest) String() string
type AppRegistrationStatusRequest ¶
type AppRegistrationStatusRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*AppRegistrationStatusRequest) Descriptor
deprecated
func (*AppRegistrationStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppRegistrationStatusRequest.ProtoReflect.Descriptor instead.
func (*AppRegistrationStatusRequest) GetEmail ¶
func (x *AppRegistrationStatusRequest) GetEmail() string
func (*AppRegistrationStatusRequest) ProtoMessage ¶
func (*AppRegistrationStatusRequest) ProtoMessage()
func (*AppRegistrationStatusRequest) ProtoReflect ¶
func (x *AppRegistrationStatusRequest) ProtoReflect() protoreflect.Message
func (*AppRegistrationStatusRequest) Reset ¶
func (x *AppRegistrationStatusRequest) Reset()
func (*AppRegistrationStatusRequest) String ¶
func (x *AppRegistrationStatusRequest) String() string
type AppRegistrationStatusResponse ¶
type AppRegistrationStatusResponse struct { Status AppRegistrationStatusResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=protos.AppRegistrationStatusResponse_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*AppRegistrationStatusResponse) Descriptor
deprecated
func (*AppRegistrationStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppRegistrationStatusResponse.ProtoReflect.Descriptor instead.
func (*AppRegistrationStatusResponse) GetStatus ¶
func (x *AppRegistrationStatusResponse) GetStatus() AppRegistrationStatusResponse_Status
func (*AppRegistrationStatusResponse) ProtoMessage ¶
func (*AppRegistrationStatusResponse) ProtoMessage()
func (*AppRegistrationStatusResponse) ProtoReflect ¶
func (x *AppRegistrationStatusResponse) ProtoReflect() protoreflect.Message
func (*AppRegistrationStatusResponse) Reset ¶
func (x *AppRegistrationStatusResponse) Reset()
func (*AppRegistrationStatusResponse) String ¶
func (x *AppRegistrationStatusResponse) String() string
type AppRegistrationStatusResponse_Status ¶
type AppRegistrationStatusResponse_Status int32
const ( AppRegistrationStatusResponse_STATUS_UNSET AppRegistrationStatusResponse_Status = 0 // Submit means the user is not registered yet AppRegistrationStatusResponse_STATUS_SUBMIT AppRegistrationStatusResponse_Status = 1 // Verify means the user is registered but not verified yet AppRegistrationStatusResponse_STATUS_VERIFY AppRegistrationStatusResponse_Status = 2 // Done means the user is registered and verified AppRegistrationStatusResponse_STATUS_DONE AppRegistrationStatusResponse_Status = 3 )
func (AppRegistrationStatusResponse_Status) Descriptor ¶
func (AppRegistrationStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (AppRegistrationStatusResponse_Status) Enum ¶
func (x AppRegistrationStatusResponse_Status) Enum() *AppRegistrationStatusResponse_Status
func (AppRegistrationStatusResponse_Status) EnumDescriptor
deprecated
func (AppRegistrationStatusResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppRegistrationStatusResponse_Status.Descriptor instead.
func (AppRegistrationStatusResponse_Status) Number ¶
func (x AppRegistrationStatusResponse_Status) Number() protoreflect.EnumNumber
func (AppRegistrationStatusResponse_Status) String ¶
func (x AppRegistrationStatusResponse_Status) String() string
func (AppRegistrationStatusResponse_Status) Type ¶
func (AppRegistrationStatusResponse_Status) Type() protoreflect.EnumType
type AppVerifyRegistrationRequest ¶
type AppVerifyRegistrationRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*AppVerifyRegistrationRequest) Descriptor
deprecated
func (*AppVerifyRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppVerifyRegistrationRequest.ProtoReflect.Descriptor instead.
func (*AppVerifyRegistrationRequest) GetCode ¶
func (x *AppVerifyRegistrationRequest) GetCode() string
func (*AppVerifyRegistrationRequest) GetEmail ¶
func (x *AppVerifyRegistrationRequest) GetEmail() string
func (*AppVerifyRegistrationRequest) ProtoMessage ¶
func (*AppVerifyRegistrationRequest) ProtoMessage()
func (*AppVerifyRegistrationRequest) ProtoReflect ¶
func (x *AppVerifyRegistrationRequest) ProtoReflect() protoreflect.Message
func (*AppVerifyRegistrationRequest) Reset ¶
func (x *AppVerifyRegistrationRequest) Reset()
func (*AppVerifyRegistrationRequest) String ¶
func (x *AppVerifyRegistrationRequest) String() string
type AttachNotificationRequest
deprecated
type AttachNotificationRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` PipelineId string `protobuf:"bytes,2,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in sp_external.proto.
func (*AttachNotificationRequest) Descriptor
deprecated
func (*AttachNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachNotificationRequest.ProtoReflect.Descriptor instead.
func (*AttachNotificationRequest) GetNotificationId ¶
func (x *AttachNotificationRequest) GetNotificationId() string
func (*AttachNotificationRequest) GetPipelineId ¶
func (x *AttachNotificationRequest) GetPipelineId() string
func (*AttachNotificationRequest) ProtoMessage ¶
func (*AttachNotificationRequest) ProtoMessage()
func (*AttachNotificationRequest) ProtoReflect ¶
func (x *AttachNotificationRequest) ProtoReflect() protoreflect.Message
func (*AttachNotificationRequest) Reset ¶
func (x *AttachNotificationRequest) Reset()
func (*AttachNotificationRequest) String ¶
func (x *AttachNotificationRequest) String() string
type Audience ¶
type Audience struct { // Name of the service -- let's include the service name on all calls, we can // optimize later ~DS ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Name of the component the SDK is interacting with (ie. kafka-$topic-name) ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` // Consumer or Producer OperationType OperationType `` /* 127-byte string literal not displayed */ // Name for the consumer or producer OperationName string `protobuf:"bytes,4,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` // Used internally by server and k8s operator to determine who manages this resource XCreatedBy *string `protobuf:"bytes,1000,opt,name=_created_by,json=CreatedBy,proto3,oneof" json:"_created_by,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
Used to indicate who a command is intended for
func (*Audience) Descriptor
deprecated
func (*Audience) GetComponentName ¶
func (*Audience) GetOperationName ¶
func (*Audience) GetOperationType ¶
func (x *Audience) GetOperationType() OperationType
func (*Audience) GetServiceName ¶
func (*Audience) GetXCreatedBy ¶ added in v0.1.40
func (*Audience) ProtoMessage ¶
func (*Audience) ProtoMessage()
func (*Audience) ProtoReflect ¶
func (x *Audience) ProtoReflect() protoreflect.Message
type AudienceRate ¶
type AudienceRate struct { Bytes float64 `protobuf:"fixed64,1,opt,name=bytes,proto3" json:"bytes,omitempty"` Processed float64 `protobuf:"fixed64,2,opt,name=processed,proto3" json:"processed,omitempty"` // contains filtered or unexported fields }
func (*AudienceRate) Descriptor
deprecated
func (*AudienceRate) Descriptor() ([]byte, []int)
Deprecated: Use AudienceRate.ProtoReflect.Descriptor instead.
func (*AudienceRate) GetBytes ¶
func (x *AudienceRate) GetBytes() float64
func (*AudienceRate) GetProcessed ¶
func (x *AudienceRate) GetProcessed() float64
func (*AudienceRate) ProtoMessage ¶
func (*AudienceRate) ProtoMessage()
func (*AudienceRate) ProtoReflect ¶
func (x *AudienceRate) ProtoReflect() protoreflect.Message
func (*AudienceRate) Reset ¶
func (x *AudienceRate) Reset()
func (*AudienceRate) String ¶
func (x *AudienceRate) String() string
type BusEvent ¶
type BusEvent struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // This _should_ contain request messages - each server can determine // how to interpret and handle the message. // // NOTE: The bus _should not_ be used for transmitting commands to SDKs. The // consumer in each SDK should receive a request and potentially craft a new // command to send to the appropriate SDK(s). // // Types that are assignable to Event: // // *BusEvent_RegisterRequest // *BusEvent_DeregisterRequest // *BusEvent_CreatePipelineRequest // *BusEvent_DeletePipelineRequest // *BusEvent_UpdatePipelineRequest // *BusEvent_PausePipelineRequest // *BusEvent_ResumePipelineRequest // *BusEvent_MetricsRequest // *BusEvent_KvRequest // *BusEvent_DeleteAudienceRequest // *BusEvent_NewAudienceRequest // *BusEvent_TailRequest // *BusEvent_TailResponse // *BusEvent_SetPipelinesRequest Event isBusEvent_Event `protobuf_oneof:"event"` // All gRPC metadata is stored in ctx; when request goes outside of gRPC // bounds, we will translate ctx metadata into this field. // // Example: // 1. Request comes into server via external gRPC to set new pipeline // 2. server has to send SetPipeline cmd to SDK via gRPC - it passes // on original metadata in request. // 3. server has to broadcast SetPipeline cmd to other services via bus // 4. Since this is not a gRPC call, server translates ctx metadata to // this field and includes it in the bus event. XMetadata map[string]string `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
Type used by `server` for broadcasting events to other nodes
func (*BusEvent) Descriptor
deprecated
func (*BusEvent) GetCreatePipelineRequest ¶
func (x *BusEvent) GetCreatePipelineRequest() *CreatePipelineRequest
func (*BusEvent) GetDeleteAudienceRequest ¶
func (x *BusEvent) GetDeleteAudienceRequest() *DeleteAudienceRequest
func (*BusEvent) GetDeletePipelineRequest ¶
func (x *BusEvent) GetDeletePipelineRequest() *DeletePipelineRequest
func (*BusEvent) GetDeregisterRequest ¶
func (x *BusEvent) GetDeregisterRequest() *DeregisterRequest
func (*BusEvent) GetKvRequest ¶
func (*BusEvent) GetMetricsRequest ¶
func (x *BusEvent) GetMetricsRequest() *MetricsRequest
func (*BusEvent) GetNewAudienceRequest ¶
func (x *BusEvent) GetNewAudienceRequest() *NewAudienceRequest
func (*BusEvent) GetPausePipelineRequest ¶
func (x *BusEvent) GetPausePipelineRequest() *PausePipelineRequest
func (*BusEvent) GetRegisterRequest ¶
func (x *BusEvent) GetRegisterRequest() *RegisterRequest
func (*BusEvent) GetResumePipelineRequest ¶
func (x *BusEvent) GetResumePipelineRequest() *ResumePipelineRequest
func (*BusEvent) GetSetPipelinesRequest ¶ added in v0.1.17
func (x *BusEvent) GetSetPipelinesRequest() *SetPipelinesRequest
func (*BusEvent) GetTailRequest ¶
func (x *BusEvent) GetTailRequest() *TailRequest
func (*BusEvent) GetTailResponse ¶
func (x *BusEvent) GetTailResponse() *TailResponse
func (*BusEvent) GetUpdatePipelineRequest ¶
func (x *BusEvent) GetUpdatePipelineRequest() *UpdatePipelineRequest
func (*BusEvent) GetXMetadata ¶
func (*BusEvent) ProtoMessage ¶
func (*BusEvent) ProtoMessage()
func (*BusEvent) ProtoReflect ¶
func (x *BusEvent) ProtoReflect() protoreflect.Message
type BusEvent_CreatePipelineRequest ¶
type BusEvent_CreatePipelineRequest struct {
CreatePipelineRequest *CreatePipelineRequest `protobuf:"bytes,102,opt,name=create_pipeline_request,json=createPipelineRequest,proto3,oneof"`
}
type BusEvent_DeleteAudienceRequest ¶
type BusEvent_DeleteAudienceRequest struct {
DeleteAudienceRequest *DeleteAudienceRequest `protobuf:"bytes,111,opt,name=delete_audience_request,json=deleteAudienceRequest,proto3,oneof"`
}
type BusEvent_DeletePipelineRequest ¶
type BusEvent_DeletePipelineRequest struct {
DeletePipelineRequest *DeletePipelineRequest `protobuf:"bytes,103,opt,name=delete_pipeline_request,json=deletePipelineRequest,proto3,oneof"`
}
type BusEvent_DeregisterRequest ¶
type BusEvent_DeregisterRequest struct {
DeregisterRequest *DeregisterRequest `protobuf:"bytes,101,opt,name=deregister_request,json=deregisterRequest,proto3,oneof"`
}
type BusEvent_KvRequest ¶
type BusEvent_KvRequest struct {
KvRequest *KVRequest `protobuf:"bytes,110,opt,name=kv_request,json=kvRequest,proto3,oneof"`
}
type BusEvent_MetricsRequest ¶
type BusEvent_MetricsRequest struct {
MetricsRequest *MetricsRequest `protobuf:"bytes,109,opt,name=metrics_request,json=metricsRequest,proto3,oneof"`
}
type BusEvent_NewAudienceRequest ¶
type BusEvent_NewAudienceRequest struct {
NewAudienceRequest *NewAudienceRequest `protobuf:"bytes,112,opt,name=new_audience_request,json=newAudienceRequest,proto3,oneof"`
}
type BusEvent_PausePipelineRequest ¶
type BusEvent_PausePipelineRequest struct {
PausePipelineRequest *PausePipelineRequest `protobuf:"bytes,107,opt,name=pause_pipeline_request,json=pausePipelineRequest,proto3,oneof"`
}
type BusEvent_RegisterRequest ¶
type BusEvent_RegisterRequest struct {
RegisterRequest *RegisterRequest `protobuf:"bytes,100,opt,name=register_request,json=registerRequest,proto3,oneof"`
}
type BusEvent_ResumePipelineRequest ¶
type BusEvent_ResumePipelineRequest struct {
ResumePipelineRequest *ResumePipelineRequest `protobuf:"bytes,108,opt,name=resume_pipeline_request,json=resumePipelineRequest,proto3,oneof"`
}
type BusEvent_SetPipelinesRequest ¶ added in v0.1.17
type BusEvent_SetPipelinesRequest struct {
SetPipelinesRequest *SetPipelinesRequest `protobuf:"bytes,115,opt,name=set_pipelines_request,json=setPipelinesRequest,proto3,oneof"`
}
type BusEvent_TailRequest ¶
type BusEvent_TailRequest struct {
TailRequest *TailRequest `protobuf:"bytes,113,opt,name=tail_request,json=tailRequest,proto3,oneof"`
}
type BusEvent_TailResponse ¶
type BusEvent_TailResponse struct {
TailResponse *TailResponse `protobuf:"bytes,114,opt,name=tail_response,json=tailResponse,proto3,oneof"`
}
type BusEvent_UpdatePipelineRequest ¶
type BusEvent_UpdatePipelineRequest struct {
UpdatePipelineRequest *UpdatePipelineRequest `protobuf:"bytes,104,opt,name=update_pipeline_request,json=updatePipelineRequest,proto3,oneof"`
}
type ClientInfo ¶
type ClientInfo struct { ClientType ClientType `protobuf:"varint,1,opt,name=client_type,json=clientType,proto3,enum=protos.ClientType" json:"client_type,omitempty"` LibraryName string `protobuf:"bytes,2,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` LibraryVersion string `protobuf:"bytes,3,opt,name=library_version,json=libraryVersion,proto3" json:"library_version,omitempty"` Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` Arch string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"` Os string `protobuf:"bytes,6,opt,name=os,proto3" json:"os,omitempty"` // Filled out by server on GetAll() XSessionId *string `protobuf:"bytes,7,opt,name=_session_id,json=SessionId,proto3,oneof" json:"_session_id,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XServiceName *string `protobuf:"bytes,8,opt,name=_service_name,json=ServiceName,proto3,oneof" json:"_service_name,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XNodeName *string `protobuf:"bytes,9,opt,name=_node_name,json=NodeName,proto3,oneof" json:"_node_name,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
Most of this is constructed by client SDKs and provided during Register call
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetArch ¶
func (x *ClientInfo) GetArch() string
func (*ClientInfo) GetClientType ¶
func (x *ClientInfo) GetClientType() ClientType
func (*ClientInfo) GetLanguage ¶
func (x *ClientInfo) GetLanguage() string
func (*ClientInfo) GetLibraryName ¶
func (x *ClientInfo) GetLibraryName() string
func (*ClientInfo) GetLibraryVersion ¶
func (x *ClientInfo) GetLibraryVersion() string
func (*ClientInfo) GetOs ¶
func (x *ClientInfo) GetOs() string
func (*ClientInfo) GetXNodeName ¶
func (x *ClientInfo) GetXNodeName() string
func (*ClientInfo) GetXServiceName ¶
func (x *ClientInfo) GetXServiceName() string
func (*ClientInfo) GetXSessionId ¶
func (x *ClientInfo) GetXSessionId() string
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type ClientType ¶
type ClientType int32
const ( ClientType_CLIENT_TYPE_UNSET ClientType = 0 ClientType_CLIENT_TYPE_SDK ClientType = 1 ClientType_CLIENT_TYPE_SHIM ClientType = 2 )
func (ClientType) Descriptor ¶
func (ClientType) Descriptor() protoreflect.EnumDescriptor
func (ClientType) Enum ¶
func (x ClientType) Enum() *ClientType
func (ClientType) EnumDescriptor
deprecated
func (ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientType.Descriptor instead.
func (ClientType) Number ¶
func (x ClientType) Number() protoreflect.EnumNumber
func (ClientType) String ¶
func (x ClientType) String() string
func (ClientType) Type ¶
func (ClientType) Type() protoreflect.EnumType
type Command ¶
type Command struct { // Who is this command intended for? // NOTE: Some commands (such as KeepAliveCommand, KVCommand) do NOT use audience and will ignore it Audience *Audience `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` // Types that are assignable to Command: // // *Command_SetPipelines // *Command_KeepAlive // *Command_Kv // *Command_Tail Command isCommand_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
Command is used by streamdal server for sending commands to SDKs
func (*Command) Descriptor
deprecated
func (*Command) GetAudience ¶
func (*Command) GetCommand ¶
func (m *Command) GetCommand() isCommand_Command
func (*Command) GetKeepAlive ¶
func (x *Command) GetKeepAlive() *KeepAliveCommand
func (*Command) GetSetPipelines ¶ added in v0.1.17
func (x *Command) GetSetPipelines() *SetPipelinesCommand
func (*Command) GetTail ¶
func (x *Command) GetTail() *TailCommand
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Command_KeepAlive ¶
type Command_KeepAlive struct { // Server sends this periodically to SDKs to keep the connection alive KeepAlive *KeepAliveCommand `protobuf:"bytes,101,opt,name=keep_alive,json=keepAlive,proto3,oneof"` }
type Command_Kv ¶
type Command_Kv struct { // Server will emit this when a user makes changes to the KV store // via the KV HTTP API. Kv *KVCommand `protobuf:"bytes,102,opt,name=kv,proto3,oneof"` }
type Command_SetPipelines ¶ added in v0.1.17
type Command_SetPipelines struct { // Emitted by server when a user makes a pause, resume, delete or update // pipeline and set pipelines external grpc API call. // NOTE: This was introduced during ordered pipeline updates. SetPipelines *SetPipelinesCommand `protobuf:"bytes,100,opt,name=set_pipelines,json=setPipelines,proto3,oneof"` }
type Command_Tail ¶
type Command_Tail struct { // Emitted by server when a user makes a Tail() call // Consumed by all server instances and by SDKs Tail *TailCommand `protobuf:"bytes,103,opt,name=tail,proto3,oneof"` }
type Config ¶ added in v0.1.40
type Config struct { Audiences []*Audience `protobuf:"bytes,1,rep,name=audiences,proto3" json:"audiences,omitempty"` Pipelines []*Pipeline `protobuf:"bytes,2,rep,name=pipelines,proto3" json:"pipelines,omitempty"` Notifications []*NotificationConfig `protobuf:"bytes,3,rep,name=notifications,proto3" json:"notifications,omitempty"` WasmModules []*shared.WasmModule `protobuf:"bytes,4,rep,name=wasm_modules,json=wasmModules,proto3" json:"wasm_modules,omitempty"` AudienceMappings map[string]*PipelineConfigs `` // key == audience as string /* 197-byte string literal not displayed */ // contains filtered or unexported fields }
Config is returned by external.GetConfig() and is used by the K8S operator
func (*Config) Descriptor
deprecated
added in
v0.1.40
func (*Config) GetAudienceMappings ¶ added in v0.1.41
func (x *Config) GetAudienceMappings() map[string]*PipelineConfigs
func (*Config) GetAudiences ¶ added in v0.1.40
func (*Config) GetNotifications ¶ added in v0.1.40
func (x *Config) GetNotifications() []*NotificationConfig
func (*Config) GetPipelines ¶ added in v0.1.40
func (*Config) GetWasmModules ¶ added in v0.1.40
func (x *Config) GetWasmModules() []*shared.WasmModule
func (*Config) ProtoMessage ¶ added in v0.1.40
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.1.40
func (x *Config) ProtoReflect() protoreflect.Message
type CreateAudienceRequest ¶ added in v0.1.31
type CreateAudienceRequest struct { Audience *Audience `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*CreateAudienceRequest) Descriptor
deprecated
added in
v0.1.31
func (*CreateAudienceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAudienceRequest.ProtoReflect.Descriptor instead.
func (*CreateAudienceRequest) GetAudience ¶ added in v0.1.31
func (x *CreateAudienceRequest) GetAudience() *Audience
func (*CreateAudienceRequest) ProtoMessage ¶ added in v0.1.31
func (*CreateAudienceRequest) ProtoMessage()
func (*CreateAudienceRequest) ProtoReflect ¶ added in v0.1.31
func (x *CreateAudienceRequest) ProtoReflect() protoreflect.Message
func (*CreateAudienceRequest) Reset ¶ added in v0.1.31
func (x *CreateAudienceRequest) Reset()
func (*CreateAudienceRequest) String ¶ added in v0.1.31
func (x *CreateAudienceRequest) String() string
type CreateNotificationRequest ¶
type CreateNotificationRequest struct { Notification *NotificationConfig `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
Notifications
func (*CreateNotificationRequest) Descriptor
deprecated
func (*CreateNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotificationRequest.ProtoReflect.Descriptor instead.
func (*CreateNotificationRequest) GetNotification ¶
func (x *CreateNotificationRequest) GetNotification() *NotificationConfig
func (*CreateNotificationRequest) ProtoMessage ¶
func (*CreateNotificationRequest) ProtoMessage()
func (*CreateNotificationRequest) ProtoReflect ¶
func (x *CreateNotificationRequest) ProtoReflect() protoreflect.Message
func (*CreateNotificationRequest) Reset ¶
func (x *CreateNotificationRequest) Reset()
func (*CreateNotificationRequest) String ¶
func (x *CreateNotificationRequest) String() string
type CreateNotificationResponse ¶ added in v0.1.30
type CreateNotificationResponse struct { Notification *NotificationConfig `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*CreateNotificationResponse) Descriptor
deprecated
added in
v0.1.30
func (*CreateNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNotificationResponse.ProtoReflect.Descriptor instead.
func (*CreateNotificationResponse) GetNotification ¶ added in v0.1.30
func (x *CreateNotificationResponse) GetNotification() *NotificationConfig
func (*CreateNotificationResponse) ProtoMessage ¶ added in v0.1.30
func (*CreateNotificationResponse) ProtoMessage()
func (*CreateNotificationResponse) ProtoReflect ¶ added in v0.1.30
func (x *CreateNotificationResponse) ProtoReflect() protoreflect.Message
func (*CreateNotificationResponse) Reset ¶ added in v0.1.30
func (x *CreateNotificationResponse) Reset()
func (*CreateNotificationResponse) String ¶ added in v0.1.30
func (x *CreateNotificationResponse) String() string
type CreatePipelineRequest ¶
type CreatePipelineRequest struct { Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` PipelineJson []byte `protobuf:"bytes,2,opt,name=pipeline_json,json=pipelineJson,proto3,oneof" json:"pipeline_json,omitempty"` // contains filtered or unexported fields }
Create a new pipeline; accepts either pipeline object or pipeline as JSON bytes
func (*CreatePipelineRequest) Descriptor
deprecated
func (*CreatePipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePipelineRequest.ProtoReflect.Descriptor instead.
func (*CreatePipelineRequest) GetPipeline ¶
func (x *CreatePipelineRequest) GetPipeline() *Pipeline
func (*CreatePipelineRequest) GetPipelineJson ¶ added in v0.1.37
func (x *CreatePipelineRequest) GetPipelineJson() []byte
func (*CreatePipelineRequest) ProtoMessage ¶
func (*CreatePipelineRequest) ProtoMessage()
func (*CreatePipelineRequest) ProtoReflect ¶
func (x *CreatePipelineRequest) ProtoReflect() protoreflect.Message
func (*CreatePipelineRequest) Reset ¶
func (x *CreatePipelineRequest) Reset()
func (*CreatePipelineRequest) String ¶
func (x *CreatePipelineRequest) String() string
type CreatePipelineResponse ¶
type CreatePipelineResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` PipelineId string `protobuf:"bytes,2,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // contains filtered or unexported fields }
func (*CreatePipelineResponse) Descriptor
deprecated
func (*CreatePipelineResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePipelineResponse.ProtoReflect.Descriptor instead.
func (*CreatePipelineResponse) GetMessage ¶
func (x *CreatePipelineResponse) GetMessage() string
func (*CreatePipelineResponse) GetPipelineId ¶
func (x *CreatePipelineResponse) GetPipelineId() string
func (*CreatePipelineResponse) ProtoMessage ¶
func (*CreatePipelineResponse) ProtoMessage()
func (*CreatePipelineResponse) ProtoReflect ¶
func (x *CreatePipelineResponse) ProtoReflect() protoreflect.Message
func (*CreatePipelineResponse) Reset ¶
func (x *CreatePipelineResponse) Reset()
func (*CreatePipelineResponse) String ¶
func (x *CreatePipelineResponse) String() string
type CreateWasmRequest ¶ added in v0.1.37
type CreateWasmRequest struct { Wasm *shared.WasmModule `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` // contains filtered or unexported fields }
func (*CreateWasmRequest) Descriptor
deprecated
added in
v0.1.37
func (*CreateWasmRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWasmRequest.ProtoReflect.Descriptor instead.
func (*CreateWasmRequest) GetWasm ¶ added in v0.1.37
func (x *CreateWasmRequest) GetWasm() *shared.WasmModule
func (*CreateWasmRequest) ProtoMessage ¶ added in v0.1.37
func (*CreateWasmRequest) ProtoMessage()
func (*CreateWasmRequest) ProtoReflect ¶ added in v0.1.37
func (x *CreateWasmRequest) ProtoReflect() protoreflect.Message
func (*CreateWasmRequest) Reset ¶ added in v0.1.37
func (x *CreateWasmRequest) Reset()
func (*CreateWasmRequest) String ¶ added in v0.1.37
func (x *CreateWasmRequest) String() string
type CreateWasmResponse ¶ added in v0.1.37
type CreateWasmResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateWasmResponse) Descriptor
deprecated
added in
v0.1.37
func (*CreateWasmResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWasmResponse.ProtoReflect.Descriptor instead.
func (*CreateWasmResponse) GetId ¶ added in v0.1.37
func (x *CreateWasmResponse) GetId() string
func (*CreateWasmResponse) GetMessage ¶ added in v0.1.37
func (x *CreateWasmResponse) GetMessage() string
func (*CreateWasmResponse) ProtoMessage ¶ added in v0.1.37
func (*CreateWasmResponse) ProtoMessage()
func (*CreateWasmResponse) ProtoReflect ¶ added in v0.1.37
func (x *CreateWasmResponse) ProtoReflect() protoreflect.Message
func (*CreateWasmResponse) Reset ¶ added in v0.1.37
func (x *CreateWasmResponse) Reset()
func (*CreateWasmResponse) String ¶ added in v0.1.37
func (x *CreateWasmResponse) String() string
type DeleteAudienceRequest ¶
type DeleteAudienceRequest struct { Audience *Audience `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` // If true, will also detach all pipelines from the audience (if it has any) Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteAudienceRequest) Descriptor
deprecated
func (*DeleteAudienceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAudienceRequest.ProtoReflect.Descriptor instead.
func (*DeleteAudienceRequest) GetAudience ¶
func (x *DeleteAudienceRequest) GetAudience() *Audience
func (*DeleteAudienceRequest) GetForce ¶
func (x *DeleteAudienceRequest) GetForce() bool
func (*DeleteAudienceRequest) ProtoMessage ¶
func (*DeleteAudienceRequest) ProtoMessage()
func (*DeleteAudienceRequest) ProtoReflect ¶
func (x *DeleteAudienceRequest) ProtoReflect() protoreflect.Message
func (*DeleteAudienceRequest) Reset ¶
func (x *DeleteAudienceRequest) Reset()
func (*DeleteAudienceRequest) String ¶
func (x *DeleteAudienceRequest) String() string
type DeleteNotificationRequest ¶
type DeleteNotificationRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteNotificationRequest) Descriptor
deprecated
func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotificationRequest) GetNotificationId ¶
func (x *DeleteNotificationRequest) GetNotificationId() string
func (*DeleteNotificationRequest) ProtoMessage ¶
func (*DeleteNotificationRequest) ProtoMessage()
func (*DeleteNotificationRequest) ProtoReflect ¶
func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotificationRequest) Reset ¶
func (x *DeleteNotificationRequest) Reset()
func (*DeleteNotificationRequest) String ¶
func (x *DeleteNotificationRequest) String() string
type DeletePipelineRequest ¶
type DeletePipelineRequest struct { PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // This field is for internal usage only by the server. It is used to indicate // to the bus handler who this pipeline was used by so the handler can decide // who we need to emit a SetPipelines cmd to. XAudiences []*Audience `protobuf:"bytes,1000,rep,name=_audiences,json=Audiences,proto3" json:"_audiences,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*DeletePipelineRequest) Descriptor
deprecated
func (*DeletePipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePipelineRequest.ProtoReflect.Descriptor instead.
func (*DeletePipelineRequest) GetPipelineId ¶
func (x *DeletePipelineRequest) GetPipelineId() string
func (*DeletePipelineRequest) GetXAudiences ¶ added in v0.1.25
func (x *DeletePipelineRequest) GetXAudiences() []*Audience
func (*DeletePipelineRequest) ProtoMessage ¶
func (*DeletePipelineRequest) ProtoMessage()
func (*DeletePipelineRequest) ProtoReflect ¶
func (x *DeletePipelineRequest) ProtoReflect() protoreflect.Message
func (*DeletePipelineRequest) Reset ¶
func (x *DeletePipelineRequest) Reset()
func (*DeletePipelineRequest) String ¶
func (x *DeletePipelineRequest) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Force *bool `protobuf:"varint,2,opt,name=force,proto3,oneof" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteServiceRequest) Descriptor
deprecated
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetForce ¶
func (x *DeleteServiceRequest) GetForce() bool
func (*DeleteServiceRequest) GetServiceName ¶
func (x *DeleteServiceRequest) GetServiceName() string
func (*DeleteServiceRequest) ProtoMessage ¶
func (*DeleteServiceRequest) ProtoMessage()
func (*DeleteServiceRequest) ProtoReflect ¶
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteServiceRequest) Reset ¶
func (x *DeleteServiceRequest) Reset()
func (*DeleteServiceRequest) String ¶
func (x *DeleteServiceRequest) String() string
type DeleteWasmRequest ¶ added in v0.1.37
type DeleteWasmRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteWasmRequest) Descriptor
deprecated
added in
v0.1.37
func (*DeleteWasmRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWasmRequest.ProtoReflect.Descriptor instead.
func (*DeleteWasmRequest) GetIds ¶ added in v0.1.37
func (x *DeleteWasmRequest) GetIds() []string
func (*DeleteWasmRequest) ProtoMessage ¶ added in v0.1.37
func (*DeleteWasmRequest) ProtoMessage()
func (*DeleteWasmRequest) ProtoReflect ¶ added in v0.1.37
func (x *DeleteWasmRequest) ProtoReflect() protoreflect.Message
func (*DeleteWasmRequest) Reset ¶ added in v0.1.37
func (x *DeleteWasmRequest) Reset()
func (*DeleteWasmRequest) String ¶ added in v0.1.37
func (x *DeleteWasmRequest) String() string
type DeregisterRequest ¶
type DeregisterRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
Same as RegisterRequest - used for broadcasting a deregistration event
func (*DeregisterRequest) Descriptor
deprecated
func (*DeregisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterRequest.ProtoReflect.Descriptor instead.
func (*DeregisterRequest) GetServiceName ¶
func (x *DeregisterRequest) GetServiceName() string
func (*DeregisterRequest) GetSessionId ¶
func (x *DeregisterRequest) GetSessionId() string
func (*DeregisterRequest) ProtoMessage ¶
func (*DeregisterRequest) ProtoMessage()
func (*DeregisterRequest) ProtoReflect ¶
func (x *DeregisterRequest) ProtoReflect() protoreflect.Message
func (*DeregisterRequest) Reset ¶
func (x *DeregisterRequest) Reset()
func (*DeregisterRequest) String ¶
func (x *DeregisterRequest) String() string
type DetachNotificationRequest
deprecated
type DetachNotificationRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` PipelineId string `protobuf:"bytes,2,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in sp_external.proto.
func (*DetachNotificationRequest) Descriptor
deprecated
func (*DetachNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachNotificationRequest.ProtoReflect.Descriptor instead.
func (*DetachNotificationRequest) GetNotificationId ¶
func (x *DetachNotificationRequest) GetNotificationId() string
func (*DetachNotificationRequest) GetPipelineId ¶
func (x *DetachNotificationRequest) GetPipelineId() string
func (*DetachNotificationRequest) ProtoMessage ¶
func (*DetachNotificationRequest) ProtoMessage()
func (*DetachNotificationRequest) ProtoReflect ¶
func (x *DetachNotificationRequest) ProtoReflect() protoreflect.Message
func (*DetachNotificationRequest) Reset ¶
func (x *DetachNotificationRequest) Reset()
func (*DetachNotificationRequest) String ¶
func (x *DetachNotificationRequest) String() string
type ExecStatus ¶ added in v0.1.16
type ExecStatus int32
const ( // Unset status. This should never be returned by the SDK. If it does, it is // probably a bug (and you should file an issue) ExecStatus_EXEC_STATUS_UNSET ExecStatus = 0 // Indicates that the step execution evaluated to "true" ExecStatus_EXEC_STATUS_TRUE ExecStatus = 1 // Indicates that the step execution evaluated to "false" ExecStatus_EXEC_STATUS_FALSE ExecStatus = 2 // Indicates that the SDK encountered an error while trying to process the // request. Example error cases: SDK can't find the appropriate Wasm module, // Wasm function cannot alloc or dealloc memory, etc. ExecStatus_EXEC_STATUS_ERROR ExecStatus = 3 // Indicates that the SDK was configured to operate in async mode. // Step execution will occur asynchronously in a background worker-group. ExecStatus_EXEC_STATUS_ASYNC ExecStatus = 4 // Indicates that the SDK was configured to operate in sampling mode. // Step execution was skipped for this request due to configured sampling rate. // // If this status is set, you can safely ignore the rest of the response as // the execution for this request was skipped due to being sampled out. // // Non-sampled messages will have TRUE/FALSE/ERROR status set as any other // non-sampled message. ExecStatus_EXEC_STATUS_SAMPLING ExecStatus = 5 )
func (ExecStatus) Descriptor ¶ added in v0.1.16
func (ExecStatus) Descriptor() protoreflect.EnumDescriptor
func (ExecStatus) Enum ¶ added in v0.1.16
func (x ExecStatus) Enum() *ExecStatus
func (ExecStatus) EnumDescriptor
deprecated
added in
v0.1.16
func (ExecStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecStatus.Descriptor instead.
func (ExecStatus) Number ¶ added in v0.1.16
func (x ExecStatus) Number() protoreflect.EnumNumber
func (ExecStatus) String ¶ added in v0.1.16
func (x ExecStatus) String() string
func (ExecStatus) Type ¶ added in v0.1.16
func (ExecStatus) Type() protoreflect.EnumType
type ExternalClient ¶
type ExternalClient interface { // Returns all data needed for UI; called on initial console load GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (*GetAllResponse, error) // Returns the current _full_ configuration of the server GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) // Used by console to stream updates to UI; called after initial GetAll() GetAllStream(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (External_GetAllStreamClient, error) // Returns pipelines (_wasm_bytes field is stripped) GetPipelines(ctx context.Context, in *GetPipelinesRequest, opts ...grpc.CallOption) (*GetPipelinesResponse, error) // Returns a single pipeline (_wasm_bytes field is stripped) GetPipeline(ctx context.Context, in *GetPipelineRequest, opts ...grpc.CallOption) (*GetPipelineResponse, error) // Create a new pipeline; id must be left empty on create CreatePipeline(ctx context.Context, in *CreatePipelineRequest, opts ...grpc.CallOption) (*CreatePipelineResponse, error) // Update an existing pipeline; id must be set UpdatePipeline(ctx context.Context, in *UpdatePipelineRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Delete a pipeline DeletePipeline(ctx context.Context, in *DeletePipelineRequest, opts ...grpc.CallOption) (*StandardResponse, error) SetPipelines(ctx context.Context, in *SetPipelinesRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Pause a pipeline; noop if pipeline is already paused PausePipeline(ctx context.Context, in *PausePipelineRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Resume a pipeline; noop if pipeline is not paused ResumePipeline(ctx context.Context, in *ResumePipelineRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Create a new notification config CreateNotification(ctx context.Context, in *CreateNotificationRequest, opts ...grpc.CallOption) (*CreateNotificationResponse, error) // Update an existing notification config UpdateNotification(ctx context.Context, in *UpdateNotificationRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Delete a notification config DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Returns all notification configs GetNotifications(ctx context.Context, in *GetNotificationsRequest, opts ...grpc.CallOption) (*GetNotificationsResponse, error) // Returns a single notification config GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*GetNotificationResponse, error) // Deprecated: Do not use. // Attach a notification config to a pipeline AttachNotification(ctx context.Context, in *AttachNotificationRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Deprecated: Do not use. // Detach a notification config from a pipeline DetachNotification(ctx context.Context, in *DetachNotificationRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Create an audience. Used for automation tooling (terraform, k8s cr's) CreateAudience(ctx context.Context, in *CreateAudienceRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Delete an audience DeleteAudience(ctx context.Context, in *DeleteAudienceRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Delete a service and all associated audiences DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Returns all metric counters GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (External_GetMetricsClient, error) Tail(ctx context.Context, in *TailRequest, opts ...grpc.CallOption) (External_TailClient, error) PauseTail(ctx context.Context, in *PauseTailRequest, opts ...grpc.CallOption) (*StandardResponse, error) ResumeTail(ctx context.Context, in *ResumeTailRequest, opts ...grpc.CallOption) (*StandardResponse, error) GetAudienceRates(ctx context.Context, in *GetAudienceRatesRequest, opts ...grpc.CallOption) (External_GetAudienceRatesClient, error) GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error) AppRegistrationStatus(ctx context.Context, in *AppRegistrationStatusRequest, opts ...grpc.CallOption) (*AppRegistrationStatusResponse, error) AppRegister(ctx context.Context, in *AppRegistrationRequest, opts ...grpc.CallOption) (*StandardResponse, error) AppVerifyRegistration(ctx context.Context, in *AppVerifyRegistrationRequest, opts ...grpc.CallOption) (*StandardResponse, error) AppRegisterReject(ctx context.Context, in *AppRegisterRejectRequest, opts ...grpc.CallOption) (*StandardResponse, error) // BEGIN Wasm methods GetWasm(ctx context.Context, in *GetWasmRequest, opts ...grpc.CallOption) (*GetWasmResponse, error) GetAllWasm(ctx context.Context, in *GetAllWasmRequest, opts ...grpc.CallOption) (*GetAllWasmResponse, error) CreateWasm(ctx context.Context, in *CreateWasmRequest, opts ...grpc.CallOption) (*CreateWasmResponse, error) UpdateWasm(ctx context.Context, in *UpdateWasmRequest, opts ...grpc.CallOption) (*StandardResponse, error) DeleteWasm(ctx context.Context, in *DeleteWasmRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Test method Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) }
ExternalClient is the client API for External service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExternalClient ¶
func NewExternalClient(cc grpc.ClientConnInterface) ExternalClient
type ExternalServer ¶
type ExternalServer interface { // Returns all data needed for UI; called on initial console load GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error) // Returns the current _full_ configuration of the server GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error) // Used by console to stream updates to UI; called after initial GetAll() GetAllStream(*GetAllRequest, External_GetAllStreamServer) error // Returns pipelines (_wasm_bytes field is stripped) GetPipelines(context.Context, *GetPipelinesRequest) (*GetPipelinesResponse, error) // Returns a single pipeline (_wasm_bytes field is stripped) GetPipeline(context.Context, *GetPipelineRequest) (*GetPipelineResponse, error) // Create a new pipeline; id must be left empty on create CreatePipeline(context.Context, *CreatePipelineRequest) (*CreatePipelineResponse, error) // Update an existing pipeline; id must be set UpdatePipeline(context.Context, *UpdatePipelineRequest) (*StandardResponse, error) // Delete a pipeline DeletePipeline(context.Context, *DeletePipelineRequest) (*StandardResponse, error) SetPipelines(context.Context, *SetPipelinesRequest) (*StandardResponse, error) // Pause a pipeline; noop if pipeline is already paused PausePipeline(context.Context, *PausePipelineRequest) (*StandardResponse, error) // Resume a pipeline; noop if pipeline is not paused ResumePipeline(context.Context, *ResumePipelineRequest) (*StandardResponse, error) // Create a new notification config CreateNotification(context.Context, *CreateNotificationRequest) (*CreateNotificationResponse, error) // Update an existing notification config UpdateNotification(context.Context, *UpdateNotificationRequest) (*StandardResponse, error) // Delete a notification config DeleteNotification(context.Context, *DeleteNotificationRequest) (*StandardResponse, error) // Returns all notification configs GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error) // Returns a single notification config GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationResponse, error) // Deprecated: Do not use. // Attach a notification config to a pipeline AttachNotification(context.Context, *AttachNotificationRequest) (*StandardResponse, error) // Deprecated: Do not use. // Detach a notification config from a pipeline DetachNotification(context.Context, *DetachNotificationRequest) (*StandardResponse, error) // Create an audience. Used for automation tooling (terraform, k8s cr's) CreateAudience(context.Context, *CreateAudienceRequest) (*StandardResponse, error) // Delete an audience DeleteAudience(context.Context, *DeleteAudienceRequest) (*StandardResponse, error) // Delete a service and all associated audiences DeleteService(context.Context, *DeleteServiceRequest) (*StandardResponse, error) // Returns all metric counters GetMetrics(*GetMetricsRequest, External_GetMetricsServer) error Tail(*TailRequest, External_TailServer) error PauseTail(context.Context, *PauseTailRequest) (*StandardResponse, error) ResumeTail(context.Context, *ResumeTailRequest) (*StandardResponse, error) GetAudienceRates(*GetAudienceRatesRequest, External_GetAudienceRatesServer) error GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error) AppRegistrationStatus(context.Context, *AppRegistrationStatusRequest) (*AppRegistrationStatusResponse, error) AppRegister(context.Context, *AppRegistrationRequest) (*StandardResponse, error) AppVerifyRegistration(context.Context, *AppVerifyRegistrationRequest) (*StandardResponse, error) AppRegisterReject(context.Context, *AppRegisterRejectRequest) (*StandardResponse, error) // BEGIN Wasm methods GetWasm(context.Context, *GetWasmRequest) (*GetWasmResponse, error) GetAllWasm(context.Context, *GetAllWasmRequest) (*GetAllWasmResponse, error) CreateWasm(context.Context, *CreateWasmRequest) (*CreateWasmResponse, error) UpdateWasm(context.Context, *UpdateWasmRequest) (*StandardResponse, error) DeleteWasm(context.Context, *DeleteWasmRequest) (*StandardResponse, error) // Test method Test(context.Context, *TestRequest) (*TestResponse, error) // contains filtered or unexported methods }
ExternalServer is the server API for External service. All implementations must embed UnimplementedExternalServer for forward compatibility
type External_GetAllStreamClient ¶
type External_GetAllStreamClient interface { Recv() (*GetAllResponse, error) grpc.ClientStream }
type External_GetAllStreamServer ¶
type External_GetAllStreamServer interface { Send(*GetAllResponse) error grpc.ServerStream }
type External_GetAudienceRatesClient ¶
type External_GetAudienceRatesClient interface { Recv() (*GetAudienceRatesResponse, error) grpc.ClientStream }
type External_GetAudienceRatesServer ¶
type External_GetAudienceRatesServer interface { Send(*GetAudienceRatesResponse) error grpc.ServerStream }
type External_GetMetricsClient ¶
type External_GetMetricsClient interface { Recv() (*GetMetricsResponse, error) grpc.ClientStream }
type External_GetMetricsServer ¶
type External_GetMetricsServer interface { Send(*GetMetricsResponse) error grpc.ServerStream }
type External_TailClient ¶
type External_TailClient interface { Recv() (*TailResponse, error) grpc.ClientStream }
type External_TailServer ¶
type External_TailServer interface { Send(*TailResponse) error grpc.ServerStream }
type GetAllRequest ¶
type GetAllRequest struct {
// contains filtered or unexported fields
}
func (*GetAllRequest) Descriptor
deprecated
func (*GetAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.
func (*GetAllRequest) ProtoMessage ¶
func (*GetAllRequest) ProtoMessage()
func (*GetAllRequest) ProtoReflect ¶
func (x *GetAllRequest) ProtoReflect() protoreflect.Message
func (*GetAllRequest) Reset ¶
func (x *GetAllRequest) Reset()
func (*GetAllRequest) String ¶
func (x *GetAllRequest) String() string
type GetAllResponse ¶
type GetAllResponse struct { // Clients currently connected to the server Live []*LiveInfo `protobuf:"bytes,1,rep,name=live,proto3" json:"live,omitempty"` // All of the audiences that are known to the server Audiences []*Audience `protobuf:"bytes,2,rep,name=audiences,proto3" json:"audiences,omitempty"` // All of the pipelines known to the server + pipeline <-> audience mappings // key == pipeline_id; if "Audience" is not filled out - pipeline is not attached // to any audience. Pipelines map[string]*PipelineInfo `` /* 159-byte string literal not displayed */ // Audience to pipeline mapping config; key == $audience_as_string Configs map[string]*PipelineConfigs `` /* 155-byte string literal not displayed */ // When was this response generated. This is useful for determining what is // the latest update when using GetAllStream(). GeneratedAtUnixTsNsUtc int64 `` /* 138-byte string literal not displayed */ // Set by server to indicate that the response is a keepalive message XKeepalive *bool `protobuf:"varint,1000,opt,name=_keepalive,json=Keepalive,proto3,oneof" json:"_keepalive,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*GetAllResponse) Descriptor
deprecated
func (*GetAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllResponse.ProtoReflect.Descriptor instead.
func (*GetAllResponse) GetAudiences ¶
func (x *GetAllResponse) GetAudiences() []*Audience
func (*GetAllResponse) GetConfigs ¶ added in v0.1.18
func (x *GetAllResponse) GetConfigs() map[string]*PipelineConfigs
func (*GetAllResponse) GetGeneratedAtUnixTsNsUtc ¶
func (x *GetAllResponse) GetGeneratedAtUnixTsNsUtc() int64
func (*GetAllResponse) GetLive ¶
func (x *GetAllResponse) GetLive() []*LiveInfo
func (*GetAllResponse) GetPipelines ¶
func (x *GetAllResponse) GetPipelines() map[string]*PipelineInfo
func (*GetAllResponse) GetXKeepalive ¶
func (x *GetAllResponse) GetXKeepalive() bool
func (*GetAllResponse) ProtoMessage ¶
func (*GetAllResponse) ProtoMessage()
func (*GetAllResponse) ProtoReflect ¶
func (x *GetAllResponse) ProtoReflect() protoreflect.Message
func (*GetAllResponse) Reset ¶
func (x *GetAllResponse) Reset()
func (*GetAllResponse) String ¶
func (x *GetAllResponse) String() string
type GetAllWasmRequest ¶ added in v0.1.37
type GetAllWasmRequest struct {
// contains filtered or unexported fields
}
func (*GetAllWasmRequest) Descriptor
deprecated
added in
v0.1.37
func (*GetAllWasmRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllWasmRequest.ProtoReflect.Descriptor instead.
func (*GetAllWasmRequest) ProtoMessage ¶ added in v0.1.37
func (*GetAllWasmRequest) ProtoMessage()
func (*GetAllWasmRequest) ProtoReflect ¶ added in v0.1.37
func (x *GetAllWasmRequest) ProtoReflect() protoreflect.Message
func (*GetAllWasmRequest) Reset ¶ added in v0.1.37
func (x *GetAllWasmRequest) Reset()
func (*GetAllWasmRequest) String ¶ added in v0.1.37
func (x *GetAllWasmRequest) String() string
type GetAllWasmResponse ¶ added in v0.1.37
type GetAllWasmResponse struct { Wasm []*shared.WasmModule `protobuf:"bytes,1,rep,name=wasm,proto3" json:"wasm,omitempty"` // contains filtered or unexported fields }
func (*GetAllWasmResponse) Descriptor
deprecated
added in
v0.1.37
func (*GetAllWasmResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllWasmResponse.ProtoReflect.Descriptor instead.
func (*GetAllWasmResponse) GetWasm ¶ added in v0.1.37
func (x *GetAllWasmResponse) GetWasm() []*shared.WasmModule
func (*GetAllWasmResponse) ProtoMessage ¶ added in v0.1.37
func (*GetAllWasmResponse) ProtoMessage()
func (*GetAllWasmResponse) ProtoReflect ¶ added in v0.1.37
func (x *GetAllWasmResponse) ProtoReflect() protoreflect.Message
func (*GetAllWasmResponse) Reset ¶ added in v0.1.37
func (x *GetAllWasmResponse) Reset()
func (*GetAllWasmResponse) String ¶ added in v0.1.37
func (x *GetAllWasmResponse) String() string
type GetAudienceRatesRequest ¶
type GetAudienceRatesRequest struct {
// contains filtered or unexported fields
}
func (*GetAudienceRatesRequest) Descriptor
deprecated
func (*GetAudienceRatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAudienceRatesRequest.ProtoReflect.Descriptor instead.
func (*GetAudienceRatesRequest) ProtoMessage ¶
func (*GetAudienceRatesRequest) ProtoMessage()
func (*GetAudienceRatesRequest) ProtoReflect ¶
func (x *GetAudienceRatesRequest) ProtoReflect() protoreflect.Message
func (*GetAudienceRatesRequest) Reset ¶
func (x *GetAudienceRatesRequest) Reset()
func (*GetAudienceRatesRequest) String ¶
func (x *GetAudienceRatesRequest) String() string
type GetAudienceRatesResponse ¶
type GetAudienceRatesResponse struct { Rates map[string]*AudienceRate `` // Key is an audience string /* 151-byte string literal not displayed */ // Set by server to indicate that the response is a keepalive message XKeepalive *bool `protobuf:"varint,1000,opt,name=_keepalive,json=Keepalive,proto3,oneof" json:"_keepalive,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*GetAudienceRatesResponse) Descriptor
deprecated
func (*GetAudienceRatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAudienceRatesResponse.ProtoReflect.Descriptor instead.
func (*GetAudienceRatesResponse) GetRates ¶
func (x *GetAudienceRatesResponse) GetRates() map[string]*AudienceRate
func (*GetAudienceRatesResponse) GetXKeepalive ¶
func (x *GetAudienceRatesResponse) GetXKeepalive() bool
func (*GetAudienceRatesResponse) ProtoMessage ¶
func (*GetAudienceRatesResponse) ProtoMessage()
func (*GetAudienceRatesResponse) ProtoReflect ¶
func (x *GetAudienceRatesResponse) ProtoReflect() protoreflect.Message
func (*GetAudienceRatesResponse) Reset ¶
func (x *GetAudienceRatesResponse) Reset()
func (*GetAudienceRatesResponse) String ¶
func (x *GetAudienceRatesResponse) String() string
type GetConfigRequest ¶ added in v0.1.40
type GetConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigRequest) Descriptor
deprecated
added in
v0.1.40
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) ProtoMessage ¶ added in v0.1.40
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶ added in v0.1.40
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶ added in v0.1.40
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶ added in v0.1.40
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶ added in v0.1.40
type GetConfigResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetConfigResponse) Descriptor
deprecated
added in
v0.1.40
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetConfig ¶ added in v0.1.40
func (x *GetConfigResponse) GetConfig() *Config
func (*GetConfigResponse) ProtoMessage ¶ added in v0.1.40
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶ added in v0.1.40
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶ added in v0.1.40
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶ added in v0.1.40
func (x *GetConfigResponse) String() string
type GetMetricsRequest ¶
type GetMetricsRequest struct {
// contains filtered or unexported fields
}
func (*GetMetricsRequest) Descriptor
deprecated
func (*GetMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsRequest.ProtoReflect.Descriptor instead.
func (*GetMetricsRequest) ProtoMessage ¶
func (*GetMetricsRequest) ProtoMessage()
func (*GetMetricsRequest) ProtoReflect ¶
func (x *GetMetricsRequest) ProtoReflect() protoreflect.Message
func (*GetMetricsRequest) Reset ¶
func (x *GetMetricsRequest) Reset()
func (*GetMetricsRequest) String ¶
func (x *GetMetricsRequest) String() string
type GetMetricsResponse ¶
type GetMetricsResponse struct { Metrics map[string]*Metric `` /* 155-byte string literal not displayed */ // Set by server to indicate that the response is a keepalive message XKeepalive *bool `protobuf:"varint,1000,opt,name=_keepalive,json=Keepalive,proto3,oneof" json:"_keepalive,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*GetMetricsResponse) Descriptor
deprecated
func (*GetMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsResponse.ProtoReflect.Descriptor instead.
func (*GetMetricsResponse) GetMetrics ¶
func (x *GetMetricsResponse) GetMetrics() map[string]*Metric
func (*GetMetricsResponse) GetXKeepalive ¶
func (x *GetMetricsResponse) GetXKeepalive() bool
func (*GetMetricsResponse) ProtoMessage ¶
func (*GetMetricsResponse) ProtoMessage()
func (*GetMetricsResponse) ProtoReflect ¶
func (x *GetMetricsResponse) ProtoReflect() protoreflect.Message
func (*GetMetricsResponse) Reset ¶
func (x *GetMetricsResponse) Reset()
func (*GetMetricsResponse) String ¶
func (x *GetMetricsResponse) String() string
type GetNotificationRequest ¶
type GetNotificationRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationRequest) Descriptor
deprecated
func (*GetNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationRequest) GetNotificationId ¶
func (x *GetNotificationRequest) GetNotificationId() string
func (*GetNotificationRequest) ProtoMessage ¶
func (*GetNotificationRequest) ProtoMessage()
func (*GetNotificationRequest) ProtoReflect ¶
func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationRequest) Reset ¶
func (x *GetNotificationRequest) Reset()
func (*GetNotificationRequest) String ¶
func (x *GetNotificationRequest) String() string
type GetNotificationResponse ¶
type GetNotificationResponse struct { Notification *NotificationConfig `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationResponse) Descriptor
deprecated
func (*GetNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationResponse.ProtoReflect.Descriptor instead.
func (*GetNotificationResponse) GetNotification ¶
func (x *GetNotificationResponse) GetNotification() *NotificationConfig
func (*GetNotificationResponse) ProtoMessage ¶
func (*GetNotificationResponse) ProtoMessage()
func (*GetNotificationResponse) ProtoReflect ¶
func (x *GetNotificationResponse) ProtoReflect() protoreflect.Message
func (*GetNotificationResponse) Reset ¶
func (x *GetNotificationResponse) Reset()
func (*GetNotificationResponse) String ¶
func (x *GetNotificationResponse) String() string
type GetNotificationsRequest ¶
type GetNotificationsRequest struct {
// contains filtered or unexported fields
}
func (*GetNotificationsRequest) Descriptor
deprecated
func (*GetNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationsRequest) ProtoMessage ¶
func (*GetNotificationsRequest) ProtoMessage()
func (*GetNotificationsRequest) ProtoReflect ¶
func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationsRequest) Reset ¶
func (x *GetNotificationsRequest) Reset()
func (*GetNotificationsRequest) String ¶
func (x *GetNotificationsRequest) String() string
type GetNotificationsResponse ¶
type GetNotificationsResponse struct { // Key == id of the notification config Notifications map[string]*NotificationConfig `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetNotificationsResponse) Descriptor
deprecated
func (*GetNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationsResponse.ProtoReflect.Descriptor instead.
func (*GetNotificationsResponse) GetNotifications ¶
func (x *GetNotificationsResponse) GetNotifications() map[string]*NotificationConfig
func (*GetNotificationsResponse) ProtoMessage ¶
func (*GetNotificationsResponse) ProtoMessage()
func (*GetNotificationsResponse) ProtoReflect ¶
func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetNotificationsResponse) Reset ¶
func (x *GetNotificationsResponse) Reset()
func (*GetNotificationsResponse) String ¶
func (x *GetNotificationsResponse) String() string
type GetPipelineRequest ¶
type GetPipelineRequest struct { PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // contains filtered or unexported fields }
func (*GetPipelineRequest) Descriptor
deprecated
func (*GetPipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPipelineRequest.ProtoReflect.Descriptor instead.
func (*GetPipelineRequest) GetPipelineId ¶
func (x *GetPipelineRequest) GetPipelineId() string
func (*GetPipelineRequest) ProtoMessage ¶
func (*GetPipelineRequest) ProtoMessage()
func (*GetPipelineRequest) ProtoReflect ¶
func (x *GetPipelineRequest) ProtoReflect() protoreflect.Message
func (*GetPipelineRequest) Reset ¶
func (x *GetPipelineRequest) Reset()
func (*GetPipelineRequest) String ¶
func (x *GetPipelineRequest) String() string
type GetPipelineResponse ¶
type GetPipelineResponse struct { Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` // contains filtered or unexported fields }
func (*GetPipelineResponse) Descriptor
deprecated
func (*GetPipelineResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPipelineResponse.ProtoReflect.Descriptor instead.
func (*GetPipelineResponse) GetPipeline ¶
func (x *GetPipelineResponse) GetPipeline() *Pipeline
func (*GetPipelineResponse) ProtoMessage ¶
func (*GetPipelineResponse) ProtoMessage()
func (*GetPipelineResponse) ProtoReflect ¶
func (x *GetPipelineResponse) ProtoReflect() protoreflect.Message
func (*GetPipelineResponse) Reset ¶
func (x *GetPipelineResponse) Reset()
func (*GetPipelineResponse) String ¶
func (x *GetPipelineResponse) String() string
type GetPipelinesRequest ¶
type GetPipelinesRequest struct {
// contains filtered or unexported fields
}
func (*GetPipelinesRequest) Descriptor
deprecated
func (*GetPipelinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPipelinesRequest.ProtoReflect.Descriptor instead.
func (*GetPipelinesRequest) ProtoMessage ¶
func (*GetPipelinesRequest) ProtoMessage()
func (*GetPipelinesRequest) ProtoReflect ¶
func (x *GetPipelinesRequest) ProtoReflect() protoreflect.Message
func (*GetPipelinesRequest) Reset ¶
func (x *GetPipelinesRequest) Reset()
func (*GetPipelinesRequest) String ¶
func (x *GetPipelinesRequest) String() string
type GetPipelinesResponse ¶
type GetPipelinesResponse struct { Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"` // contains filtered or unexported fields }
Array of pipeline definitions
func (*GetPipelinesResponse) Descriptor
deprecated
func (*GetPipelinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPipelinesResponse.ProtoReflect.Descriptor instead.
func (*GetPipelinesResponse) GetPipelines ¶
func (x *GetPipelinesResponse) GetPipelines() []*Pipeline
func (*GetPipelinesResponse) ProtoMessage ¶
func (*GetPipelinesResponse) ProtoMessage()
func (*GetPipelinesResponse) ProtoReflect ¶
func (x *GetPipelinesResponse) ProtoReflect() protoreflect.Message
func (*GetPipelinesResponse) Reset ¶
func (x *GetPipelinesResponse) Reset()
func (*GetPipelinesResponse) String ¶
func (x *GetPipelinesResponse) String() string
type GetSchemaRequest ¶
type GetSchemaRequest struct { Audience *Audience `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaRequest) Descriptor
deprecated
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) GetAudience ¶
func (x *GetSchemaRequest) GetAudience() *Audience
func (*GetSchemaRequest) ProtoMessage ¶
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaRequest) Reset ¶
func (x *GetSchemaRequest) Reset()
func (*GetSchemaRequest) String ¶
func (x *GetSchemaRequest) String() string
type GetSchemaResponse ¶
type GetSchemaResponse struct { Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*GetSchemaResponse) Descriptor
deprecated
func (*GetSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaResponse) GetSchema ¶
func (x *GetSchemaResponse) GetSchema() *Schema
func (*GetSchemaResponse) ProtoMessage ¶
func (*GetSchemaResponse) ProtoMessage()
func (*GetSchemaResponse) ProtoReflect ¶
func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaResponse) Reset ¶
func (x *GetSchemaResponse) Reset()
func (*GetSchemaResponse) String ¶
func (x *GetSchemaResponse) String() string
type GetSetPipelinesCommandsByServiceRequest ¶ added in v0.1.17
type GetSetPipelinesCommandsByServiceRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
Method used by SDKs to fetch all SetPipelinesCommands for a given service name. The SDK may not know of all audiences yet so this method returns ALL SetPipelinesCommands that use the same same service name. SDKs should store the commands (or pipelines) in memory tied to an audience, so that if/when a .Process() call occurs with an audience - the SDK will already have the pipeline config in memory.
func (*GetSetPipelinesCommandsByServiceRequest) Descriptor
deprecated
added in
v0.1.17
func (*GetSetPipelinesCommandsByServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSetPipelinesCommandsByServiceRequest.ProtoReflect.Descriptor instead.
func (*GetSetPipelinesCommandsByServiceRequest) GetServiceName ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceRequest) GetServiceName() string
func (*GetSetPipelinesCommandsByServiceRequest) ProtoMessage ¶ added in v0.1.17
func (*GetSetPipelinesCommandsByServiceRequest) ProtoMessage()
func (*GetSetPipelinesCommandsByServiceRequest) ProtoReflect ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceRequest) ProtoReflect() protoreflect.Message
func (*GetSetPipelinesCommandsByServiceRequest) Reset ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceRequest) Reset()
func (*GetSetPipelinesCommandsByServiceRequest) String ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceRequest) String() string
type GetSetPipelinesCommandsByServiceResponse ¶ added in v0.1.17
type GetSetPipelinesCommandsByServiceResponse struct { // SetPipelinesCommands for all active pipelines SetPipelineCommands []*Command `protobuf:"bytes,1,rep,name=set_pipeline_commands,json=setPipelineCommands,proto3" json:"set_pipeline_commands,omitempty"` // ID = wasm ID WasmModules map[string]*shared.WasmModule `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSetPipelinesCommandsByServiceResponse) Descriptor
deprecated
added in
v0.1.17
func (*GetSetPipelinesCommandsByServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSetPipelinesCommandsByServiceResponse.ProtoReflect.Descriptor instead.
func (*GetSetPipelinesCommandsByServiceResponse) GetSetPipelineCommands ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceResponse) GetSetPipelineCommands() []*Command
func (*GetSetPipelinesCommandsByServiceResponse) GetWasmModules ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceResponse) GetWasmModules() map[string]*shared.WasmModule
func (*GetSetPipelinesCommandsByServiceResponse) ProtoMessage ¶ added in v0.1.17
func (*GetSetPipelinesCommandsByServiceResponse) ProtoMessage()
func (*GetSetPipelinesCommandsByServiceResponse) ProtoReflect ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceResponse) ProtoReflect() protoreflect.Message
func (*GetSetPipelinesCommandsByServiceResponse) Reset ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceResponse) Reset()
func (*GetSetPipelinesCommandsByServiceResponse) String ¶ added in v0.1.17
func (x *GetSetPipelinesCommandsByServiceResponse) String() string
type GetWasmRequest ¶ added in v0.1.37
type GetWasmRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetWasmRequest) Descriptor
deprecated
added in
v0.1.37
func (*GetWasmRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWasmRequest.ProtoReflect.Descriptor instead.
func (*GetWasmRequest) GetId ¶ added in v0.1.37
func (x *GetWasmRequest) GetId() string
func (*GetWasmRequest) ProtoMessage ¶ added in v0.1.37
func (*GetWasmRequest) ProtoMessage()
func (*GetWasmRequest) ProtoReflect ¶ added in v0.1.37
func (x *GetWasmRequest) ProtoReflect() protoreflect.Message
func (*GetWasmRequest) Reset ¶ added in v0.1.37
func (x *GetWasmRequest) Reset()
func (*GetWasmRequest) String ¶ added in v0.1.37
func (x *GetWasmRequest) String() string
type GetWasmResponse ¶ added in v0.1.37
type GetWasmResponse struct { Wasm *shared.WasmModule `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` // contains filtered or unexported fields }
func (*GetWasmResponse) Descriptor
deprecated
added in
v0.1.37
func (*GetWasmResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWasmResponse.ProtoReflect.Descriptor instead.
func (*GetWasmResponse) GetWasm ¶ added in v0.1.37
func (x *GetWasmResponse) GetWasm() *shared.WasmModule
func (*GetWasmResponse) ProtoMessage ¶ added in v0.1.37
func (*GetWasmResponse) ProtoMessage()
func (*GetWasmResponse) ProtoReflect ¶ added in v0.1.37
func (x *GetWasmResponse) ProtoReflect() protoreflect.Message
func (*GetWasmResponse) Reset ¶ added in v0.1.37
func (x *GetWasmResponse) Reset()
func (*GetWasmResponse) String ¶ added in v0.1.37
func (x *GetWasmResponse) String() string
type HeartbeatRequest ¶
type HeartbeatRequest struct { // Session ID for this instance of the SDK. SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Name of the service that is sending the heartbeat. Used for refreshing registration ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Used for refreshing live audience keys in the event that backing store // connection is lost and TTLed audience keys are lost Audiences []*Audience `protobuf:"bytes,3,rep,name=audiences,proto3" json:"audiences,omitempty"` // Used for refreshing registration ClientInfo *ClientInfo `protobuf:"bytes,4,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` // contains filtered or unexported fields }
Each consumer and producer should send periodic heartbeats to the server to let the server know that they are still active.
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetAudiences ¶
func (x *HeartbeatRequest) GetAudiences() []*Audience
func (*HeartbeatRequest) GetClientInfo ¶
func (x *HeartbeatRequest) GetClientInfo() *ClientInfo
func (*HeartbeatRequest) GetServiceName ¶
func (x *HeartbeatRequest) GetServiceName() string
func (*HeartbeatRequest) GetSessionId ¶
func (x *HeartbeatRequest) GetSessionId() string
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
type InterStepResult ¶ added in v0.1.13
type InterStepResult struct { // Types that are assignable to InputFrom: // // *InterStepResult_DetectiveResult InputFrom isInterStepResult_InputFrom `protobuf_oneof:"input_from"` Audience *Audience `protobuf:"bytes,1000,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
Intended for communicating wasm results between steps. Currently only used for passing results from a Detective Step to a Transform step
func (*InterStepResult) Descriptor
deprecated
added in
v0.1.13
func (*InterStepResult) Descriptor() ([]byte, []int)
Deprecated: Use InterStepResult.ProtoReflect.Descriptor instead.
func (*InterStepResult) GetAudience ¶ added in v0.1.53
func (x *InterStepResult) GetAudience() *Audience
func (*InterStepResult) GetDetectiveResult ¶ added in v0.1.13
func (x *InterStepResult) GetDetectiveResult() *steps.DetectiveStepResult
func (*InterStepResult) GetInputFrom ¶ added in v0.1.13
func (m *InterStepResult) GetInputFrom() isInterStepResult_InputFrom
func (*InterStepResult) ProtoMessage ¶ added in v0.1.13
func (*InterStepResult) ProtoMessage()
func (*InterStepResult) ProtoReflect ¶ added in v0.1.13
func (x *InterStepResult) ProtoReflect() protoreflect.Message
func (*InterStepResult) Reset ¶ added in v0.1.13
func (x *InterStepResult) Reset()
func (*InterStepResult) String ¶ added in v0.1.13
func (x *InterStepResult) String() string
type InterStepResult_DetectiveResult ¶ added in v0.1.13
type InterStepResult_DetectiveResult struct {
DetectiveResult *steps.DetectiveStepResult `protobuf:"bytes,1,opt,name=detective_result,json=detectiveResult,proto3,oneof"`
}
type InternalClient ¶
type InternalClient interface { // Initial method that an SDK should call to register itself with the server. // The server will use this stream to send commands to the SDK via the // `CommandResponse` message. Clients should continuously listen for // CommandResponse messages and re-establish registration if the stream gets // disconnected. Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (Internal_RegisterClient, error) // Declare a new audience that the SDK is able to accept commands for. // An SDK would use this method when a new audience is declared by the user // via `.Process()`. NewAudience(ctx context.Context, in *NewAudienceRequest, opts ...grpc.CallOption) (*StandardResponse, error) // SDK is responsible for sending heartbeats to the server to let the server // know about active consumers and producers. Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Use this method when Notify condition has been triggered; the server will // decide on what to do about the notification. Notify(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Send periodic metrics to the server Metrics(ctx context.Context, in *MetricsRequest, opts ...grpc.CallOption) (*StandardResponse, error) // Used to pull all pipeline configs for the service name in the SDK's constructor // This is needed because Register() is async GetSetPipelinesCommandsByService(ctx context.Context, in *GetSetPipelinesCommandsByServiceRequest, opts ...grpc.CallOption) (*GetSetPipelinesCommandsByServiceResponse, error) SendTail(ctx context.Context, opts ...grpc.CallOption) (Internal_SendTailClient, error) // Used by SDK to send a new schema to the server SendSchema(ctx context.Context, in *SendSchemaRequest, opts ...grpc.CallOption) (*StandardResponse, error) }
InternalClient is the client API for Internal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInternalClient ¶
func NewInternalClient(cc grpc.ClientConnInterface) InternalClient
type InternalServer ¶
type InternalServer interface { // Initial method that an SDK should call to register itself with the server. // The server will use this stream to send commands to the SDK via the // `CommandResponse` message. Clients should continuously listen for // CommandResponse messages and re-establish registration if the stream gets // disconnected. Register(*RegisterRequest, Internal_RegisterServer) error // Declare a new audience that the SDK is able to accept commands for. // An SDK would use this method when a new audience is declared by the user // via `.Process()`. NewAudience(context.Context, *NewAudienceRequest) (*StandardResponse, error) // SDK is responsible for sending heartbeats to the server to let the server // know about active consumers and producers. Heartbeat(context.Context, *HeartbeatRequest) (*StandardResponse, error) // Use this method when Notify condition has been triggered; the server will // decide on what to do about the notification. Notify(context.Context, *NotifyRequest) (*StandardResponse, error) // Send periodic metrics to the server Metrics(context.Context, *MetricsRequest) (*StandardResponse, error) // Used to pull all pipeline configs for the service name in the SDK's constructor // This is needed because Register() is async GetSetPipelinesCommandsByService(context.Context, *GetSetPipelinesCommandsByServiceRequest) (*GetSetPipelinesCommandsByServiceResponse, error) SendTail(Internal_SendTailServer) error // Used by SDK to send a new schema to the server SendSchema(context.Context, *SendSchemaRequest) (*StandardResponse, error) // contains filtered or unexported methods }
InternalServer is the server API for Internal service. All implementations must embed UnimplementedInternalServer for forward compatibility
type Internal_RegisterClient ¶
type Internal_RegisterClient interface { Recv() (*Command, error) grpc.ClientStream }
type Internal_RegisterServer ¶
type Internal_RegisterServer interface { Send(*Command) error grpc.ServerStream }
type Internal_SendTailClient ¶
type Internal_SendTailClient interface { Send(*TailResponse) error CloseAndRecv() (*StandardResponse, error) grpc.ClientStream }
type Internal_SendTailServer ¶
type Internal_SendTailServer interface { SendAndClose(*StandardResponse) error Recv() (*TailResponse, error) grpc.ServerStream }
type KVCommand ¶
type KVCommand struct { Instructions []*KVInstruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"` // Create & Update specific setting that will cause the Create or Update to // work as an upsert. Overwrite bool `protobuf:"varint,2,opt,name=overwrite,proto3" json:"overwrite,omitempty"` // contains filtered or unexported fields }
Sent by server on Register channel(s) to live SDKs
func (*KVCommand) Descriptor
deprecated
func (*KVCommand) GetInstructions ¶
func (x *KVCommand) GetInstructions() []*KVInstruction
func (*KVCommand) GetOverwrite ¶
func (*KVCommand) ProtoMessage ¶
func (*KVCommand) ProtoMessage()
func (*KVCommand) ProtoReflect ¶
func (x *KVCommand) ProtoReflect() protoreflect.Message
type KVCreateHTTPRequest ¶
type KVCreateHTTPRequest struct { Kvs []*KVObject `protobuf:"bytes,1,rep,name=kvs,proto3" json:"kvs,omitempty"` // Whether to treat create as upsert -- ie. do not error if key already exists Overwrite bool `protobuf:"varint,2,opt,name=overwrite,proto3" json:"overwrite,omitempty"` // contains filtered or unexported fields }
"POST /api/v1/kv" accepts JSON of this type for it's request payload. This is converted by BroadcastKV() to a KVCommand
func (*KVCreateHTTPRequest) Descriptor
deprecated
func (*KVCreateHTTPRequest) Descriptor() ([]byte, []int)
Deprecated: Use KVCreateHTTPRequest.ProtoReflect.Descriptor instead.
func (*KVCreateHTTPRequest) GetKvs ¶
func (x *KVCreateHTTPRequest) GetKvs() []*KVObject
func (*KVCreateHTTPRequest) GetOverwrite ¶
func (x *KVCreateHTTPRequest) GetOverwrite() bool
func (*KVCreateHTTPRequest) ProtoMessage ¶
func (*KVCreateHTTPRequest) ProtoMessage()
func (*KVCreateHTTPRequest) ProtoReflect ¶
func (x *KVCreateHTTPRequest) ProtoReflect() protoreflect.Message
func (*KVCreateHTTPRequest) Reset ¶
func (x *KVCreateHTTPRequest) Reset()
func (*KVCreateHTTPRequest) String ¶
func (x *KVCreateHTTPRequest) String() string
type KVInstruction ¶
type KVInstruction struct { // Unique ID for this instruction Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // What kind of an action is this? Action shared.KVAction `protobuf:"varint,2,opt,name=action,proto3,enum=protos.shared.KVAction" json:"action,omitempty"` // KV object Object *KVObject `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // When this instruction was requested (usually will be the HTTP API request time) RequestedAtUnixTsNanoUtc int64 `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Container for one or more KVObject's; server broadcasts KVCommand that contains one or more of these instructions when a "POST /api/v1/kv" request is made.
func (*KVInstruction) Descriptor
deprecated
func (*KVInstruction) Descriptor() ([]byte, []int)
Deprecated: Use KVInstruction.ProtoReflect.Descriptor instead.
func (*KVInstruction) GetAction ¶
func (x *KVInstruction) GetAction() shared.KVAction
func (*KVInstruction) GetId ¶
func (x *KVInstruction) GetId() string
func (*KVInstruction) GetObject ¶
func (x *KVInstruction) GetObject() *KVObject
func (*KVInstruction) GetRequestedAtUnixTsNanoUtc ¶
func (x *KVInstruction) GetRequestedAtUnixTsNanoUtc() int64
func (*KVInstruction) ProtoMessage ¶
func (*KVInstruction) ProtoMessage()
func (*KVInstruction) ProtoReflect ¶
func (x *KVInstruction) ProtoReflect() protoreflect.Message
func (*KVInstruction) Reset ¶
func (x *KVInstruction) Reset()
func (*KVInstruction) String ¶
func (x *KVInstruction) String() string
type KVObject ¶
type KVObject struct { // Valid key regex: /^[a-zA-Z0-9_-:]+$/) Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // KV value Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // When was this object created CreatedAtUnixTsNanoUtc int64 `` /* 136-byte string literal not displayed */ // Last time the object was updated UpdatedAtUnixTsNanoUtc int64 `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
KVObject represents a single KV object used in protos.KVInstruction; this is constructed by server and broadcast out to other server nodes.
func (*KVObject) Descriptor
deprecated
func (*KVObject) GetCreatedAtUnixTsNanoUtc ¶
func (*KVObject) GetUpdatedAtUnixTsNanoUtc ¶
func (*KVObject) ProtoMessage ¶
func (*KVObject) ProtoMessage()
func (*KVObject) ProtoReflect ¶
func (x *KVObject) ProtoReflect() protoreflect.Message
type KVRequest ¶
type KVRequest struct { Instructions []*KVInstruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"` Overwrite bool `protobuf:"varint,2,opt,name=overwrite,proto3" json:"overwrite,omitempty"` // contains filtered or unexported fields }
Used for broadcasting KV instructions to other server nodes. NOTE: While this data structure is similar to KVCommand it makes sense to keep them separate. It would cause more confusion if we tried to re-use KVCommand for the purpose of broadcasting AND for sending SDK commands. ~DS
This request structure is used for including all updates - create/update/delete.
func (*KVRequest) Descriptor
deprecated
func (*KVRequest) GetInstructions ¶
func (x *KVRequest) GetInstructions() []*KVInstruction
func (*KVRequest) GetOverwrite ¶
func (*KVRequest) ProtoMessage ¶
func (*KVRequest) ProtoMessage()
func (*KVRequest) ProtoReflect ¶
func (x *KVRequest) ProtoReflect() protoreflect.Message
type KVUpdateHTTPRequest ¶
type KVUpdateHTTPRequest struct { Kvs []*KVObject `protobuf:"bytes,1,rep,name=kvs,proto3" json:"kvs,omitempty"` // contains filtered or unexported fields }
func (*KVUpdateHTTPRequest) Descriptor
deprecated
func (*KVUpdateHTTPRequest) Descriptor() ([]byte, []int)
Deprecated: Use KVUpdateHTTPRequest.ProtoReflect.Descriptor instead.
func (*KVUpdateHTTPRequest) GetKvs ¶
func (x *KVUpdateHTTPRequest) GetKvs() []*KVObject
func (*KVUpdateHTTPRequest) ProtoMessage ¶
func (*KVUpdateHTTPRequest) ProtoMessage()
func (*KVUpdateHTTPRequest) ProtoReflect ¶
func (x *KVUpdateHTTPRequest) ProtoReflect() protoreflect.Message
func (*KVUpdateHTTPRequest) Reset ¶
func (x *KVUpdateHTTPRequest) Reset()
func (*KVUpdateHTTPRequest) String ¶
func (x *KVUpdateHTTPRequest) String() string
type KeepAliveCommand ¶
type KeepAliveCommand struct {
// contains filtered or unexported fields
}
func (*KeepAliveCommand) Descriptor
deprecated
func (*KeepAliveCommand) Descriptor() ([]byte, []int)
Deprecated: Use KeepAliveCommand.ProtoReflect.Descriptor instead.
func (*KeepAliveCommand) ProtoMessage ¶
func (*KeepAliveCommand) ProtoMessage()
func (*KeepAliveCommand) ProtoReflect ¶
func (x *KeepAliveCommand) ProtoReflect() protoreflect.Message
func (*KeepAliveCommand) Reset ¶
func (x *KeepAliveCommand) Reset()
func (*KeepAliveCommand) String ¶
func (x *KeepAliveCommand) String() string
type LiveInfo ¶
type LiveInfo struct { // If empty, client has not announced any audiences Audiences []*Audience `protobuf:"bytes,1,rep,name=audiences,proto3" json:"audiences,omitempty"` Client *ClientInfo `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*LiveInfo) Descriptor
deprecated
func (*LiveInfo) GetAudiences ¶
func (*LiveInfo) GetClient ¶
func (x *LiveInfo) GetClient() *ClientInfo
func (*LiveInfo) ProtoMessage ¶
func (*LiveInfo) ProtoMessage()
func (*LiveInfo) ProtoReflect ¶
func (x *LiveInfo) ProtoReflect() protoreflect.Message
type Metric ¶
type Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` Audience *Audience `protobuf:"bytes,4,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) GetAudience ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricsRequest ¶
type MetricsRequest struct { Metrics []*Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricsRequest) Descriptor
deprecated
func (*MetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MetricsRequest.ProtoReflect.Descriptor instead.
func (*MetricsRequest) GetMetrics ¶
func (x *MetricsRequest) GetMetrics() []*Metric
func (*MetricsRequest) ProtoMessage ¶
func (*MetricsRequest) ProtoMessage()
func (*MetricsRequest) ProtoReflect ¶
func (x *MetricsRequest) ProtoReflect() protoreflect.Message
func (*MetricsRequest) Reset ¶
func (x *MetricsRequest) Reset()
func (*MetricsRequest) String ¶
func (x *MetricsRequest) String() string
type NewAudienceRequest ¶
type NewAudienceRequest struct { // The session that is performing this call SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Newly created audience. Audience *Audience `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*NewAudienceRequest) Descriptor
deprecated
func (*NewAudienceRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAudienceRequest.ProtoReflect.Descriptor instead.
func (*NewAudienceRequest) GetAudience ¶
func (x *NewAudienceRequest) GetAudience() *Audience
func (*NewAudienceRequest) GetSessionId ¶
func (x *NewAudienceRequest) GetSessionId() string
func (*NewAudienceRequest) ProtoMessage ¶
func (*NewAudienceRequest) ProtoMessage()
func (*NewAudienceRequest) ProtoReflect ¶
func (x *NewAudienceRequest) ProtoReflect() protoreflect.Message
func (*NewAudienceRequest) Reset ¶
func (x *NewAudienceRequest) Reset()
func (*NewAudienceRequest) String ¶
func (x *NewAudienceRequest) String() string
type NotificationConfig ¶
type NotificationConfig struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type NotificationType `protobuf:"varint,3,opt,name=type,proto3,enum=protos.NotificationType" json:"type,omitempty"` // Types that are assignable to Config: // // *NotificationConfig_Slack // *NotificationConfig_Email // *NotificationConfig_Pagerduty Config isNotificationConfig_Config `protobuf_oneof:"config"` // Used internally by server and k8s operator to determine who manages this resource XCreatedBy *string `protobuf:"bytes,10000,opt,name=_created_by,json=CreatedBy,proto3,oneof" json:"_created_by,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*NotificationConfig) Descriptor
deprecated
func (*NotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig) GetConfig ¶
func (m *NotificationConfig) GetConfig() isNotificationConfig_Config
func (*NotificationConfig) GetEmail ¶
func (x *NotificationConfig) GetEmail() *NotificationEmail
func (*NotificationConfig) GetId ¶
func (x *NotificationConfig) GetId() string
func (*NotificationConfig) GetName ¶
func (x *NotificationConfig) GetName() string
func (*NotificationConfig) GetPagerduty ¶
func (x *NotificationConfig) GetPagerduty() *NotificationPagerDuty
func (*NotificationConfig) GetSlack ¶
func (x *NotificationConfig) GetSlack() *NotificationSlack
func (*NotificationConfig) GetType ¶
func (x *NotificationConfig) GetType() NotificationType
func (*NotificationConfig) GetXCreatedBy ¶ added in v0.1.40
func (x *NotificationConfig) GetXCreatedBy() string
func (*NotificationConfig) ProtoMessage ¶
func (*NotificationConfig) ProtoMessage()
func (*NotificationConfig) ProtoReflect ¶
func (x *NotificationConfig) ProtoReflect() protoreflect.Message
func (*NotificationConfig) Reset ¶
func (x *NotificationConfig) Reset()
func (*NotificationConfig) String ¶
func (x *NotificationConfig) String() string
type NotificationConfig_Email ¶
type NotificationConfig_Email struct {
Email *NotificationEmail `protobuf:"bytes,1001,opt,name=email,proto3,oneof"`
}
type NotificationConfig_Pagerduty ¶
type NotificationConfig_Pagerduty struct {
Pagerduty *NotificationPagerDuty `protobuf:"bytes,1002,opt,name=pagerduty,proto3,oneof"`
}
type NotificationConfig_Slack ¶
type NotificationConfig_Slack struct {
Slack *NotificationSlack `protobuf:"bytes,1000,opt,name=slack,proto3,oneof"`
}
type NotificationEmail ¶
type NotificationEmail struct { Type NotificationEmail_Type `protobuf:"varint,1,opt,name=type,proto3,enum=protos.NotificationEmail_Type" json:"type,omitempty"` Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"` FromAddress string `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // Types that are assignable to Config: // // *NotificationEmail_Smtp // *NotificationEmail_Ses Config isNotificationEmail_Config `protobuf_oneof:"config"` // contains filtered or unexported fields }
func (*NotificationEmail) Descriptor
deprecated
func (*NotificationEmail) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEmail.ProtoReflect.Descriptor instead.
func (*NotificationEmail) GetConfig ¶
func (m *NotificationEmail) GetConfig() isNotificationEmail_Config
func (*NotificationEmail) GetFromAddress ¶
func (x *NotificationEmail) GetFromAddress() string
func (*NotificationEmail) GetRecipients ¶
func (x *NotificationEmail) GetRecipients() []string
func (*NotificationEmail) GetSes ¶
func (x *NotificationEmail) GetSes() *NotificationEmailSES
func (*NotificationEmail) GetSmtp ¶
func (x *NotificationEmail) GetSmtp() *NotificationEmailSMTP
func (*NotificationEmail) GetType ¶
func (x *NotificationEmail) GetType() NotificationEmail_Type
func (*NotificationEmail) ProtoMessage ¶
func (*NotificationEmail) ProtoMessage()
func (*NotificationEmail) ProtoReflect ¶
func (x *NotificationEmail) ProtoReflect() protoreflect.Message
func (*NotificationEmail) Reset ¶
func (x *NotificationEmail) Reset()
func (*NotificationEmail) String ¶
func (x *NotificationEmail) String() string
type NotificationEmailSES ¶
type NotificationEmailSES struct { SesRegion string `protobuf:"bytes,1,opt,name=ses_region,json=sesRegion,proto3" json:"ses_region,omitempty"` SesAccessKeyId string `protobuf:"bytes,2,opt,name=ses_access_key_id,json=sesAccessKeyId,proto3" json:"ses_access_key_id,omitempty"` SesSecretAccessKey string `protobuf:"bytes,3,opt,name=ses_secret_access_key,json=sesSecretAccessKey,proto3" json:"ses_secret_access_key,omitempty"` // contains filtered or unexported fields }
func (*NotificationEmailSES) Descriptor
deprecated
func (*NotificationEmailSES) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEmailSES.ProtoReflect.Descriptor instead.
func (*NotificationEmailSES) GetSesAccessKeyId ¶
func (x *NotificationEmailSES) GetSesAccessKeyId() string
func (*NotificationEmailSES) GetSesRegion ¶
func (x *NotificationEmailSES) GetSesRegion() string
func (*NotificationEmailSES) GetSesSecretAccessKey ¶
func (x *NotificationEmailSES) GetSesSecretAccessKey() string
func (*NotificationEmailSES) ProtoMessage ¶
func (*NotificationEmailSES) ProtoMessage()
func (*NotificationEmailSES) ProtoReflect ¶
func (x *NotificationEmailSES) ProtoReflect() protoreflect.Message
func (*NotificationEmailSES) Reset ¶
func (x *NotificationEmailSES) Reset()
func (*NotificationEmailSES) String ¶
func (x *NotificationEmailSES) String() string
type NotificationEmailSMTP ¶
type NotificationEmailSMTP struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` UseTls bool `protobuf:"varint,5,opt,name=use_tls,json=useTls,proto3" json:"use_tls,omitempty"` // contains filtered or unexported fields }
func (*NotificationEmailSMTP) Descriptor
deprecated
func (*NotificationEmailSMTP) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEmailSMTP.ProtoReflect.Descriptor instead.
func (*NotificationEmailSMTP) GetHost ¶
func (x *NotificationEmailSMTP) GetHost() string
func (*NotificationEmailSMTP) GetPassword ¶
func (x *NotificationEmailSMTP) GetPassword() string
func (*NotificationEmailSMTP) GetPort ¶
func (x *NotificationEmailSMTP) GetPort() int32
func (*NotificationEmailSMTP) GetUseTls ¶
func (x *NotificationEmailSMTP) GetUseTls() bool
func (*NotificationEmailSMTP) GetUser ¶
func (x *NotificationEmailSMTP) GetUser() string
func (*NotificationEmailSMTP) ProtoMessage ¶
func (*NotificationEmailSMTP) ProtoMessage()
func (*NotificationEmailSMTP) ProtoReflect ¶
func (x *NotificationEmailSMTP) ProtoReflect() protoreflect.Message
func (*NotificationEmailSMTP) Reset ¶
func (x *NotificationEmailSMTP) Reset()
func (*NotificationEmailSMTP) String ¶
func (x *NotificationEmailSMTP) String() string
type NotificationEmail_Ses ¶
type NotificationEmail_Ses struct {
Ses *NotificationEmailSES `protobuf:"bytes,1001,opt,name=ses,proto3,oneof"`
}
type NotificationEmail_Smtp ¶
type NotificationEmail_Smtp struct {
Smtp *NotificationEmailSMTP `protobuf:"bytes,1000,opt,name=smtp,proto3,oneof"`
}
type NotificationEmail_Type ¶
type NotificationEmail_Type int32
const ( NotificationEmail_TYPE_UNSET NotificationEmail_Type = 0 NotificationEmail_TYPE_SMTP NotificationEmail_Type = 1 NotificationEmail_TYPE_SES NotificationEmail_Type = 2 )
func (NotificationEmail_Type) Descriptor ¶
func (NotificationEmail_Type) Descriptor() protoreflect.EnumDescriptor
func (NotificationEmail_Type) Enum ¶
func (x NotificationEmail_Type) Enum() *NotificationEmail_Type
func (NotificationEmail_Type) EnumDescriptor
deprecated
func (NotificationEmail_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationEmail_Type.Descriptor instead.
func (NotificationEmail_Type) Number ¶
func (x NotificationEmail_Type) Number() protoreflect.EnumNumber
func (NotificationEmail_Type) String ¶
func (x NotificationEmail_Type) String() string
func (NotificationEmail_Type) Type ¶
func (NotificationEmail_Type) Type() protoreflect.EnumType
type NotificationPagerDuty ¶
type NotificationPagerDuty struct { // Auth token Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Must be a valid email for a PagerDuty user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // Must be a valid PagerDuty service ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Urgency NotificationPagerDuty_Urgency `protobuf:"varint,4,opt,name=urgency,proto3,enum=protos.NotificationPagerDuty_Urgency" json:"urgency,omitempty"` // contains filtered or unexported fields }
func (*NotificationPagerDuty) Descriptor
deprecated
func (*NotificationPagerDuty) Descriptor() ([]byte, []int)
Deprecated: Use NotificationPagerDuty.ProtoReflect.Descriptor instead.
func (*NotificationPagerDuty) GetEmail ¶
func (x *NotificationPagerDuty) GetEmail() string
func (*NotificationPagerDuty) GetServiceId ¶
func (x *NotificationPagerDuty) GetServiceId() string
func (*NotificationPagerDuty) GetToken ¶
func (x *NotificationPagerDuty) GetToken() string
func (*NotificationPagerDuty) GetUrgency ¶
func (x *NotificationPagerDuty) GetUrgency() NotificationPagerDuty_Urgency
func (*NotificationPagerDuty) ProtoMessage ¶
func (*NotificationPagerDuty) ProtoMessage()
func (*NotificationPagerDuty) ProtoReflect ¶
func (x *NotificationPagerDuty) ProtoReflect() protoreflect.Message
func (*NotificationPagerDuty) Reset ¶
func (x *NotificationPagerDuty) Reset()
func (*NotificationPagerDuty) String ¶
func (x *NotificationPagerDuty) String() string
type NotificationPagerDuty_Urgency ¶
type NotificationPagerDuty_Urgency int32
const ( NotificationPagerDuty_URGENCY_UNSET NotificationPagerDuty_Urgency = 0 NotificationPagerDuty_URGENCY_LOW NotificationPagerDuty_Urgency = 1 NotificationPagerDuty_URGENCY_HIGH NotificationPagerDuty_Urgency = 2 )
func (NotificationPagerDuty_Urgency) Descriptor ¶
func (NotificationPagerDuty_Urgency) Descriptor() protoreflect.EnumDescriptor
func (NotificationPagerDuty_Urgency) Enum ¶
func (x NotificationPagerDuty_Urgency) Enum() *NotificationPagerDuty_Urgency
func (NotificationPagerDuty_Urgency) EnumDescriptor
deprecated
func (NotificationPagerDuty_Urgency) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationPagerDuty_Urgency.Descriptor instead.
func (NotificationPagerDuty_Urgency) Number ¶
func (x NotificationPagerDuty_Urgency) Number() protoreflect.EnumNumber
func (NotificationPagerDuty_Urgency) String ¶
func (x NotificationPagerDuty_Urgency) String() string
func (NotificationPagerDuty_Urgency) Type ¶
func (NotificationPagerDuty_Urgency) Type() protoreflect.EnumType
type NotificationSlack ¶
type NotificationSlack struct { BotToken string `protobuf:"bytes,1,opt,name=bot_token,json=botToken,proto3" json:"bot_token,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*NotificationSlack) Descriptor
deprecated
func (*NotificationSlack) Descriptor() ([]byte, []int)
Deprecated: Use NotificationSlack.ProtoReflect.Descriptor instead.
func (*NotificationSlack) GetBotToken ¶
func (x *NotificationSlack) GetBotToken() string
func (*NotificationSlack) GetChannel ¶
func (x *NotificationSlack) GetChannel() string
func (*NotificationSlack) ProtoMessage ¶
func (*NotificationSlack) ProtoMessage()
func (*NotificationSlack) ProtoReflect ¶
func (x *NotificationSlack) ProtoReflect() protoreflect.Message
func (*NotificationSlack) Reset ¶
func (x *NotificationSlack) Reset()
func (*NotificationSlack) String ¶
func (x *NotificationSlack) String() string
type NotificationType ¶
type NotificationType int32
const ( NotificationType_NOTIFICATION_TYPE_UNSET NotificationType = 0 NotificationType_NOTIFICATION_TYPE_SLACK NotificationType = 1 NotificationType_NOTIFICATION_TYPE_EMAIL NotificationType = 2 NotificationType_NOTIFICATION_TYPE_PAGERDUTY NotificationType = 3 )
func (NotificationType) Descriptor ¶
func (NotificationType) Descriptor() protoreflect.EnumDescriptor
func (NotificationType) Enum ¶
func (x NotificationType) Enum() *NotificationType
func (NotificationType) EnumDescriptor
deprecated
func (NotificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationType.Descriptor instead.
func (NotificationType) Number ¶
func (x NotificationType) Number() protoreflect.EnumNumber
func (NotificationType) String ¶
func (x NotificationType) String() string
func (NotificationType) Type ¶
func (NotificationType) Type() protoreflect.EnumType
type NotifyRequest ¶
type NotifyRequest struct { ConditionType NotifyRequest_ConditionType `` /* 141-byte string literal not displayed */ // Used for pulling step name and any other info needed in the future Step *PipelineStep `protobuf:"bytes,2,opt,name=step,proto3" json:"step,omitempty"` // Included in notification Audience *Audience `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` // Included in notification OccurredAtUnixTsUtc int64 `protobuf:"varint,4,opt,name=occurred_at_unix_ts_utc,json=occurredAtUnixTsUtc,proto3" json:"occurred_at_unix_ts_utc,omitempty"` // Included in notification PipelineId string `protobuf:"bytes,5,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` // Included in notification Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*NotifyRequest) Descriptor
deprecated
func (*NotifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.
func (*NotifyRequest) GetAudience ¶
func (x *NotifyRequest) GetAudience() *Audience
func (*NotifyRequest) GetConditionType ¶ added in v0.1.20
func (x *NotifyRequest) GetConditionType() NotifyRequest_ConditionType
func (*NotifyRequest) GetOccurredAtUnixTsUtc ¶
func (x *NotifyRequest) GetOccurredAtUnixTsUtc() int64
func (*NotifyRequest) GetPayload ¶ added in v0.1.19
func (x *NotifyRequest) GetPayload() []byte
func (*NotifyRequest) GetPipelineId ¶
func (x *NotifyRequest) GetPipelineId() string
func (*NotifyRequest) GetStep ¶ added in v0.1.19
func (x *NotifyRequest) GetStep() *PipelineStep
func (*NotifyRequest) ProtoMessage ¶
func (*NotifyRequest) ProtoMessage()
func (*NotifyRequest) ProtoReflect ¶
func (x *NotifyRequest) ProtoReflect() protoreflect.Message
func (*NotifyRequest) Reset ¶
func (x *NotifyRequest) Reset()
func (*NotifyRequest) String ¶
func (x *NotifyRequest) String() string
type NotifyRequest_ConditionType ¶ added in v0.1.20
type NotifyRequest_ConditionType int32
This will be used to pull the condition type (true, false, error) from the pipeline step, so that we can include metadata, abort condition, etc., in the notification The condition will contain the notification configuration also.
const ( NotifyRequest_CONDITION_TYPE_UNSET NotifyRequest_ConditionType = 0 NotifyRequest_CONDITION_TYPE_ON_TRUE NotifyRequest_ConditionType = 1 NotifyRequest_CONDITION_TYPE_ON_FALSE NotifyRequest_ConditionType = 2 NotifyRequest_CONDITION_TYPE_ON_ERROR NotifyRequest_ConditionType = 3 )
func (NotifyRequest_ConditionType) Descriptor ¶ added in v0.1.20
func (NotifyRequest_ConditionType) Descriptor() protoreflect.EnumDescriptor
func (NotifyRequest_ConditionType) Enum ¶ added in v0.1.20
func (x NotifyRequest_ConditionType) Enum() *NotifyRequest_ConditionType
func (NotifyRequest_ConditionType) EnumDescriptor
deprecated
added in
v0.1.20
func (NotifyRequest_ConditionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotifyRequest_ConditionType.Descriptor instead.
func (NotifyRequest_ConditionType) Number ¶ added in v0.1.20
func (x NotifyRequest_ConditionType) Number() protoreflect.EnumNumber
func (NotifyRequest_ConditionType) String ¶ added in v0.1.20
func (x NotifyRequest_ConditionType) String() string
func (NotifyRequest_ConditionType) Type ¶ added in v0.1.20
func (NotifyRequest_ConditionType) Type() protoreflect.EnumType
type OperationType ¶
type OperationType int32
Each SDK client is a $service + $component + $operation_type
const ( OperationType_OPERATION_TYPE_UNSET OperationType = 0 OperationType_OPERATION_TYPE_CONSUMER OperationType = 1 OperationType_OPERATION_TYPE_PRODUCER OperationType = 2 )
func (OperationType) Descriptor ¶
func (OperationType) Descriptor() protoreflect.EnumDescriptor
func (OperationType) Enum ¶
func (x OperationType) Enum() *OperationType
func (OperationType) EnumDescriptor
deprecated
func (OperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationType.Descriptor instead.
func (OperationType) Number ¶
func (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
type PausePipelineRequest ¶
type PausePipelineRequest struct { PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` Audience *Audience `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*PausePipelineRequest) Descriptor
deprecated
func (*PausePipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use PausePipelineRequest.ProtoReflect.Descriptor instead.
func (*PausePipelineRequest) GetAudience ¶
func (x *PausePipelineRequest) GetAudience() *Audience
func (*PausePipelineRequest) GetPipelineId ¶
func (x *PausePipelineRequest) GetPipelineId() string
func (*PausePipelineRequest) ProtoMessage ¶
func (*PausePipelineRequest) ProtoMessage()
func (*PausePipelineRequest) ProtoReflect ¶
func (x *PausePipelineRequest) ProtoReflect() protoreflect.Message
func (*PausePipelineRequest) Reset ¶
func (x *PausePipelineRequest) Reset()
func (*PausePipelineRequest) String ¶
func (x *PausePipelineRequest) String() string
type PauseTailRequest ¶
type PauseTailRequest struct { TailId string `protobuf:"bytes,1,opt,name=tail_id,json=tailId,proto3" json:"tail_id,omitempty"` // contains filtered or unexported fields }
func (*PauseTailRequest) Descriptor
deprecated
func (*PauseTailRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseTailRequest.ProtoReflect.Descriptor instead.
func (*PauseTailRequest) GetTailId ¶
func (x *PauseTailRequest) GetTailId() string
func (*PauseTailRequest) ProtoMessage ¶
func (*PauseTailRequest) ProtoMessage()
func (*PauseTailRequest) ProtoReflect ¶
func (x *PauseTailRequest) ProtoReflect() protoreflect.Message
func (*PauseTailRequest) Reset ¶
func (x *PauseTailRequest) Reset()
func (*PauseTailRequest) String ¶
func (x *PauseTailRequest) String() string
type Pipeline ¶
type Pipeline struct { // If left blank, the server will generate a unique ID. If one is provided, // the server will check if that is ID is already in use when creating a pipeline. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Friendly name for the pipeline Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // One or more steps to execute Steps []*PipelineStep `protobuf:"bytes,3,rep,name=steps,proto3" json:"steps,omitempty"` // Notification configs for this pipeline. Only filled out in external API responses // This is deprecated and the data has moved to PipelineStep // // Deprecated: Marked as deprecated in sp_pipeline.proto. XNotificationConfigs []*NotificationConfig `protobuf:"bytes,4,rep,name=_notification_configs,json=NotificationConfigs,proto3" json:"_notification_configs,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE DataFormat PipelineDataFormat `protobuf:"varint,5,opt,name=data_format,json=dataFormat,proto3,enum=protos.PipelineDataFormat" json:"data_format,omitempty"` // Indicates whether the pipeline is paused or not. Used internally by server. XPaused *bool `protobuf:"varint,1000,opt,name=_paused,json=Paused,proto3,oneof" json:"_paused,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XDescription *string `protobuf:"bytes,1001,opt,name=_description,json=Description,proto3,oneof" json:"_description,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XVersion *string `protobuf:"bytes,1002,opt,name=_version,json=Version,proto3,oneof" json:"_version,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XUrl *string `protobuf:"bytes,1003,opt,name=_url,json=Url,proto3,oneof" json:"_url,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XCreatedAtUnixTsUtc *int64 `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 133-byte string literal not displayed */ XUpdatedAtUnixTsUtc *int64 `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 133-byte string literal not displayed */ // Used internally by server and k8s operator to determine who manages this resource XCreatedBy *string `protobuf:"bytes,1006,opt,name=_created_by,json=CreatedBy,proto3,oneof" json:"_created_by,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
Pipeline is a structure that holds one or more pipeline steps. This structure is intended to be immutable; clients are expected to generate WASMRequest's that contain a pipeline step.
func (*Pipeline) Descriptor
deprecated
func (*Pipeline) GetDataFormat ¶ added in v0.1.57
func (x *Pipeline) GetDataFormat() PipelineDataFormat
func (*Pipeline) GetSteps ¶
func (x *Pipeline) GetSteps() []*PipelineStep
func (*Pipeline) GetXCreatedAtUnixTsUtc ¶ added in v0.1.37
func (*Pipeline) GetXCreatedBy ¶ added in v0.1.40
func (*Pipeline) GetXDescription ¶ added in v0.1.37
func (*Pipeline) GetXNotificationConfigs
deprecated
func (x *Pipeline) GetXNotificationConfigs() []*NotificationConfig
Deprecated: Marked as deprecated in sp_pipeline.proto.
func (*Pipeline) GetXPaused ¶ added in v0.1.17
func (*Pipeline) GetXUpdatedAtUnixTsUtc ¶ added in v0.1.37
func (*Pipeline) GetXVersion ¶ added in v0.1.37
func (*Pipeline) ProtoMessage ¶
func (*Pipeline) ProtoMessage()
func (*Pipeline) ProtoReflect ¶
func (x *Pipeline) ProtoReflect() protoreflect.Message
type PipelineConfig ¶ added in v0.1.18
type PipelineConfig struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Paused bool `protobuf:"varint,2,opt,name=paused,proto3" json:"paused,omitempty"` CreatedAtUnixTsUtc int64 `protobuf:"varint,3,opt,name=created_at_unix_ts_utc,json=createdAtUnixTsUtc,proto3" json:"created_at_unix_ts_utc,omitempty"` // contains filtered or unexported fields }
PipelineConfig is structure used in protos.PipelineConfigs
func (*PipelineConfig) Descriptor
deprecated
added in
v0.1.18
func (*PipelineConfig) Descriptor() ([]byte, []int)
Deprecated: Use PipelineConfig.ProtoReflect.Descriptor instead.
func (*PipelineConfig) GetCreatedAtUnixTsUtc ¶ added in v0.1.18
func (x *PipelineConfig) GetCreatedAtUnixTsUtc() int64
func (*PipelineConfig) GetId ¶ added in v0.1.18
func (x *PipelineConfig) GetId() string
func (*PipelineConfig) GetPaused ¶ added in v0.1.18
func (x *PipelineConfig) GetPaused() bool
func (*PipelineConfig) ProtoMessage ¶ added in v0.1.18
func (*PipelineConfig) ProtoMessage()
func (*PipelineConfig) ProtoReflect ¶ added in v0.1.18
func (x *PipelineConfig) ProtoReflect() protoreflect.Message
func (*PipelineConfig) Reset ¶ added in v0.1.18
func (x *PipelineConfig) Reset()
func (*PipelineConfig) String ¶ added in v0.1.18
func (x *PipelineConfig) String() string
type PipelineConfigs ¶ added in v0.1.18
type PipelineConfigs struct { Configs []*PipelineConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // !!!!!!!! IMPORTANT !!!!!!!!!! // // For internal use only in server. We need this because marshalling/encoding // an empty protobuf results in nil. If someone does a SetPipelines() with // empty pipeline IDs - we will set this, so that the encoded protobuf gets // written as the actual object and not nil. XIsEmpty *bool `protobuf:"varint,1000,opt,name=_is_empty,json=IsEmpty,proto3,oneof" json:"_is_empty,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // Used internally by server and k8s operator to determine who manages this resource/mapping XCreatedBy *string `protobuf:"bytes,1001,opt,name=_created_by,json=CreatedBy,proto3,oneof" json:"_created_by,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
PipelineConfigs is stored encoded in redis:streamdal_audience:$audStr; it is also used in external.GetAllResponse:config.
func (*PipelineConfigs) Descriptor
deprecated
added in
v0.1.18
func (*PipelineConfigs) Descriptor() ([]byte, []int)
Deprecated: Use PipelineConfigs.ProtoReflect.Descriptor instead.
func (*PipelineConfigs) GetConfigs ¶ added in v0.1.18
func (x *PipelineConfigs) GetConfigs() []*PipelineConfig
func (*PipelineConfigs) GetXCreatedBy ¶ added in v0.1.43
func (x *PipelineConfigs) GetXCreatedBy() string
func (*PipelineConfigs) GetXIsEmpty ¶ added in v0.1.18
func (x *PipelineConfigs) GetXIsEmpty() bool
func (*PipelineConfigs) ProtoMessage ¶ added in v0.1.18
func (*PipelineConfigs) ProtoMessage()
func (*PipelineConfigs) ProtoReflect ¶ added in v0.1.18
func (x *PipelineConfigs) ProtoReflect() protoreflect.Message
func (*PipelineConfigs) Reset ¶ added in v0.1.18
func (x *PipelineConfigs) Reset()
func (*PipelineConfigs) String ¶ added in v0.1.18
func (x *PipelineConfigs) String() string
type PipelineDataFormat ¶ added in v0.1.57
type PipelineDataFormat int32
const ( PipelineDataFormat_PIPELINE_DATA_FORMAT_UNSET PipelineDataFormat = 0 PipelineDataFormat_PIPELINE_DATA_FORMAT_JSON PipelineDataFormat = 1 PipelineDataFormat_PIPELINE_DATA_FORMAT_PLAINTEXT PipelineDataFormat = 2 )
func (PipelineDataFormat) Descriptor ¶ added in v0.1.57
func (PipelineDataFormat) Descriptor() protoreflect.EnumDescriptor
func (PipelineDataFormat) Enum ¶ added in v0.1.57
func (x PipelineDataFormat) Enum() *PipelineDataFormat
func (PipelineDataFormat) EnumDescriptor
deprecated
added in
v0.1.57
func (PipelineDataFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use PipelineDataFormat.Descriptor instead.
func (PipelineDataFormat) Number ¶ added in v0.1.57
func (x PipelineDataFormat) Number() protoreflect.EnumNumber
func (PipelineDataFormat) String ¶ added in v0.1.57
func (x PipelineDataFormat) String() string
func (PipelineDataFormat) Type ¶ added in v0.1.57
func (PipelineDataFormat) Type() protoreflect.EnumType
type PipelineInfo ¶
type PipelineInfo struct { // What audience(s) this pipeline is attached to (none if empty) Audiences []*Audience `protobuf:"bytes,1,rep,name=audiences,proto3" json:"audiences,omitempty"` // Pipeline config Pipeline *Pipeline `protobuf:"bytes,2,opt,name=pipeline,proto3" json:"pipeline,omitempty"` // contains filtered or unexported fields }
func (*PipelineInfo) Descriptor
deprecated
func (*PipelineInfo) Descriptor() ([]byte, []int)
Deprecated: Use PipelineInfo.ProtoReflect.Descriptor instead.
func (*PipelineInfo) GetAudiences ¶
func (x *PipelineInfo) GetAudiences() []*Audience
func (*PipelineInfo) GetPipeline ¶
func (x *PipelineInfo) GetPipeline() *Pipeline
func (*PipelineInfo) ProtoMessage ¶
func (*PipelineInfo) ProtoMessage()
func (*PipelineInfo) ProtoReflect ¶
func (x *PipelineInfo) ProtoReflect() protoreflect.Message
func (*PipelineInfo) Reset ¶
func (x *PipelineInfo) Reset()
func (*PipelineInfo) String ¶
func (x *PipelineInfo) String() string
type PipelineStatus ¶
type PipelineStatus struct { // ID of the pipeline Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the pipeline Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The status of each step in the pipeline StepStatus []*StepStatus `protobuf:"bytes,3,rep,name=step_status,json=stepStatus,proto3" json:"step_status,omitempty"` // contains filtered or unexported fields }
func (*PipelineStatus) Descriptor
deprecated
func (*PipelineStatus) Descriptor() ([]byte, []int)
Deprecated: Use PipelineStatus.ProtoReflect.Descriptor instead.
func (*PipelineStatus) GetId ¶
func (x *PipelineStatus) GetId() string
func (*PipelineStatus) GetName ¶
func (x *PipelineStatus) GetName() string
func (*PipelineStatus) GetStepStatus ¶
func (x *PipelineStatus) GetStepStatus() []*StepStatus
func (*PipelineStatus) ProtoMessage ¶
func (*PipelineStatus) ProtoMessage()
func (*PipelineStatus) ProtoReflect ¶
func (x *PipelineStatus) ProtoReflect() protoreflect.Message
func (*PipelineStatus) Reset ¶
func (x *PipelineStatus) Reset()
func (*PipelineStatus) String ¶
func (x *PipelineStatus) String() string
type PipelineStep ¶
type PipelineStep struct { // Friendly name for the step Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // SDKs should read this when Wasm returns 'true' to determine what to do next. OnTrue *PipelineStepConditions `protobuf:"bytes,2,opt,name=on_true,json=onTrue,proto3" json:"on_true,omitempty"` // SDKs should read this when Wasm returns 'false' to determine what to do next. OnFalse *PipelineStepConditions `protobuf:"bytes,3,opt,name=on_false,json=onFalse,proto3" json:"on_false,omitempty"` // Indicates whether to use the results from a previous step as input to this step Dynamic bool `protobuf:"varint,4,opt,name=dynamic,proto3" json:"dynamic,omitempty"` // SDKs should read this when Wasm returns 'error' to determine what to do next. OnError *PipelineStepConditions `protobuf:"bytes,5,opt,name=on_error,json=onError,proto3" json:"on_error,omitempty"` // Types that are assignable to Step: // // *PipelineStep_Detective // *PipelineStep_Transform // *PipelineStep_Encode // *PipelineStep_Decode // *PipelineStep_Custom // *PipelineStep_HttpRequest // *PipelineStep_Kv // *PipelineStep_InferSchema // *PipelineStep_ValidJson // *PipelineStep_SchemaValidation Step isPipelineStep_Step `protobuf_oneof:"step"` // Set by server UNLESS step is CustomStep XWasmId *string `protobuf:"bytes,10000,opt,name=_wasm_id,json=WasmId,proto3,oneof" json:"_wasm_id,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // Set by server XWasmBytes []byte `protobuf:"bytes,10001,opt,name=_wasm_bytes,json=WasmBytes,proto3,oneof" json:"_wasm_bytes,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // Set by server XWasmFunction *string `protobuf:"bytes,10002,opt,name=_wasm_function,json=WasmFunction,proto3,oneof" json:"_wasm_function,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
A pipeline step is a single step in a pipeline.
func (*PipelineStep) Descriptor
deprecated
func (*PipelineStep) Descriptor() ([]byte, []int)
Deprecated: Use PipelineStep.ProtoReflect.Descriptor instead.
func (*PipelineStep) GetCustom ¶
func (x *PipelineStep) GetCustom() *steps.CustomStep
func (*PipelineStep) GetDecode ¶
func (x *PipelineStep) GetDecode() *steps.DecodeStep
func (*PipelineStep) GetDetective ¶
func (x *PipelineStep) GetDetective() *steps.DetectiveStep
func (*PipelineStep) GetDynamic ¶ added in v0.1.13
func (x *PipelineStep) GetDynamic() bool
func (*PipelineStep) GetEncode ¶
func (x *PipelineStep) GetEncode() *steps.EncodeStep
func (*PipelineStep) GetHttpRequest ¶
func (x *PipelineStep) GetHttpRequest() *steps.HttpRequestStep
func (*PipelineStep) GetInferSchema ¶
func (x *PipelineStep) GetInferSchema() *steps.InferSchemaStep
func (*PipelineStep) GetKv ¶
func (x *PipelineStep) GetKv() *steps.KVStep
func (*PipelineStep) GetName ¶
func (x *PipelineStep) GetName() string
func (*PipelineStep) GetOnError ¶ added in v0.1.15
func (x *PipelineStep) GetOnError() *PipelineStepConditions
func (*PipelineStep) GetOnFalse ¶ added in v0.1.16
func (x *PipelineStep) GetOnFalse() *PipelineStepConditions
func (*PipelineStep) GetOnTrue ¶ added in v0.1.16
func (x *PipelineStep) GetOnTrue() *PipelineStepConditions
func (*PipelineStep) GetSchemaValidation ¶ added in v0.1.6
func (x *PipelineStep) GetSchemaValidation() *steps.SchemaValidationStep
func (*PipelineStep) GetStep ¶
func (m *PipelineStep) GetStep() isPipelineStep_Step
func (*PipelineStep) GetTransform ¶
func (x *PipelineStep) GetTransform() *steps.TransformStep
func (*PipelineStep) GetValidJson ¶
func (x *PipelineStep) GetValidJson() *steps.ValidJSONStep
func (*PipelineStep) GetXWasmBytes ¶
func (x *PipelineStep) GetXWasmBytes() []byte
func (*PipelineStep) GetXWasmFunction ¶
func (x *PipelineStep) GetXWasmFunction() string
func (*PipelineStep) GetXWasmId ¶
func (x *PipelineStep) GetXWasmId() string
func (*PipelineStep) ProtoMessage ¶
func (*PipelineStep) ProtoMessage()
func (*PipelineStep) ProtoReflect ¶
func (x *PipelineStep) ProtoReflect() protoreflect.Message
func (*PipelineStep) Reset ¶
func (x *PipelineStep) Reset()
func (*PipelineStep) String ¶
func (x *PipelineStep) String() string
type PipelineStepConditions ¶ added in v0.1.15
type PipelineStepConditions struct { // Should we abort execution? Abort AbortCondition `protobuf:"varint,1,opt,name=abort,proto3,enum=protos.AbortCondition" json:"abort,omitempty"` // Deprecated: Marked as deprecated in sp_pipeline.proto. Notify bool `protobuf:"varint,2,opt,name=notify,proto3" json:"notify,omitempty"` // Should we include additional metadata that SDK should pass back to user? Metadata map[string]string `` /* 157-byte string literal not displayed */ Notification *PipelineStepNotification `protobuf:"bytes,4,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
Conditions define how the SDK should handle a Wasm response in a step. Should it continue executing the pipeline, should it abort, should it notify and on_error. TODO: de-pluralize this name
func (*PipelineStepConditions) Descriptor
deprecated
added in
v0.1.15
func (*PipelineStepConditions) Descriptor() ([]byte, []int)
Deprecated: Use PipelineStepConditions.ProtoReflect.Descriptor instead.
func (*PipelineStepConditions) GetAbort ¶ added in v0.1.15
func (x *PipelineStepConditions) GetAbort() AbortCondition
func (*PipelineStepConditions) GetMetadata ¶ added in v0.1.15
func (x *PipelineStepConditions) GetMetadata() map[string]string
func (*PipelineStepConditions) GetNotification ¶ added in v0.1.19
func (x *PipelineStepConditions) GetNotification() *PipelineStepNotification
func (*PipelineStepConditions) GetNotify
deprecated
added in
v0.1.15
func (x *PipelineStepConditions) GetNotify() bool
Deprecated: Marked as deprecated in sp_pipeline.proto.
func (*PipelineStepConditions) ProtoMessage ¶ added in v0.1.15
func (*PipelineStepConditions) ProtoMessage()
func (*PipelineStepConditions) ProtoReflect ¶ added in v0.1.15
func (x *PipelineStepConditions) ProtoReflect() protoreflect.Message
func (*PipelineStepConditions) Reset ¶ added in v0.1.15
func (x *PipelineStepConditions) Reset()
func (*PipelineStepConditions) String ¶ added in v0.1.15
func (x *PipelineStepConditions) String() string
type PipelineStepNotification ¶ added in v0.1.19
type PipelineStepNotification struct { // The UUIDs of the notification config to use // This is kept separate to avoid having to configure slack/email settings // every time and also because that config info is sensitive and is encrypted NotificationConfigIds []string `` /* 126-byte string literal not displayed */ PayloadType PipelineStepNotification_PayloadType `` /* 144-byte string literal not displayed */ // If type == paths, then we will look here for a list of json paths to include // in the notification payload. Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*PipelineStepNotification) Descriptor
deprecated
added in
v0.1.19
func (*PipelineStepNotification) Descriptor() ([]byte, []int)
Deprecated: Use PipelineStepNotification.ProtoReflect.Descriptor instead.
func (*PipelineStepNotification) GetNotificationConfigIds ¶ added in v0.1.19
func (x *PipelineStepNotification) GetNotificationConfigIds() []string
func (*PipelineStepNotification) GetPaths ¶ added in v0.1.19
func (x *PipelineStepNotification) GetPaths() []string
func (*PipelineStepNotification) GetPayloadType ¶ added in v0.1.19
func (x *PipelineStepNotification) GetPayloadType() PipelineStepNotification_PayloadType
func (*PipelineStepNotification) ProtoMessage ¶ added in v0.1.19
func (*PipelineStepNotification) ProtoMessage()
func (*PipelineStepNotification) ProtoReflect ¶ added in v0.1.19
func (x *PipelineStepNotification) ProtoReflect() protoreflect.Message
func (*PipelineStepNotification) Reset ¶ added in v0.1.19
func (x *PipelineStepNotification) Reset()
func (*PipelineStepNotification) String ¶ added in v0.1.19
func (x *PipelineStepNotification) String() string
type PipelineStepNotification_PayloadType ¶ added in v0.1.19
type PipelineStepNotification_PayloadType int32
const ( // Same functionality as PAYLOAD_TYPE_EXCLUDE PipelineStepNotification_PAYLOAD_TYPE_UNSET PipelineStepNotification_PayloadType = 0 // Default. No payload data included in notification PipelineStepNotification_PAYLOAD_TYPE_EXCLUDE PipelineStepNotification_PayloadType = 1 // Entire payload content included in notification PipelineStepNotification_PAYLOAD_TYPE_FULL_PAYLOAD PipelineStepNotification_PayloadType = 2 // Only specified paths of payload content included in notification // Only works on JSON. Plaintext payloads will be ignored. PipelineStepNotification_PAYLOAD_TYPE_SELECT_PATHS PipelineStepNotification_PayloadType = 3 )
func (PipelineStepNotification_PayloadType) Descriptor ¶ added in v0.1.19
func (PipelineStepNotification_PayloadType) Descriptor() protoreflect.EnumDescriptor
func (PipelineStepNotification_PayloadType) Enum ¶ added in v0.1.19
func (x PipelineStepNotification_PayloadType) Enum() *PipelineStepNotification_PayloadType
func (PipelineStepNotification_PayloadType) EnumDescriptor
deprecated
added in
v0.1.19
func (PipelineStepNotification_PayloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PipelineStepNotification_PayloadType.Descriptor instead.
func (PipelineStepNotification_PayloadType) Number ¶ added in v0.1.19
func (x PipelineStepNotification_PayloadType) Number() protoreflect.EnumNumber
func (PipelineStepNotification_PayloadType) String ¶ added in v0.1.19
func (x PipelineStepNotification_PayloadType) String() string
func (PipelineStepNotification_PayloadType) Type ¶ added in v0.1.19
func (PipelineStepNotification_PayloadType) Type() protoreflect.EnumType
type PipelineStep_Custom ¶
type PipelineStep_Custom struct { // If set, _wasm_id MUST be set Custom *steps.CustomStep `protobuf:"bytes,1004,opt,name=custom,proto3,oneof"` }
type PipelineStep_Decode ¶
type PipelineStep_Decode struct {
Decode *steps.DecodeStep `protobuf:"bytes,1003,opt,name=decode,proto3,oneof"`
}
type PipelineStep_Detective ¶
type PipelineStep_Detective struct {
Detective *steps.DetectiveStep `protobuf:"bytes,1000,opt,name=detective,proto3,oneof"`
}
type PipelineStep_Encode ¶
type PipelineStep_Encode struct {
Encode *steps.EncodeStep `protobuf:"bytes,1002,opt,name=encode,proto3,oneof"`
}
type PipelineStep_HttpRequest ¶
type PipelineStep_HttpRequest struct {
HttpRequest *steps.HttpRequestStep `protobuf:"bytes,1005,opt,name=http_request,json=httpRequest,proto3,oneof"`
}
type PipelineStep_InferSchema ¶
type PipelineStep_InferSchema struct {
InferSchema *steps.InferSchemaStep `protobuf:"bytes,1007,opt,name=infer_schema,json=inferSchema,proto3,oneof"`
}
type PipelineStep_Kv ¶
type PipelineStep_SchemaValidation ¶ added in v0.1.6
type PipelineStep_SchemaValidation struct {
SchemaValidation *steps.SchemaValidationStep `protobuf:"bytes,1009,opt,name=schema_validation,json=schemaValidation,proto3,oneof"`
}
type PipelineStep_Transform ¶
type PipelineStep_Transform struct {
Transform *steps.TransformStep `protobuf:"bytes,1001,opt,name=transform,proto3,oneof"`
}
type PipelineStep_ValidJson ¶
type PipelineStep_ValidJson struct {
ValidJson *steps.ValidJSONStep `protobuf:"bytes,1008,opt,name=valid_json,json=validJson,proto3,oneof"`
}
type RegisterRequest ¶
type RegisterRequest struct { // REQUIRED -- Name of the service that is registering. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // REQUIRED -- Unique ID for this SDK instance. // // This should be generated every time the SDK is instantiated (oe. every // time a NEW registration is performed). SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // REQUIRED -- Info about the client (lib name, lang, os, arch, etc.) ClientInfo *ClientInfo `protobuf:"bytes,3,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` // OPTIONAL -- if these are defined, these will show up in the UI even if // there is no active .Process() call from the SDK. Audiences []*Audience `protobuf:"bytes,4,rep,name=audiences,proto3" json:"audiences,omitempty"` // OPTIONAL -- If set, we know that any pipelines or steps executed in this // SDK will NOT modify the input/output data. As in, the SDK will log what it // _would_ do and always return the original data set. DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetAudiences ¶
func (x *RegisterRequest) GetAudiences() []*Audience
func (*RegisterRequest) GetClientInfo ¶
func (x *RegisterRequest) GetClientInfo() *ClientInfo
func (*RegisterRequest) GetDryRun ¶
func (x *RegisterRequest) GetDryRun() bool
func (*RegisterRequest) GetServiceName ¶
func (x *RegisterRequest) GetServiceName() string
func (*RegisterRequest) GetSessionId ¶
func (x *RegisterRequest) GetSessionId() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type ResponseCode ¶
type ResponseCode int32
Common status codes used in gRPC method responses
const ( ResponseCode_RESPONSE_CODE_UNSET ResponseCode = 0 ResponseCode_RESPONSE_CODE_OK ResponseCode = 1 ResponseCode_RESPONSE_CODE_BAD_REQUEST ResponseCode = 2 ResponseCode_RESPONSE_CODE_NOT_FOUND ResponseCode = 3 ResponseCode_RESPONSE_CODE_INTERNAL_SERVER_ERROR ResponseCode = 4 ResponseCode_RESPONSE_CODE_GENERIC_ERROR ResponseCode = 5 )
func (ResponseCode) Descriptor ¶
func (ResponseCode) Descriptor() protoreflect.EnumDescriptor
func (ResponseCode) Enum ¶
func (x ResponseCode) Enum() *ResponseCode
func (ResponseCode) EnumDescriptor
deprecated
func (ResponseCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseCode.Descriptor instead.
func (ResponseCode) Number ¶
func (x ResponseCode) Number() protoreflect.EnumNumber
func (ResponseCode) String ¶
func (x ResponseCode) String() string
func (ResponseCode) Type ¶
func (ResponseCode) Type() protoreflect.EnumType
type ResumePipelineRequest ¶
type ResumePipelineRequest struct { PipelineId string `protobuf:"bytes,1,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` Audience *Audience `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*ResumePipelineRequest) Descriptor
deprecated
func (*ResumePipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumePipelineRequest.ProtoReflect.Descriptor instead.
func (*ResumePipelineRequest) GetAudience ¶
func (x *ResumePipelineRequest) GetAudience() *Audience
func (*ResumePipelineRequest) GetPipelineId ¶
func (x *ResumePipelineRequest) GetPipelineId() string
func (*ResumePipelineRequest) ProtoMessage ¶
func (*ResumePipelineRequest) ProtoMessage()
func (*ResumePipelineRequest) ProtoReflect ¶
func (x *ResumePipelineRequest) ProtoReflect() protoreflect.Message
func (*ResumePipelineRequest) Reset ¶
func (x *ResumePipelineRequest) Reset()
func (*ResumePipelineRequest) String ¶
func (x *ResumePipelineRequest) String() string
type ResumeTailRequest ¶
type ResumeTailRequest struct { TailId string `protobuf:"bytes,1,opt,name=tail_id,json=tailId,proto3" json:"tail_id,omitempty"` // contains filtered or unexported fields }
func (*ResumeTailRequest) Descriptor
deprecated
func (*ResumeTailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeTailRequest.ProtoReflect.Descriptor instead.
func (*ResumeTailRequest) GetTailId ¶
func (x *ResumeTailRequest) GetTailId() string
func (*ResumeTailRequest) ProtoMessage ¶
func (*ResumeTailRequest) ProtoMessage()
func (*ResumeTailRequest) ProtoReflect ¶
func (x *ResumeTailRequest) ProtoReflect() protoreflect.Message
func (*ResumeTailRequest) Reset ¶
func (x *ResumeTailRequest) Reset()
func (*ResumeTailRequest) String ¶
func (x *ResumeTailRequest) String() string
type SDKMode ¶ added in v0.1.55
type SDKMode int32
const ( SDKMode_SDK_MODE_UNSET SDKMode = 0 // Process() will handle the message inline. // This method should be used when you need to modify the input data and pass // the modified data back to your application SDKMode_SDK_MODE_SYNC SDKMode = 1 // Process() will handle the message asynchronously in a worker. // The SDKResponse will not contain any modified data. This mode should // only be used when you don't need to modify and pass it back to your // application, such as when discovering/monitoring PII only SDKMode_SDK_MODE_ASYNC SDKMode = 2 )
func (SDKMode) Descriptor ¶ added in v0.1.55
func (SDKMode) Descriptor() protoreflect.EnumDescriptor
func (SDKMode) EnumDescriptor
deprecated
added in
v0.1.55
func (SDKMode) Number ¶ added in v0.1.55
func (x SDKMode) Number() protoreflect.EnumNumber
func (SDKMode) Type ¶ added in v0.1.55
func (SDKMode) Type() protoreflect.EnumType
type SDKResponse ¶
type SDKResponse struct { // Contains (potentially) modified input data Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Execution status of the last step Status ExecStatus `protobuf:"varint,2,opt,name=status,proto3,enum=protos.ExecStatus" json:"status,omitempty"` // Optional message accompanying the exec status for the last step StatusMessage *string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3,oneof" json:"status_message,omitempty"` // An array of pipelines that the SDK executed and the status of each step PipelineStatus []*PipelineStatus `protobuf:"bytes,4,rep,name=pipeline_status,json=pipelineStatus,proto3" json:"pipeline_status,omitempty"` // Includes any metadata that the step(s) may want to pass back to the user. // // NOTE: Metadata is aggregated across all steps in the pipeline, so if two // steps both set a key "foo" to different values, the value of "foo" in the // response will be the value set by the last step in the pipeline. // // To learn more about "metadata", see SDK Spec V2 doc "Pipeline Step & Error // Behavior" section. Metadata map[string]string `` /* 157-byte string literal not displayed */ // SDKMode is purely an informative field that tells the user the mode that the // SDK was running in when the response was generated. SdkMode SDKMode `protobuf:"varint,6,opt,name=sdk_mode,json=sdkMode,proto3,enum=protos.SDKMode" json:"sdk_mode,omitempty"` // contains filtered or unexported fields }
Common return response used by all SDKs
func (*SDKResponse) Descriptor
deprecated
func (*SDKResponse) Descriptor() ([]byte, []int)
Deprecated: Use SDKResponse.ProtoReflect.Descriptor instead.
func (*SDKResponse) GetData ¶
func (x *SDKResponse) GetData() []byte
func (*SDKResponse) GetMetadata ¶ added in v0.1.15
func (x *SDKResponse) GetMetadata() map[string]string
func (*SDKResponse) GetPipelineStatus ¶
func (x *SDKResponse) GetPipelineStatus() []*PipelineStatus
func (*SDKResponse) GetSdkMode ¶ added in v0.1.55
func (x *SDKResponse) GetSdkMode() SDKMode
func (*SDKResponse) GetStatus ¶ added in v0.1.16
func (x *SDKResponse) GetStatus() ExecStatus
func (*SDKResponse) GetStatusMessage ¶ added in v0.1.16
func (x *SDKResponse) GetStatusMessage() string
func (*SDKResponse) ProtoMessage ¶
func (*SDKResponse) ProtoMessage()
func (*SDKResponse) ProtoReflect ¶
func (x *SDKResponse) ProtoReflect() protoreflect.Message
func (*SDKResponse) Reset ¶
func (x *SDKResponse) Reset()
func (*SDKResponse) String ¶
func (x *SDKResponse) String() string
type SampleOptions ¶
type SampleOptions struct { SampleRate uint32 `protobuf:"varint,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` SampleIntervalSeconds uint32 `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SampleOptions) Descriptor
deprecated
func (*SampleOptions) Descriptor() ([]byte, []int)
Deprecated: Use SampleOptions.ProtoReflect.Descriptor instead.
func (*SampleOptions) GetSampleIntervalSeconds ¶
func (x *SampleOptions) GetSampleIntervalSeconds() uint32
func (*SampleOptions) GetSampleRate ¶
func (x *SampleOptions) GetSampleRate() uint32
func (*SampleOptions) ProtoMessage ¶
func (*SampleOptions) ProtoMessage()
func (*SampleOptions) ProtoReflect ¶
func (x *SampleOptions) ProtoReflect() protoreflect.Message
func (*SampleOptions) Reset ¶
func (x *SampleOptions) Reset()
func (*SampleOptions) String ¶
func (x *SampleOptions) String() string
type Schema ¶
type Schema struct { JsonSchema []byte `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"` XVersion int32 `protobuf:"varint,100,opt,name=_version,json=Version,proto3" json:"_version,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE XMetadata map[string]string `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Schema) Descriptor
deprecated
func (*Schema) GetJsonSchema ¶
func (*Schema) GetXMetadata ¶
func (*Schema) GetXVersion ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SendSchemaRequest ¶
type SendSchemaRequest struct { Audience *Audience `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
func (*SendSchemaRequest) Descriptor
deprecated
func (*SendSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendSchemaRequest.ProtoReflect.Descriptor instead.
func (*SendSchemaRequest) GetAudience ¶
func (x *SendSchemaRequest) GetAudience() *Audience
func (*SendSchemaRequest) GetSchema ¶
func (x *SendSchemaRequest) GetSchema() *Schema
func (*SendSchemaRequest) ProtoMessage ¶
func (*SendSchemaRequest) ProtoMessage()
func (*SendSchemaRequest) ProtoReflect ¶
func (x *SendSchemaRequest) ProtoReflect() protoreflect.Message
func (*SendSchemaRequest) Reset ¶
func (x *SendSchemaRequest) Reset()
func (*SendSchemaRequest) String ¶
func (x *SendSchemaRequest) String() string
type SetPipelinesCommand ¶ added in v0.1.17
type SetPipelinesCommand struct { Pipelines []*Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"` // ID = wasm ID WasmModules map[string]*shared.WasmModule `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetPipelinesCommand) Descriptor
deprecated
added in
v0.1.17
func (*SetPipelinesCommand) Descriptor() ([]byte, []int)
Deprecated: Use SetPipelinesCommand.ProtoReflect.Descriptor instead.
func (*SetPipelinesCommand) GetPipelines ¶ added in v0.1.17
func (x *SetPipelinesCommand) GetPipelines() []*Pipeline
func (*SetPipelinesCommand) GetWasmModules ¶ added in v0.1.33
func (x *SetPipelinesCommand) GetWasmModules() map[string]*shared.WasmModule
func (*SetPipelinesCommand) ProtoMessage ¶ added in v0.1.17
func (*SetPipelinesCommand) ProtoMessage()
func (*SetPipelinesCommand) ProtoReflect ¶ added in v0.1.17
func (x *SetPipelinesCommand) ProtoReflect() protoreflect.Message
func (*SetPipelinesCommand) Reset ¶ added in v0.1.17
func (x *SetPipelinesCommand) Reset()
func (*SetPipelinesCommand) String ¶ added in v0.1.17
func (x *SetPipelinesCommand) String() string
type SetPipelinesRequest ¶ added in v0.1.17
type SetPipelinesRequest struct { PipelineIds []string `protobuf:"bytes,1,rep,name=pipeline_ids,json=pipelineIds,proto3" json:"pipeline_ids,omitempty"` Audience *Audience `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` // Used by automation tooling XCreatedBy *string `protobuf:"bytes,100,opt,name=_created_by,json=CreatedBy,proto3,oneof" json:"_created_by,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
func (*SetPipelinesRequest) Descriptor
deprecated
added in
v0.1.17
func (*SetPipelinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPipelinesRequest.ProtoReflect.Descriptor instead.
func (*SetPipelinesRequest) GetAudience ¶ added in v0.1.17
func (x *SetPipelinesRequest) GetAudience() *Audience
func (*SetPipelinesRequest) GetPipelineIds ¶ added in v0.1.17
func (x *SetPipelinesRequest) GetPipelineIds() []string
func (*SetPipelinesRequest) GetXCreatedBy ¶ added in v0.1.44
func (x *SetPipelinesRequest) GetXCreatedBy() string
func (*SetPipelinesRequest) ProtoMessage ¶ added in v0.1.17
func (*SetPipelinesRequest) ProtoMessage()
func (*SetPipelinesRequest) ProtoReflect ¶ added in v0.1.17
func (x *SetPipelinesRequest) ProtoReflect() protoreflect.Message
func (*SetPipelinesRequest) Reset ¶ added in v0.1.17
func (x *SetPipelinesRequest) Reset()
func (*SetPipelinesRequest) String ¶ added in v0.1.17
func (x *SetPipelinesRequest) String() string
type StandardResponse ¶
type StandardResponse struct { // Co-relation ID for the request / response Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Code ResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protos.ResponseCode" json:"code,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
Common response message for many gRPC methods
func (*StandardResponse) Descriptor
deprecated
func (*StandardResponse) Descriptor() ([]byte, []int)
Deprecated: Use StandardResponse.ProtoReflect.Descriptor instead.
func (*StandardResponse) GetCode ¶
func (x *StandardResponse) GetCode() ResponseCode
func (*StandardResponse) GetId ¶
func (x *StandardResponse) GetId() string
func (*StandardResponse) GetMessage ¶
func (x *StandardResponse) GetMessage() string
func (*StandardResponse) ProtoMessage ¶
func (*StandardResponse) ProtoMessage()
func (*StandardResponse) ProtoReflect ¶
func (x *StandardResponse) ProtoReflect() protoreflect.Message
func (*StandardResponse) Reset ¶
func (x *StandardResponse) Reset()
func (*StandardResponse) String ¶
func (x *StandardResponse) String() string
type StepStatus ¶
type StepStatus struct { // The name of the step Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Execution outcome status of the step Status ExecStatus `protobuf:"varint,2,opt,name=status,proto3,enum=protos.ExecStatus" json:"status,omitempty"` // Optional message accompanying the exec status StatusMessage *string `protobuf:"bytes,3,opt,name=status_message,json=statusMessage,proto3,oneof" json:"status_message,omitempty"` // Indicates if current or all future pipelines were aborted. // // IMPORTANT: The SDK running into an error does not automatically abort // current or all future pipelines - the user must define the abort conditions // for "on_error". AbortCondition AbortCondition `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StepStatus) Descriptor
deprecated
func (*StepStatus) Descriptor() ([]byte, []int)
Deprecated: Use StepStatus.ProtoReflect.Descriptor instead.
func (*StepStatus) GetAbortCondition ¶ added in v0.1.16
func (x *StepStatus) GetAbortCondition() AbortCondition
func (*StepStatus) GetName ¶
func (x *StepStatus) GetName() string
func (*StepStatus) GetStatus ¶ added in v0.1.16
func (x *StepStatus) GetStatus() ExecStatus
func (*StepStatus) GetStatusMessage ¶ added in v0.1.16
func (x *StepStatus) GetStatusMessage() string
func (*StepStatus) ProtoMessage ¶
func (*StepStatus) ProtoMessage()
func (*StepStatus) ProtoReflect ¶
func (x *StepStatus) ProtoReflect() protoreflect.Message
func (*StepStatus) Reset ¶
func (x *StepStatus) Reset()
func (*StepStatus) String ¶
func (x *StepStatus) String() string
type TailCommand ¶
type TailCommand struct { Request *TailRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*TailCommand) Descriptor
deprecated
func (*TailCommand) Descriptor() ([]byte, []int)
Deprecated: Use TailCommand.ProtoReflect.Descriptor instead.
func (*TailCommand) GetRequest ¶
func (x *TailCommand) GetRequest() *TailRequest
func (*TailCommand) ProtoMessage ¶
func (*TailCommand) ProtoMessage()
func (*TailCommand) ProtoReflect ¶
func (x *TailCommand) ProtoReflect() protoreflect.Message
func (*TailCommand) Reset ¶
func (x *TailCommand) Reset()
func (*TailCommand) String ¶
func (x *TailCommand) String() string
type TailRequest ¶
type TailRequest struct { Type TailRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=protos.TailRequestType" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Audience *Audience `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` // Deprecated: Marked as deprecated in sp_common.proto. PipelineId *string `protobuf:"bytes,4,opt,name=pipeline_id,json=pipelineId,proto3,oneof" json:"pipeline_id,omitempty"` SampleOptions *SampleOptions `protobuf:"bytes,5,opt,name=sample_options,json=sampleOptions,proto3" json:"sample_options,omitempty"` XMetadata map[string]string `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TailRequest) Descriptor
deprecated
func (*TailRequest) Descriptor() ([]byte, []int)
Deprecated: Use TailRequest.ProtoReflect.Descriptor instead.
func (*TailRequest) GetAudience ¶
func (x *TailRequest) GetAudience() *Audience
func (*TailRequest) GetId ¶
func (x *TailRequest) GetId() string
func (*TailRequest) GetPipelineId
deprecated
func (x *TailRequest) GetPipelineId() string
Deprecated: Marked as deprecated in sp_common.proto.
func (*TailRequest) GetSampleOptions ¶
func (x *TailRequest) GetSampleOptions() *SampleOptions
func (*TailRequest) GetType ¶
func (x *TailRequest) GetType() TailRequestType
func (*TailRequest) GetXMetadata ¶
func (x *TailRequest) GetXMetadata() map[string]string
func (*TailRequest) ProtoMessage ¶
func (*TailRequest) ProtoMessage()
func (*TailRequest) ProtoReflect ¶
func (x *TailRequest) ProtoReflect() protoreflect.Message
func (*TailRequest) Reset ¶
func (x *TailRequest) Reset()
func (*TailRequest) String ¶
func (x *TailRequest) String() string
type TailRequestType ¶
type TailRequestType int32
const ( TailRequestType_TAIL_REQUEST_TYPE_UNSET TailRequestType = 0 TailRequestType_TAIL_REQUEST_TYPE_START TailRequestType = 1 TailRequestType_TAIL_REQUEST_TYPE_STOP TailRequestType = 2 TailRequestType_TAIL_REQUEST_TYPE_PAUSE TailRequestType = 3 TailRequestType_TAIL_REQUEST_TYPE_RESUME TailRequestType = 4 )
func (TailRequestType) Descriptor ¶
func (TailRequestType) Descriptor() protoreflect.EnumDescriptor
func (TailRequestType) Enum ¶
func (x TailRequestType) Enum() *TailRequestType
func (TailRequestType) EnumDescriptor
deprecated
func (TailRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TailRequestType.Descriptor instead.
func (TailRequestType) Number ¶
func (x TailRequestType) Number() protoreflect.EnumNumber
func (TailRequestType) String ¶
func (x TailRequestType) String() string
func (TailRequestType) Type ¶
func (TailRequestType) Type() protoreflect.EnumType
type TailResponse ¶
type TailResponse struct { Type TailResponseType `protobuf:"varint,1,opt,name=type,proto3,enum=protos.TailResponseType" json:"type,omitempty"` TailRequestId string `protobuf:"bytes,2,opt,name=tail_request_id,json=tailRequestId,proto3" json:"tail_request_id,omitempty"` Audience *Audience `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` PipelineId string `protobuf:"bytes,4,opt,name=pipeline_id,json=pipelineId,proto3" json:"pipeline_id,omitempty"` SessionId string `protobuf:"bytes,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Timestamp in nanoseconds TimestampNs int64 `protobuf:"varint,6,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` // Payload data. For errors, this will be the error message // For payloads, this will be JSON of the payload data, post processing OriginalData []byte `protobuf:"bytes,7,opt,name=original_data,json=originalData,proto3" json:"original_data,omitempty"` // For payloads, this will be the new data, post processing NewData []byte `protobuf:"bytes,8,opt,name=new_data,json=newData,proto3" json:"new_data,omitempty"` XMetadata map[string]string `` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE /* 176-byte string literal not displayed */ // Set by server to indicate that the response is a keepalive message XKeepalive *bool `protobuf:"varint,1001,opt,name=_keepalive,json=Keepalive,proto3,oneof" json:"_keepalive,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE // contains filtered or unexported fields }
TailResponse originates in the SDK and then is sent to streamdal servers where it is forwarded to the correct frontend streaming gRPC connection
func (*TailResponse) Descriptor
deprecated
func (*TailResponse) Descriptor() ([]byte, []int)
Deprecated: Use TailResponse.ProtoReflect.Descriptor instead.
func (*TailResponse) GetAudience ¶
func (x *TailResponse) GetAudience() *Audience
func (*TailResponse) GetNewData ¶
func (x *TailResponse) GetNewData() []byte
func (*TailResponse) GetOriginalData ¶
func (x *TailResponse) GetOriginalData() []byte
func (*TailResponse) GetPipelineId ¶
func (x *TailResponse) GetPipelineId() string
func (*TailResponse) GetSessionId ¶
func (x *TailResponse) GetSessionId() string
func (*TailResponse) GetTailRequestId ¶
func (x *TailResponse) GetTailRequestId() string
func (*TailResponse) GetTimestampNs ¶
func (x *TailResponse) GetTimestampNs() int64
func (*TailResponse) GetType ¶
func (x *TailResponse) GetType() TailResponseType
func (*TailResponse) GetXKeepalive ¶
func (x *TailResponse) GetXKeepalive() bool
func (*TailResponse) GetXMetadata ¶
func (x *TailResponse) GetXMetadata() map[string]string
func (*TailResponse) ProtoMessage ¶
func (*TailResponse) ProtoMessage()
func (*TailResponse) ProtoReflect ¶
func (x *TailResponse) ProtoReflect() protoreflect.Message
func (*TailResponse) Reset ¶
func (x *TailResponse) Reset()
func (*TailResponse) String ¶
func (x *TailResponse) String() string
type TailResponseType ¶
type TailResponseType int32
const ( TailResponseType_TAIL_RESPONSE_TYPE_UNSET TailResponseType = 0 TailResponseType_TAIL_RESPONSE_TYPE_PAYLOAD TailResponseType = 1 TailResponseType_TAIL_RESPONSE_TYPE_ERROR TailResponseType = 2 )
func (TailResponseType) Descriptor ¶
func (TailResponseType) Descriptor() protoreflect.EnumDescriptor
func (TailResponseType) Enum ¶
func (x TailResponseType) Enum() *TailResponseType
func (TailResponseType) EnumDescriptor
deprecated
func (TailResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TailResponseType.Descriptor instead.
func (TailResponseType) Number ¶
func (x TailResponseType) Number() protoreflect.EnumNumber
func (TailResponseType) String ¶
func (x TailResponseType) String() string
func (TailResponseType) Type ¶
func (TailResponseType) Type() protoreflect.EnumType
type TestRequest ¶
type TestRequest struct { Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // contains filtered or unexported fields }
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetInput ¶
func (x *TestRequest) GetInput() string
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct { Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetOutput ¶
func (x *TestResponse) GetOutput() string
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type UnimplementedExternalServer ¶
type UnimplementedExternalServer struct { }
UnimplementedExternalServer must be embedded to have forward compatible implementations.
func (UnimplementedExternalServer) AppRegister ¶
func (UnimplementedExternalServer) AppRegister(context.Context, *AppRegistrationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) AppRegisterReject ¶
func (UnimplementedExternalServer) AppRegisterReject(context.Context, *AppRegisterRejectRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) AppRegistrationStatus ¶
func (UnimplementedExternalServer) AppRegistrationStatus(context.Context, *AppRegistrationStatusRequest) (*AppRegistrationStatusResponse, error)
func (UnimplementedExternalServer) AppVerifyRegistration ¶
func (UnimplementedExternalServer) AppVerifyRegistration(context.Context, *AppVerifyRegistrationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) AttachNotification ¶
func (UnimplementedExternalServer) AttachNotification(context.Context, *AttachNotificationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) CreateAudience ¶ added in v0.1.31
func (UnimplementedExternalServer) CreateAudience(context.Context, *CreateAudienceRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) CreateNotification ¶
func (UnimplementedExternalServer) CreateNotification(context.Context, *CreateNotificationRequest) (*CreateNotificationResponse, error)
func (UnimplementedExternalServer) CreatePipeline ¶
func (UnimplementedExternalServer) CreatePipeline(context.Context, *CreatePipelineRequest) (*CreatePipelineResponse, error)
func (UnimplementedExternalServer) CreateWasm ¶ added in v0.1.37
func (UnimplementedExternalServer) CreateWasm(context.Context, *CreateWasmRequest) (*CreateWasmResponse, error)
func (UnimplementedExternalServer) DeleteAudience ¶
func (UnimplementedExternalServer) DeleteAudience(context.Context, *DeleteAudienceRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) DeleteNotification ¶
func (UnimplementedExternalServer) DeleteNotification(context.Context, *DeleteNotificationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) DeletePipeline ¶
func (UnimplementedExternalServer) DeletePipeline(context.Context, *DeletePipelineRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) DeleteService ¶
func (UnimplementedExternalServer) DeleteService(context.Context, *DeleteServiceRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) DeleteWasm ¶ added in v0.1.37
func (UnimplementedExternalServer) DeleteWasm(context.Context, *DeleteWasmRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) DetachNotification ¶
func (UnimplementedExternalServer) DetachNotification(context.Context, *DetachNotificationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) GetAll ¶
func (UnimplementedExternalServer) GetAll(context.Context, *GetAllRequest) (*GetAllResponse, error)
func (UnimplementedExternalServer) GetAllStream ¶
func (UnimplementedExternalServer) GetAllStream(*GetAllRequest, External_GetAllStreamServer) error
func (UnimplementedExternalServer) GetAllWasm ¶ added in v0.1.37
func (UnimplementedExternalServer) GetAllWasm(context.Context, *GetAllWasmRequest) (*GetAllWasmResponse, error)
func (UnimplementedExternalServer) GetAudienceRates ¶
func (UnimplementedExternalServer) GetAudienceRates(*GetAudienceRatesRequest, External_GetAudienceRatesServer) error
func (UnimplementedExternalServer) GetConfig ¶ added in v0.1.40
func (UnimplementedExternalServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedExternalServer) GetMetrics ¶
func (UnimplementedExternalServer) GetMetrics(*GetMetricsRequest, External_GetMetricsServer) error
func (UnimplementedExternalServer) GetNotification ¶
func (UnimplementedExternalServer) GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationResponse, error)
func (UnimplementedExternalServer) GetNotifications ¶
func (UnimplementedExternalServer) GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
func (UnimplementedExternalServer) GetPipeline ¶
func (UnimplementedExternalServer) GetPipeline(context.Context, *GetPipelineRequest) (*GetPipelineResponse, error)
func (UnimplementedExternalServer) GetPipelines ¶
func (UnimplementedExternalServer) GetPipelines(context.Context, *GetPipelinesRequest) (*GetPipelinesResponse, error)
func (UnimplementedExternalServer) GetSchema ¶
func (UnimplementedExternalServer) GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error)
func (UnimplementedExternalServer) GetWasm ¶ added in v0.1.37
func (UnimplementedExternalServer) GetWasm(context.Context, *GetWasmRequest) (*GetWasmResponse, error)
func (UnimplementedExternalServer) PausePipeline ¶
func (UnimplementedExternalServer) PausePipeline(context.Context, *PausePipelineRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) PauseTail ¶
func (UnimplementedExternalServer) PauseTail(context.Context, *PauseTailRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) ResumePipeline ¶
func (UnimplementedExternalServer) ResumePipeline(context.Context, *ResumePipelineRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) ResumeTail ¶
func (UnimplementedExternalServer) ResumeTail(context.Context, *ResumeTailRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) SetPipelines ¶ added in v0.1.17
func (UnimplementedExternalServer) SetPipelines(context.Context, *SetPipelinesRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) Tail ¶
func (UnimplementedExternalServer) Tail(*TailRequest, External_TailServer) error
func (UnimplementedExternalServer) Test ¶
func (UnimplementedExternalServer) Test(context.Context, *TestRequest) (*TestResponse, error)
func (UnimplementedExternalServer) UpdateNotification ¶
func (UnimplementedExternalServer) UpdateNotification(context.Context, *UpdateNotificationRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) UpdatePipeline ¶
func (UnimplementedExternalServer) UpdatePipeline(context.Context, *UpdatePipelineRequest) (*StandardResponse, error)
func (UnimplementedExternalServer) UpdateWasm ¶ added in v0.1.37
func (UnimplementedExternalServer) UpdateWasm(context.Context, *UpdateWasmRequest) (*StandardResponse, error)
type UnimplementedInternalServer ¶
type UnimplementedInternalServer struct { }
UnimplementedInternalServer must be embedded to have forward compatible implementations.
func (UnimplementedInternalServer) GetSetPipelinesCommandsByService ¶ added in v0.1.17
func (UnimplementedInternalServer) GetSetPipelinesCommandsByService(context.Context, *GetSetPipelinesCommandsByServiceRequest) (*GetSetPipelinesCommandsByServiceResponse, error)
func (UnimplementedInternalServer) Heartbeat ¶
func (UnimplementedInternalServer) Heartbeat(context.Context, *HeartbeatRequest) (*StandardResponse, error)
func (UnimplementedInternalServer) Metrics ¶
func (UnimplementedInternalServer) Metrics(context.Context, *MetricsRequest) (*StandardResponse, error)
func (UnimplementedInternalServer) NewAudience ¶
func (UnimplementedInternalServer) NewAudience(context.Context, *NewAudienceRequest) (*StandardResponse, error)
func (UnimplementedInternalServer) Notify ¶
func (UnimplementedInternalServer) Notify(context.Context, *NotifyRequest) (*StandardResponse, error)
func (UnimplementedInternalServer) Register ¶
func (UnimplementedInternalServer) Register(*RegisterRequest, Internal_RegisterServer) error
func (UnimplementedInternalServer) SendSchema ¶
func (UnimplementedInternalServer) SendSchema(context.Context, *SendSchemaRequest) (*StandardResponse, error)
func (UnimplementedInternalServer) SendTail ¶
func (UnimplementedInternalServer) SendTail(Internal_SendTailServer) error
type UnsafeExternalServer ¶
type UnsafeExternalServer interface {
// contains filtered or unexported methods
}
UnsafeExternalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExternalServer will result in compilation errors.
type UnsafeInternalServer ¶
type UnsafeInternalServer interface {
// contains filtered or unexported methods
}
UnsafeInternalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalServer will result in compilation errors.
type UpdateNotificationRequest ¶
type UpdateNotificationRequest struct { Notification *NotificationConfig `protobuf:"bytes,1,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*UpdateNotificationRequest) Descriptor
deprecated
func (*UpdateNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNotificationRequest.ProtoReflect.Descriptor instead.
func (*UpdateNotificationRequest) GetNotification ¶
func (x *UpdateNotificationRequest) GetNotification() *NotificationConfig
func (*UpdateNotificationRequest) ProtoMessage ¶
func (*UpdateNotificationRequest) ProtoMessage()
func (*UpdateNotificationRequest) ProtoReflect ¶
func (x *UpdateNotificationRequest) ProtoReflect() protoreflect.Message
func (*UpdateNotificationRequest) Reset ¶
func (x *UpdateNotificationRequest) Reset()
func (*UpdateNotificationRequest) String ¶
func (x *UpdateNotificationRequest) String() string
type UpdatePipelineRequest ¶
type UpdatePipelineRequest struct { Pipeline *Pipeline `protobuf:"bytes,1,opt,name=pipeline,proto3" json:"pipeline,omitempty"` PipelineJson []byte `protobuf:"bytes,2,opt,name=pipeline_json,json=pipelineJson,proto3,oneof" json:"pipeline_json,omitempty"` // contains filtered or unexported fields }
func (*UpdatePipelineRequest) Descriptor
deprecated
func (*UpdatePipelineRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePipelineRequest.ProtoReflect.Descriptor instead.
func (*UpdatePipelineRequest) GetPipeline ¶
func (x *UpdatePipelineRequest) GetPipeline() *Pipeline
func (*UpdatePipelineRequest) GetPipelineJson ¶ added in v0.1.38
func (x *UpdatePipelineRequest) GetPipelineJson() []byte
func (*UpdatePipelineRequest) ProtoMessage ¶
func (*UpdatePipelineRequest) ProtoMessage()
func (*UpdatePipelineRequest) ProtoReflect ¶
func (x *UpdatePipelineRequest) ProtoReflect() protoreflect.Message
func (*UpdatePipelineRequest) Reset ¶
func (x *UpdatePipelineRequest) Reset()
func (*UpdatePipelineRequest) String ¶
func (x *UpdatePipelineRequest) String() string
type UpdateWasmRequest ¶ added in v0.1.37
type UpdateWasmRequest struct { Wasm *shared.WasmModule `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` // contains filtered or unexported fields }
func (*UpdateWasmRequest) Descriptor
deprecated
added in
v0.1.37
func (*UpdateWasmRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWasmRequest.ProtoReflect.Descriptor instead.
func (*UpdateWasmRequest) GetWasm ¶ added in v0.1.37
func (x *UpdateWasmRequest) GetWasm() *shared.WasmModule
func (*UpdateWasmRequest) ProtoMessage ¶ added in v0.1.37
func (*UpdateWasmRequest) ProtoMessage()
func (*UpdateWasmRequest) ProtoReflect ¶ added in v0.1.37
func (x *UpdateWasmRequest) ProtoReflect() protoreflect.Message
func (*UpdateWasmRequest) Reset ¶ added in v0.1.37
func (x *UpdateWasmRequest) Reset()
func (*UpdateWasmRequest) String ¶ added in v0.1.37
func (x *UpdateWasmRequest) String() string
type WASMExitCode ¶
type WASMExitCode int32
Included in Wasm response; the SDK should use the WASMExitCode to determine what to do next - should it execute next step, should it notify or should it stop execution/abort the rest of the steps in current or all pipelines.
Example:
a. Wasm func returns WASM_EXIT_CODE_FALSE - read PipelineStep.on_false conditions to determine what to do next.
b. Wasm func returns WASM_EXIT_CODE_TRUE - read PipelineStep.on_true conditions to determine what to do next.
.. and so on. TODO: This might be a dupe - should Wasm use ExecStatus instead of this? protolint:disable:next ENUM_FIELD_NAMES_PREFIX
const ( WASMExitCode_WASM_EXIT_CODE_UNSET WASMExitCode = 0 WASMExitCode_WASM_EXIT_CODE_TRUE WASMExitCode = 1 WASMExitCode_WASM_EXIT_CODE_FALSE WASMExitCode = 2 WASMExitCode_WASM_EXIT_CODE_ERROR WASMExitCode = 3 )
func (WASMExitCode) Descriptor ¶
func (WASMExitCode) Descriptor() protoreflect.EnumDescriptor
func (WASMExitCode) Enum ¶
func (x WASMExitCode) Enum() *WASMExitCode
func (WASMExitCode) EnumDescriptor
deprecated
func (WASMExitCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use WASMExitCode.Descriptor instead.
func (WASMExitCode) Number ¶
func (x WASMExitCode) Number() protoreflect.EnumNumber
func (WASMExitCode) String ¶
func (x WASMExitCode) String() string
func (WASMExitCode) Type ¶
func (WASMExitCode) Type() protoreflect.EnumType
type WASMRequest ¶
type WASMRequest struct { // The actual step that the WASM func will operate on. This is the same step // that is declared in protos.Pipeline. Step *PipelineStep `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"` // Payload data that WASM func will operate on InputPayload []byte `protobuf:"bytes,2,opt,name=input_payload,json=inputPayload,proto3" json:"input_payload,omitempty"` // Potentially filled out result from previous step. If this is first step in // the pipeline, it will be empty. InputStep []byte `protobuf:"bytes,3,opt,name=input_step,json=inputStep,proto3,oneof" json:"input_step,omitempty"` // Potential input from a previous step if `Step.Dynamic == true` // This is used for communicating data between steps. // For example, when trying to find email addresses in a payload and // then passing on the results to a transform step to obfuscate them InterStepResult *InterStepResult `protobuf:"bytes,4,opt,name=inter_step_result,json=interStepResult,proto3,oneof" json:"inter_step_result,omitempty"` // Data format of the input payload. This is obtained from Pipeline.DataFormat DataFormat PipelineDataFormat `protobuf:"varint,5,opt,name=data_format,json=dataFormat,proto3,enum=protos.PipelineDataFormat" json:"data_format,omitempty"` // contains filtered or unexported fields }
SDK generates a WASM request and passes this to the WASM func
func (*WASMRequest) Descriptor
deprecated
func (*WASMRequest) Descriptor() ([]byte, []int)
Deprecated: Use WASMRequest.ProtoReflect.Descriptor instead.
func (*WASMRequest) GetDataFormat ¶ added in v0.1.57
func (x *WASMRequest) GetDataFormat() PipelineDataFormat
func (*WASMRequest) GetInputPayload ¶
func (x *WASMRequest) GetInputPayload() []byte
func (*WASMRequest) GetInputStep ¶
func (x *WASMRequest) GetInputStep() []byte
func (*WASMRequest) GetInterStepResult ¶ added in v0.1.13
func (x *WASMRequest) GetInterStepResult() *InterStepResult
func (*WASMRequest) GetStep ¶
func (x *WASMRequest) GetStep() *PipelineStep
func (*WASMRequest) ProtoMessage ¶
func (*WASMRequest) ProtoMessage()
func (*WASMRequest) ProtoReflect ¶
func (x *WASMRequest) ProtoReflect() protoreflect.Message
func (*WASMRequest) Reset ¶
func (x *WASMRequest) Reset()
func (*WASMRequest) String ¶
func (x *WASMRequest) String() string
type WASMResponse ¶
type WASMResponse struct { // Potentially modified input payload. Concept: All WASM funcs accept an // input_payload in WASMRequest, WASM func reads input payload, modifies it // and writes the modified output to output_payload. OutputPayload []byte `protobuf:"bytes,1,opt,name=output_payload,json=outputPayload,proto3" json:"output_payload,omitempty"` // Exit code that the WASM func exited with; more info in WASMExitCode's comment ExitCode WASMExitCode `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3,enum=protos.WASMExitCode" json:"exit_code,omitempty"` // Additional info about the reason a specific exit code was returned ExitMsg string `protobuf:"bytes,3,opt,name=exit_msg,json=exitMsg,proto3" json:"exit_msg,omitempty"` // Potential additional step output - ie. if a WASM func is an HTTPGet, // output_step would contain the HTTP response body; if the WASM func is a // KVGet, the output_step would be the value of the fetched key. OutputStep []byte `protobuf:"bytes,4,opt,name=output_step,json=outputStep,proto3,oneof" json:"output_step,omitempty"` // If `Step.Dynamic == true`, this field should be filled out by the WASM module // This is used for communicating data between steps. // For example, when trying to find email addresses in a payload and // then passing on the results to a transform step to obfuscate them InterStepResult *InterStepResult `protobuf:"bytes,5,opt,name=inter_step_result,json=interStepResult,proto3,oneof" json:"inter_step_result,omitempty"` // contains filtered or unexported fields }
Returned by all WASM functions
func (*WASMResponse) Descriptor
deprecated
func (*WASMResponse) Descriptor() ([]byte, []int)
Deprecated: Use WASMResponse.ProtoReflect.Descriptor instead.
func (*WASMResponse) GetExitCode ¶
func (x *WASMResponse) GetExitCode() WASMExitCode
func (*WASMResponse) GetExitMsg ¶
func (x *WASMResponse) GetExitMsg() string
func (*WASMResponse) GetInterStepResult ¶ added in v0.1.13
func (x *WASMResponse) GetInterStepResult() *InterStepResult
func (*WASMResponse) GetOutputPayload ¶
func (x *WASMResponse) GetOutputPayload() []byte
func (*WASMResponse) GetOutputStep ¶
func (x *WASMResponse) GetOutputStep() []byte
func (*WASMResponse) ProtoMessage ¶
func (*WASMResponse) ProtoMessage()
func (*WASMResponse) ProtoReflect ¶
func (x *WASMResponse) ProtoReflect() protoreflect.Message
func (*WASMResponse) Reset ¶
func (x *WASMResponse) Reset()
func (*WASMResponse) String ¶
func (x *WASMResponse) String() string