Documentation
¶
Index ¶
- Constants
- Variables
- func CapabilityRequestFromProto(pr *CapabilityRequest) (capabilities.CapabilityRequest, error)
- func CapabilityResponseFromProto(pr *CapabilityResponse) (capabilities.CapabilityResponse, error)
- func MarshalCapabilityRequest(req capabilities.CapabilityRequest) ([]byte, error)
- func MarshalCapabilityResponse(resp capabilities.CapabilityResponse) ([]byte, error)
- func MarshalRegisterToWorkflowRequest(req capabilities.RegisterToWorkflowRequest) ([]byte, error)
- func MarshalTriggerRegistrationRequest(req capabilities.TriggerRegistrationRequest) ([]byte, error)
- func MarshalTriggerResponse(resp capabilities.TriggerResponse) ([]byte, error)
- func MarshalUnregisterFromWorkflowRequest(req capabilities.UnregisterFromWorkflowRequest) ([]byte, error)
- func RegisterBaseCapabilityServer(s grpc.ServiceRegistrar, srv BaseCapabilityServer)
- func RegisterExecutableServer(s grpc.ServiceRegistrar, srv ExecutableServer)
- func RegisterStandardCapabilitiesServer(s grpc.ServiceRegistrar, srv StandardCapabilitiesServer)
- func RegisterToWorkflowRequestFromProto(req *RegisterToWorkflowRequest) (capabilities.RegisterToWorkflowRequest, error)
- func RegisterTriggerExecutableServer(s grpc.ServiceRegistrar, srv TriggerExecutableServer)
- func TriggerRegistrationRequestFromProto(req *TriggerRegistrationRequest) (capabilities.TriggerRegistrationRequest, error)
- func TriggerResponseFromProto(resp *TriggerResponse) (capabilities.TriggerResponse, error)
- func UnmarshalCapabilityRequest(raw []byte) (capabilities.CapabilityRequest, error)
- func UnmarshalCapabilityResponse(raw []byte) (capabilities.CapabilityResponse, error)
- func UnmarshalRegisterToWorkflowRequest(raw []byte) (capabilities.RegisterToWorkflowRequest, error)
- func UnmarshalTriggerRegistrationRequest(raw []byte) (capabilities.TriggerRegistrationRequest, error)
- func UnmarshalTriggerResponse(raw []byte) (capabilities.TriggerResponse, error)
- func UnmarshalUnregisterFromWorkflowRequest(raw []byte) (capabilities.UnregisterFromWorkflowRequest, error)
- func UnregisterFromWorkflowRequestFromProto(req *UnregisterFromWorkflowRequest) (capabilities.UnregisterFromWorkflowRequest, error)
- type AggregatorConfig
- func (*AggregatorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatorConfig) GetAggregatorType() AggregatorType
- func (*AggregatorConfig) ProtoMessage()
- func (x *AggregatorConfig) ProtoReflect() protoreflect.Message
- func (x *AggregatorConfig) Reset()
- func (x *AggregatorConfig) String() string
- type AggregatorType
- func (AggregatorType) Descriptor() protoreflect.EnumDescriptor
- func (x AggregatorType) Enum() *AggregatorType
- func (AggregatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AggregatorType) Number() protoreflect.EnumNumber
- func (x AggregatorType) String() string
- func (AggregatorType) Type() protoreflect.EnumType
- type BaseCapabilityClient
- type BaseCapabilityServer
- type CapabilityConfig
- func (*CapabilityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityConfig) GetDefaultConfig() *pb.Map
- func (x *CapabilityConfig) GetMethodConfigs() map[string]*CapabilityMethodConfig
- func (x *CapabilityConfig) GetRemoteConfig() isCapabilityConfig_RemoteConfig
- func (x *CapabilityConfig) GetRemoteExecutableConfig() *RemoteExecutableConfig
- func (x *CapabilityConfig) GetRemoteTargetConfig() *RemoteTargetConfig
- func (x *CapabilityConfig) GetRemoteTriggerConfig() *RemoteTriggerConfig
- func (x *CapabilityConfig) GetRestrictedConfig() *pb.Map
- func (x *CapabilityConfig) GetRestrictedKeys() []string
- func (*CapabilityConfig) ProtoMessage()
- func (x *CapabilityConfig) ProtoReflect() protoreflect.Message
- func (x *CapabilityConfig) Reset()
- func (x *CapabilityConfig) String() string
- type CapabilityConfig_RemoteExecutableConfig
- type CapabilityConfig_RemoteTargetConfig
- type CapabilityConfig_RemoteTriggerConfig
- type CapabilityInfoReply
- func (*CapabilityInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityInfoReply) GetCapabilityType() CapabilityType
- func (x *CapabilityInfoReply) GetDescription() string
- func (x *CapabilityInfoReply) GetId() string
- func (x *CapabilityInfoReply) GetIsLocal() bool
- func (x *CapabilityInfoReply) GetSpendTypes() []string
- func (x *CapabilityInfoReply) GetVersion() string
- func (*CapabilityInfoReply) ProtoMessage()
- func (x *CapabilityInfoReply) ProtoReflect() protoreflect.Message
- func (x *CapabilityInfoReply) Reset()
- func (x *CapabilityInfoReply) String() string
- type CapabilityInfosReply
- func (*CapabilityInfosReply) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityInfosReply) GetInfos() []*CapabilityInfoReply
- func (*CapabilityInfosReply) ProtoMessage()
- func (x *CapabilityInfosReply) ProtoReflect() protoreflect.Message
- func (x *CapabilityInfosReply) Reset()
- func (x *CapabilityInfosReply) String() string
- type CapabilityMethodConfig
- func (*CapabilityMethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityMethodConfig) GetAggregatorConfig() *AggregatorConfig
- func (x *CapabilityMethodConfig) GetRemoteConfig() isCapabilityMethodConfig_RemoteConfig
- func (x *CapabilityMethodConfig) GetRemoteExecutableConfig() *RemoteExecutableConfig
- func (x *CapabilityMethodConfig) GetRemoteTriggerConfig() *RemoteTriggerConfig
- func (*CapabilityMethodConfig) ProtoMessage()
- func (x *CapabilityMethodConfig) ProtoReflect() protoreflect.Message
- func (x *CapabilityMethodConfig) Reset()
- func (x *CapabilityMethodConfig) String() string
- type CapabilityMethodConfig_RemoteExecutableConfig
- type CapabilityMethodConfig_RemoteTriggerConfig
- type CapabilityRequest
- func (*CapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityRequest) GetCapabilityId() string
- func (x *CapabilityRequest) GetConfig() *pb.Map
- func (x *CapabilityRequest) GetConfigPayload() *anypb.Any
- func (x *CapabilityRequest) GetInputs() *pb.Map
- func (x *CapabilityRequest) GetMetadata() *RequestMetadata
- func (x *CapabilityRequest) GetMethod() string
- func (x *CapabilityRequest) GetPayload() *anypb.Any
- func (*CapabilityRequest) ProtoMessage()
- func (x *CapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *CapabilityRequest) Reset()
- func (x *CapabilityRequest) String() string
- type CapabilityResponse
- func (*CapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CapabilityResponse) GetError() string
- func (x *CapabilityResponse) GetMetadata() *ResponseMetadata
- func (x *CapabilityResponse) GetPayload() *anypb.Any
- func (x *CapabilityResponse) GetValue() *pb.Map
- func (*CapabilityResponse) ProtoMessage()
- func (x *CapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *CapabilityResponse) Reset()
- func (x *CapabilityResponse) String() string
- type CapabilityType
- func (CapabilityType) Descriptor() protoreflect.EnumDescriptor
- func (x CapabilityType) Enum() *CapabilityType
- func (CapabilityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CapabilityType) Number() protoreflect.EnumNumber
- func (x CapabilityType) String() string
- func (CapabilityType) Type() protoreflect.EnumType
- type ExecutableClient
- type ExecutableServer
- type Executable_ExecuteClient
- type Executable_ExecuteServer
- type InitialiseRequest
- func (*InitialiseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitialiseRequest) GetCapRegistryId() uint32
- func (x *InitialiseRequest) GetConfig() string
- func (x *InitialiseRequest) GetErrorLogId() uint32
- func (x *InitialiseRequest) GetGatewayConnectorId() uint32
- func (x *InitialiseRequest) GetKeyValueStoreId() uint32
- func (x *InitialiseRequest) GetKeystoreId() uint32
- func (x *InitialiseRequest) GetOracleFactoryId() uint32
- func (x *InitialiseRequest) GetPipelineRunnerId() uint32
- func (x *InitialiseRequest) GetRelayerSetId() uint32
- func (x *InitialiseRequest) GetTelemetryId() uint32
- func (*InitialiseRequest) ProtoMessage()
- func (x *InitialiseRequest) ProtoReflect() protoreflect.Message
- func (x *InitialiseRequest) Reset()
- func (x *InitialiseRequest) String() string
- type OCRAttributedOnchainSignature
- func (*OCRAttributedOnchainSignature) Descriptor() ([]byte, []int)deprecated
- func (x *OCRAttributedOnchainSignature) GetSignature() []byte
- func (x *OCRAttributedOnchainSignature) GetSigner() uint32
- func (*OCRAttributedOnchainSignature) ProtoMessage()
- func (x *OCRAttributedOnchainSignature) ProtoReflect() protoreflect.Message
- func (x *OCRAttributedOnchainSignature) Reset()
- func (x *OCRAttributedOnchainSignature) String() string
- type OCRTriggerEvent
- func (*OCRTriggerEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OCRTriggerEvent) GetConfigDigest() []byte
- func (x *OCRTriggerEvent) GetReport() []byte
- func (x *OCRTriggerEvent) GetSeqNr() uint64
- func (x *OCRTriggerEvent) GetSigs() []*OCRAttributedOnchainSignature
- func (*OCRTriggerEvent) ProtoMessage()
- func (x *OCRTriggerEvent) ProtoReflect() protoreflect.Message
- func (x *OCRTriggerEvent) Reset()
- func (x *OCRTriggerEvent) String() string
- type OCRTriggerReport
- func (*OCRTriggerReport) Descriptor() ([]byte, []int)deprecated
- func (x *OCRTriggerReport) GetEventID() string
- func (x *OCRTriggerReport) GetOutputs() *pb.Map
- func (x *OCRTriggerReport) GetTimestamp() uint64
- func (*OCRTriggerReport) ProtoMessage()
- func (x *OCRTriggerReport) ProtoReflect() protoreflect.Message
- func (x *OCRTriggerReport) Reset()
- func (x *OCRTriggerReport) String() string
- type RegisterToWorkflowRequest
- func (*RegisterToWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterToWorkflowRequest) GetConfig() *pb.Map
- func (x *RegisterToWorkflowRequest) GetMetadata() *RegistrationMetadata
- func (*RegisterToWorkflowRequest) ProtoMessage()
- func (x *RegisterToWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterToWorkflowRequest) Reset()
- func (x *RegisterToWorkflowRequest) String() string
- type RegistrationMetadata
- func (*RegistrationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RegistrationMetadata) GetReferenceId() string
- func (x *RegistrationMetadata) GetWorkflowId() string
- func (x *RegistrationMetadata) GetWorkflowOwner() string
- func (*RegistrationMetadata) ProtoMessage()
- func (x *RegistrationMetadata) ProtoReflect() protoreflect.Message
- func (x *RegistrationMetadata) Reset()
- func (x *RegistrationMetadata) String() string
- type RemoteExecutableConfig
- func (*RemoteExecutableConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteExecutableConfig) GetDeltaStage() *durationpb.Duration
- func (x *RemoteExecutableConfig) GetRequestHashExcludedAttributes() []string
- func (x *RemoteExecutableConfig) GetRequestHasherType() RequestHasherType
- func (x *RemoteExecutableConfig) GetRequestTimeout() *durationpb.Duration
- func (x *RemoteExecutableConfig) GetServerMaxParallelRequests() uint32
- func (x *RemoteExecutableConfig) GetTransmissionSchedule() TransmissionSchedule
- func (*RemoteExecutableConfig) ProtoMessage()
- func (x *RemoteExecutableConfig) ProtoReflect() protoreflect.Message
- func (x *RemoteExecutableConfig) Reset()
- func (x *RemoteExecutableConfig) String() string
- type RemoteTargetConfig
- func (*RemoteTargetConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteTargetConfig) GetRequestHashExcludedAttributes() []string
- func (*RemoteTargetConfig) ProtoMessage()
- func (x *RemoteTargetConfig) ProtoReflect() protoreflect.Message
- func (x *RemoteTargetConfig) Reset()
- func (x *RemoteTargetConfig) String() string
- type RemoteTriggerConfig
- func (*RemoteTriggerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteTriggerConfig) GetBatchCollectionPeriod() *durationpb.Duration
- func (x *RemoteTriggerConfig) GetMaxBatchSize() uint32
- func (x *RemoteTriggerConfig) GetMessageExpiry() *durationpb.Duration
- func (x *RemoteTriggerConfig) GetMinResponsesToAggregate() uint32
- func (x *RemoteTriggerConfig) GetRegistrationExpiry() *durationpb.Duration
- func (x *RemoteTriggerConfig) GetRegistrationRefresh() *durationpb.Duration
- func (*RemoteTriggerConfig) ProtoMessage()
- func (x *RemoteTriggerConfig) ProtoReflect() protoreflect.Message
- func (x *RemoteTriggerConfig) Reset()
- func (x *RemoteTriggerConfig) String() string
- type RequestHasherType
- func (RequestHasherType) Descriptor() protoreflect.EnumDescriptor
- func (x RequestHasherType) Enum() *RequestHasherType
- func (RequestHasherType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestHasherType) Number() protoreflect.EnumNumber
- func (x RequestHasherType) String() string
- func (RequestHasherType) Type() protoreflect.EnumType
- type RequestMetadata
- func (*RequestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RequestMetadata) GetDecodedWorkflowName() string
- func (x *RequestMetadata) GetReferenceId() string
- func (x *RequestMetadata) GetSpendLimits() []*SpendLimit
- func (x *RequestMetadata) GetWorkflowDonConfigVersion() uint32
- func (x *RequestMetadata) GetWorkflowDonId() uint32
- func (x *RequestMetadata) GetWorkflowExecutionId() string
- func (x *RequestMetadata) GetWorkflowId() string
- func (x *RequestMetadata) GetWorkflowName() string
- func (x *RequestMetadata) GetWorkflowOwner() string
- func (x *RequestMetadata) GetWorkflowTag() string
- func (*RequestMetadata) ProtoMessage()
- func (x *RequestMetadata) ProtoReflect() protoreflect.Message
- func (x *RequestMetadata) Reset()
- func (x *RequestMetadata) String() string
- type ResponseMetadata
- func (*ResponseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMetadata) GetMetering() []*pb1.MeteringReportNodeDetail
- func (*ResponseMetadata) ProtoMessage()
- func (x *ResponseMetadata) ProtoReflect() protoreflect.Message
- func (x *ResponseMetadata) Reset()
- func (x *ResponseMetadata) String() string
- type SpendLimit
- type StandardCapabilitiesClient
- type StandardCapabilitiesServer
- type TransmissionSchedule
- func (TransmissionSchedule) Descriptor() protoreflect.EnumDescriptor
- func (x TransmissionSchedule) Enum() *TransmissionSchedule
- func (TransmissionSchedule) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransmissionSchedule) Number() protoreflect.EnumNumber
- func (x TransmissionSchedule) String() string
- func (TransmissionSchedule) Type() protoreflect.EnumType
- type TriggerEvent
- func (*TriggerEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerEvent) GetId() string
- func (x *TriggerEvent) GetOutputs() *pb.Map
- func (x *TriggerEvent) GetPayload() *anypb.Any
- func (x *TriggerEvent) GetTriggerType() string
- func (*TriggerEvent) ProtoMessage()
- func (x *TriggerEvent) ProtoReflect() protoreflect.Message
- func (x *TriggerEvent) Reset()
- func (x *TriggerEvent) String() string
- type TriggerExecutableClient
- type TriggerExecutableServer
- type TriggerExecutable_RegisterTriggerClient
- type TriggerExecutable_RegisterTriggerServer
- type TriggerRegistrationRequest
- func (*TriggerRegistrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerRegistrationRequest) GetConfig() *pb.Map
- func (x *TriggerRegistrationRequest) GetMetadata() *RequestMetadata
- func (x *TriggerRegistrationRequest) GetMethod() string
- func (x *TriggerRegistrationRequest) GetPayload() *anypb.Any
- func (x *TriggerRegistrationRequest) GetTriggerId() string
- func (*TriggerRegistrationRequest) ProtoMessage()
- func (x *TriggerRegistrationRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerRegistrationRequest) Reset()
- func (x *TriggerRegistrationRequest) String() string
- type TriggerResponse
- func (*TriggerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerResponse) GetError() string
- func (x *TriggerResponse) GetEvent() *TriggerEvent
- func (*TriggerResponse) ProtoMessage()
- func (x *TriggerResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerResponse) Reset()
- func (x *TriggerResponse) String() string
- type TriggerResponseMessage
- func (*TriggerResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerResponseMessage) GetAck() *emptypb.Empty
- func (x *TriggerResponseMessage) GetMessage() isTriggerResponseMessage_Message
- func (x *TriggerResponseMessage) GetResponse() *TriggerResponse
- func (*TriggerResponseMessage) ProtoMessage()
- func (x *TriggerResponseMessage) ProtoReflect() protoreflect.Message
- func (x *TriggerResponseMessage) Reset()
- func (x *TriggerResponseMessage) String() string
- type TriggerResponseMessage_Ack
- type TriggerResponseMessage_Response
- type UnimplementedBaseCapabilityServer
- type UnimplementedExecutableServer
- func (UnimplementedExecutableServer) Execute(*CapabilityRequest, grpc.ServerStreamingServer[CapabilityResponse]) error
- func (UnimplementedExecutableServer) RegisterToWorkflow(context.Context, *RegisterToWorkflowRequest) (*emptypb.Empty, error)
- func (UnimplementedExecutableServer) UnregisterFromWorkflow(context.Context, *UnregisterFromWorkflowRequest) (*emptypb.Empty, error)
- type UnimplementedStandardCapabilitiesServer
- type UnimplementedTriggerExecutableServer
- type UnregisterFromWorkflowRequest
- func (*UnregisterFromWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnregisterFromWorkflowRequest) GetConfig() *pb.Map
- func (x *UnregisterFromWorkflowRequest) GetMetadata() *RegistrationMetadata
- func (*UnregisterFromWorkflowRequest) ProtoMessage()
- func (x *UnregisterFromWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *UnregisterFromWorkflowRequest) Reset()
- func (x *UnregisterFromWorkflowRequest) String() string
- type UnsafeBaseCapabilityServer
- type UnsafeExecutableServer
- type UnsafeStandardCapabilitiesServer
- type UnsafeTriggerExecutableServer
Constants ¶
const ( TriggerExecutable_RegisterTrigger_FullMethodName = "/capabilities.TriggerExecutable/RegisterTrigger" TriggerExecutable_UnregisterTrigger_FullMethodName = "/capabilities.TriggerExecutable/UnregisterTrigger" )
const ( Executable_RegisterToWorkflow_FullMethodName = "/capabilities.Executable/RegisterToWorkflow" Executable_UnregisterFromWorkflow_FullMethodName = "/capabilities.Executable/UnregisterFromWorkflow" Executable_Execute_FullMethodName = "/capabilities.Executable/Execute" )
const ( StandardCapabilities_Initialise_FullMethodName = "/capabilities.StandardCapabilities/Initialise" StandardCapabilities_Infos_FullMethodName = "/capabilities.StandardCapabilities/Infos" )
const ( CapabilityTypeUnknown = CapabilityType_CAPABILITY_TYPE_UNKNOWN CapabilityTypeTrigger = CapabilityType_CAPABILITY_TYPE_TRIGGER CapabilityTypeAction = CapabilityType_CAPABILITY_TYPE_ACTION CapabilityTypeConsensus = CapabilityType_CAPABILITY_TYPE_CONSENSUS CapabilityTypeTarget = CapabilityType_CAPABILITY_TYPE_TARGET CapabilityTypeCombined = CapabilityType_CAPABILITY_TYPE_COMBINED )
const (
BaseCapability_Info_FullMethodName = "/capabilities.BaseCapability/Info"
)
Variables ¶
var ( CapabilityType_name = map[int32]string{ 0: "CAPABILITY_TYPE_UNKNOWN", 1: "CAPABILITY_TYPE_TRIGGER", 2: "CAPABILITY_TYPE_ACTION", 3: "CAPABILITY_TYPE_CONSENSUS", 4: "CAPABILITY_TYPE_TARGET", 5: "CAPABILITY_TYPE_COMBINED", } CapabilityType_value = map[string]int32{ "CAPABILITY_TYPE_UNKNOWN": 0, "CAPABILITY_TYPE_TRIGGER": 1, "CAPABILITY_TYPE_ACTION": 2, "CAPABILITY_TYPE_CONSENSUS": 3, "CAPABILITY_TYPE_TARGET": 4, "CAPABILITY_TYPE_COMBINED": 5, } )
Enum value maps for CapabilityType.
var ( TransmissionSchedule_name = map[int32]string{ 0: "AllAtOnce", 1: "OneAtATime", } TransmissionSchedule_value = map[string]int32{ "AllAtOnce": 0, "OneAtATime": 1, } )
Enum value maps for TransmissionSchedule.
var ( RequestHasherType_name = map[int32]string{ 0: "Simple", 1: "WriteReportExcludeSignatures", } RequestHasherType_value = map[string]int32{ "Simple": 0, "WriteReportExcludeSignatures": 1, } )
Enum value maps for RequestHasherType.
var ( AggregatorType_name = map[int32]string{ 0: "Mode", 1: "SignedReport", } AggregatorType_value = map[string]int32{ "Mode": 0, "SignedReport": 1, } )
Enum value maps for AggregatorType.
var BaseCapability_ServiceDesc = grpc.ServiceDesc{ ServiceName: "capabilities.BaseCapability", HandlerType: (*BaseCapabilityServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Info", Handler: _BaseCapability_Info_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "capabilities.proto", }
BaseCapability_ServiceDesc is the grpc.ServiceDesc for BaseCapability service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Executable_ServiceDesc = grpc.ServiceDesc{ ServiceName: "capabilities.Executable", HandlerType: (*ExecutableServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterToWorkflow", Handler: _Executable_RegisterToWorkflow_Handler, }, { MethodName: "UnregisterFromWorkflow", Handler: _Executable_UnregisterFromWorkflow_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Execute", Handler: _Executable_Execute_Handler, ServerStreams: true, }, }, Metadata: "capabilities.proto", }
Executable_ServiceDesc is the grpc.ServiceDesc for Executable service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_capabilities_proto protoreflect.FileDescriptor
var File_registry_proto protoreflect.FileDescriptor
var File_triggers_proto protoreflect.FileDescriptor
var StandardCapabilities_ServiceDesc = grpc.ServiceDesc{ ServiceName: "capabilities.StandardCapabilities", HandlerType: (*StandardCapabilitiesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Initialise", Handler: _StandardCapabilities_Initialise_Handler, }, { MethodName: "Infos", Handler: _StandardCapabilities_Infos_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "capabilities.proto", }
StandardCapabilities_ServiceDesc is the grpc.ServiceDesc for StandardCapabilities service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TriggerExecutable_ServiceDesc = grpc.ServiceDesc{ ServiceName: "capabilities.TriggerExecutable", HandlerType: (*TriggerExecutableServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UnregisterTrigger", Handler: _TriggerExecutable_UnregisterTrigger_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "RegisterTrigger", Handler: _TriggerExecutable_RegisterTrigger_Handler, ServerStreams: true, }, }, Metadata: "capabilities.proto", }
TriggerExecutable_ServiceDesc is the grpc.ServiceDesc for TriggerExecutable service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func CapabilityRequestFromProto ¶
func CapabilityRequestFromProto(pr *CapabilityRequest) (capabilities.CapabilityRequest, error)
func CapabilityResponseFromProto ¶
func CapabilityResponseFromProto(pr *CapabilityResponse) (capabilities.CapabilityResponse, error)
func MarshalCapabilityRequest ¶
func MarshalCapabilityRequest(req capabilities.CapabilityRequest) ([]byte, error)
func MarshalCapabilityResponse ¶
func MarshalCapabilityResponse(resp capabilities.CapabilityResponse) ([]byte, error)
func MarshalRegisterToWorkflowRequest ¶ added in v0.4.0
func MarshalRegisterToWorkflowRequest(req capabilities.RegisterToWorkflowRequest) ([]byte, error)
func MarshalTriggerRegistrationRequest ¶ added in v0.2.2
func MarshalTriggerRegistrationRequest(req capabilities.TriggerRegistrationRequest) ([]byte, error)
func MarshalTriggerResponse ¶ added in v0.2.2
func MarshalTriggerResponse(resp capabilities.TriggerResponse) ([]byte, error)
func MarshalUnregisterFromWorkflowRequest ¶ added in v0.4.0
func MarshalUnregisterFromWorkflowRequest(req capabilities.UnregisterFromWorkflowRequest) ([]byte, error)
func RegisterBaseCapabilityServer ¶
func RegisterBaseCapabilityServer(s grpc.ServiceRegistrar, srv BaseCapabilityServer)
func RegisterExecutableServer ¶ added in v0.2.2
func RegisterExecutableServer(s grpc.ServiceRegistrar, srv ExecutableServer)
func RegisterStandardCapabilitiesServer ¶
func RegisterStandardCapabilitiesServer(s grpc.ServiceRegistrar, srv StandardCapabilitiesServer)
func RegisterToWorkflowRequestFromProto ¶ added in v0.4.0
func RegisterToWorkflowRequestFromProto(req *RegisterToWorkflowRequest) (capabilities.RegisterToWorkflowRequest, error)
func RegisterTriggerExecutableServer ¶
func RegisterTriggerExecutableServer(s grpc.ServiceRegistrar, srv TriggerExecutableServer)
func TriggerRegistrationRequestFromProto ¶ added in v0.2.2
func TriggerRegistrationRequestFromProto(req *TriggerRegistrationRequest) (capabilities.TriggerRegistrationRequest, error)
func TriggerResponseFromProto ¶ added in v0.2.2
func TriggerResponseFromProto(resp *TriggerResponse) (capabilities.TriggerResponse, error)
func UnmarshalCapabilityRequest ¶
func UnmarshalCapabilityRequest(raw []byte) (capabilities.CapabilityRequest, error)
func UnmarshalCapabilityResponse ¶
func UnmarshalCapabilityResponse(raw []byte) (capabilities.CapabilityResponse, error)
func UnmarshalRegisterToWorkflowRequest ¶ added in v0.4.0
func UnmarshalRegisterToWorkflowRequest(raw []byte) (capabilities.RegisterToWorkflowRequest, error)
func UnmarshalTriggerRegistrationRequest ¶ added in v0.2.2
func UnmarshalTriggerRegistrationRequest(raw []byte) (capabilities.TriggerRegistrationRequest, error)
func UnmarshalTriggerResponse ¶ added in v0.2.2
func UnmarshalTriggerResponse(raw []byte) (capabilities.TriggerResponse, error)
func UnmarshalUnregisterFromWorkflowRequest ¶ added in v0.4.0
func UnmarshalUnregisterFromWorkflowRequest(raw []byte) (capabilities.UnregisterFromWorkflowRequest, error)
func UnregisterFromWorkflowRequestFromProto ¶ added in v0.4.0
func UnregisterFromWorkflowRequestFromProto(req *UnregisterFromWorkflowRequest) (capabilities.UnregisterFromWorkflowRequest, error)
Types ¶
type AggregatorConfig ¶ added in v0.9.5
type AggregatorConfig struct {
AggregatorType AggregatorType `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*AggregatorConfig) Descriptor
deprecated
added in
v0.9.5
func (*AggregatorConfig) Descriptor() ([]byte, []int)
Deprecated: Use AggregatorConfig.ProtoReflect.Descriptor instead.
func (*AggregatorConfig) GetAggregatorType ¶ added in v0.9.5
func (x *AggregatorConfig) GetAggregatorType() AggregatorType
func (*AggregatorConfig) ProtoMessage ¶ added in v0.9.5
func (*AggregatorConfig) ProtoMessage()
func (*AggregatorConfig) ProtoReflect ¶ added in v0.9.5
func (x *AggregatorConfig) ProtoReflect() protoreflect.Message
func (*AggregatorConfig) Reset ¶ added in v0.9.5
func (x *AggregatorConfig) Reset()
func (*AggregatorConfig) String ¶ added in v0.9.5
func (x *AggregatorConfig) String() string
type AggregatorType ¶ added in v0.9.5
type AggregatorType int32
const ( AggregatorType_Mode AggregatorType = 0 AggregatorType_SignedReport AggregatorType = 1 )
func (AggregatorType) Descriptor ¶ added in v0.9.5
func (AggregatorType) Descriptor() protoreflect.EnumDescriptor
func (AggregatorType) Enum ¶ added in v0.9.5
func (x AggregatorType) Enum() *AggregatorType
func (AggregatorType) EnumDescriptor
deprecated
added in
v0.9.5
func (AggregatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AggregatorType.Descriptor instead.
func (AggregatorType) Number ¶ added in v0.9.5
func (x AggregatorType) Number() protoreflect.EnumNumber
func (AggregatorType) String ¶ added in v0.9.5
func (x AggregatorType) String() string
func (AggregatorType) Type ¶ added in v0.9.5
func (AggregatorType) Type() protoreflect.EnumType
type BaseCapabilityClient ¶
type BaseCapabilityClient interface {
Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CapabilityInfoReply, error)
}
BaseCapabilityClient is the client API for BaseCapability 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 NewBaseCapabilityClient ¶
func NewBaseCapabilityClient(cc grpc.ClientConnInterface) BaseCapabilityClient
type BaseCapabilityServer ¶
type BaseCapabilityServer interface {
Info(context.Context, *emptypb.Empty) (*CapabilityInfoReply, error)
// contains filtered or unexported methods
}
BaseCapabilityServer is the server API for BaseCapability service. All implementations must embed UnimplementedBaseCapabilityServer for forward compatibility.
type CapabilityConfig ¶ added in v0.2.2
type CapabilityConfig struct {
DefaultConfig *pb.Map `protobuf:"bytes,1,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
// Types that are valid to be assigned to RemoteConfig:
//
// *CapabilityConfig_RemoteTriggerConfig
// *CapabilityConfig_RemoteTargetConfig
// *CapabilityConfig_RemoteExecutableConfig
RemoteConfig isCapabilityConfig_RemoteConfig `protobuf_oneof:"remote_config"`
RestrictedConfig *pb.Map `protobuf:"bytes,5,opt,name=restricted_config,json=restrictedConfig,proto3" json:"restricted_config,omitempty"`
RestrictedKeys []string `protobuf:"bytes,6,rep,name=restricted_keys,json=restrictedKeys,proto3" json:"restricted_keys,omitempty"`
// v2 ("NoDAG") capabilities
MethodConfigs map[string]*CapabilityMethodConfig `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CapabilityConfig) Descriptor
deprecated
added in
v0.2.2
func (*CapabilityConfig) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityConfig.ProtoReflect.Descriptor instead.
func (*CapabilityConfig) GetDefaultConfig ¶ added in v0.2.2
func (x *CapabilityConfig) GetDefaultConfig() *pb.Map
func (*CapabilityConfig) GetMethodConfigs ¶ added in v0.9.5
func (x *CapabilityConfig) GetMethodConfigs() map[string]*CapabilityMethodConfig
func (*CapabilityConfig) GetRemoteConfig ¶ added in v0.2.2
func (x *CapabilityConfig) GetRemoteConfig() isCapabilityConfig_RemoteConfig
func (*CapabilityConfig) GetRemoteExecutableConfig ¶ added in v0.4.0
func (x *CapabilityConfig) GetRemoteExecutableConfig() *RemoteExecutableConfig
func (*CapabilityConfig) GetRemoteTargetConfig ¶ added in v0.2.2
func (x *CapabilityConfig) GetRemoteTargetConfig() *RemoteTargetConfig
func (*CapabilityConfig) GetRemoteTriggerConfig ¶ added in v0.2.2
func (x *CapabilityConfig) GetRemoteTriggerConfig() *RemoteTriggerConfig
func (*CapabilityConfig) GetRestrictedConfig ¶ added in v0.5.0
func (x *CapabilityConfig) GetRestrictedConfig() *pb.Map
func (*CapabilityConfig) GetRestrictedKeys ¶ added in v0.5.0
func (x *CapabilityConfig) GetRestrictedKeys() []string
func (*CapabilityConfig) ProtoMessage ¶ added in v0.2.2
func (*CapabilityConfig) ProtoMessage()
func (*CapabilityConfig) ProtoReflect ¶ added in v0.2.2
func (x *CapabilityConfig) ProtoReflect() protoreflect.Message
func (*CapabilityConfig) Reset ¶ added in v0.2.2
func (x *CapabilityConfig) Reset()
func (*CapabilityConfig) String ¶ added in v0.2.2
func (x *CapabilityConfig) String() string
type CapabilityConfig_RemoteExecutableConfig ¶ added in v0.4.0
type CapabilityConfig_RemoteExecutableConfig struct {
RemoteExecutableConfig *RemoteExecutableConfig `protobuf:"bytes,4,opt,name=remote_executable_config,json=remoteExecutableConfig,proto3,oneof"`
}
type CapabilityConfig_RemoteTargetConfig ¶ added in v0.2.2
type CapabilityConfig_RemoteTargetConfig struct {
RemoteTargetConfig *RemoteTargetConfig `protobuf:"bytes,3,opt,name=remote_target_config,json=remoteTargetConfig,proto3,oneof"`
}
type CapabilityConfig_RemoteTriggerConfig ¶ added in v0.2.2
type CapabilityConfig_RemoteTriggerConfig struct {
RemoteTriggerConfig *RemoteTriggerConfig `protobuf:"bytes,2,opt,name=remote_trigger_config,json=remoteTriggerConfig,proto3,oneof"`
}
type CapabilityInfoReply ¶
type CapabilityInfoReply struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
CapabilityType CapabilityType `` /* 137-byte string literal not displayed */
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
IsLocal bool `protobuf:"varint,5,opt,name=isLocal,proto3" json:"isLocal,omitempty"`
SpendTypes []string `protobuf:"bytes,6,rep,name=spend_types,json=spendTypes,proto3" json:"spend_types,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityInfoReply) Descriptor
deprecated
func (*CapabilityInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityInfoReply.ProtoReflect.Descriptor instead.
func (*CapabilityInfoReply) GetCapabilityType ¶
func (x *CapabilityInfoReply) GetCapabilityType() CapabilityType
func (*CapabilityInfoReply) GetDescription ¶
func (x *CapabilityInfoReply) GetDescription() string
func (*CapabilityInfoReply) GetId ¶
func (x *CapabilityInfoReply) GetId() string
func (*CapabilityInfoReply) GetIsLocal ¶ added in v0.2.2
func (x *CapabilityInfoReply) GetIsLocal() bool
func (*CapabilityInfoReply) GetSpendTypes ¶ added in v0.7.1
func (x *CapabilityInfoReply) GetSpendTypes() []string
func (*CapabilityInfoReply) GetVersion ¶
func (x *CapabilityInfoReply) GetVersion() string
func (*CapabilityInfoReply) ProtoMessage ¶
func (*CapabilityInfoReply) ProtoMessage()
func (*CapabilityInfoReply) ProtoReflect ¶
func (x *CapabilityInfoReply) ProtoReflect() protoreflect.Message
func (*CapabilityInfoReply) Reset ¶
func (x *CapabilityInfoReply) Reset()
func (*CapabilityInfoReply) String ¶
func (x *CapabilityInfoReply) String() string
type CapabilityInfosReply ¶
type CapabilityInfosReply struct {
Infos []*CapabilityInfoReply `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityInfosReply) Descriptor
deprecated
func (*CapabilityInfosReply) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityInfosReply.ProtoReflect.Descriptor instead.
func (*CapabilityInfosReply) GetInfos ¶
func (x *CapabilityInfosReply) GetInfos() []*CapabilityInfoReply
func (*CapabilityInfosReply) ProtoMessage ¶
func (*CapabilityInfosReply) ProtoMessage()
func (*CapabilityInfosReply) ProtoReflect ¶
func (x *CapabilityInfosReply) ProtoReflect() protoreflect.Message
func (*CapabilityInfosReply) Reset ¶
func (x *CapabilityInfosReply) Reset()
func (*CapabilityInfosReply) String ¶
func (x *CapabilityInfosReply) String() string
type CapabilityMethodConfig ¶ added in v0.9.5
type CapabilityMethodConfig struct {
// Types that are valid to be assigned to RemoteConfig:
//
// *CapabilityMethodConfig_RemoteTriggerConfig
// *CapabilityMethodConfig_RemoteExecutableConfig
RemoteConfig isCapabilityMethodConfig_RemoteConfig `protobuf_oneof:"remote_config"`
AggregatorConfig *AggregatorConfig `protobuf:"bytes,3,opt,name=aggregator_config,json=aggregatorConfig,proto3" json:"aggregator_config,omitempty"`
// contains filtered or unexported fields
}
func (*CapabilityMethodConfig) Descriptor
deprecated
added in
v0.9.5
func (*CapabilityMethodConfig) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityMethodConfig.ProtoReflect.Descriptor instead.
func (*CapabilityMethodConfig) GetAggregatorConfig ¶ added in v0.9.5
func (x *CapabilityMethodConfig) GetAggregatorConfig() *AggregatorConfig
func (*CapabilityMethodConfig) GetRemoteConfig ¶ added in v0.9.5
func (x *CapabilityMethodConfig) GetRemoteConfig() isCapabilityMethodConfig_RemoteConfig
func (*CapabilityMethodConfig) GetRemoteExecutableConfig ¶ added in v0.9.5
func (x *CapabilityMethodConfig) GetRemoteExecutableConfig() *RemoteExecutableConfig
func (*CapabilityMethodConfig) GetRemoteTriggerConfig ¶ added in v0.9.5
func (x *CapabilityMethodConfig) GetRemoteTriggerConfig() *RemoteTriggerConfig
func (*CapabilityMethodConfig) ProtoMessage ¶ added in v0.9.5
func (*CapabilityMethodConfig) ProtoMessage()
func (*CapabilityMethodConfig) ProtoReflect ¶ added in v0.9.5
func (x *CapabilityMethodConfig) ProtoReflect() protoreflect.Message
func (*CapabilityMethodConfig) Reset ¶ added in v0.9.5
func (x *CapabilityMethodConfig) Reset()
func (*CapabilityMethodConfig) String ¶ added in v0.9.5
func (x *CapabilityMethodConfig) String() string
type CapabilityMethodConfig_RemoteExecutableConfig ¶ added in v0.9.5
type CapabilityMethodConfig_RemoteExecutableConfig struct {
RemoteExecutableConfig *RemoteExecutableConfig `protobuf:"bytes,2,opt,name=remote_executable_config,json=remoteExecutableConfig,proto3,oneof"`
}
type CapabilityMethodConfig_RemoteTriggerConfig ¶ added in v0.9.5
type CapabilityMethodConfig_RemoteTriggerConfig struct {
RemoteTriggerConfig *RemoteTriggerConfig `protobuf:"bytes,1,opt,name=remote_trigger_config,json=remoteTriggerConfig,proto3,oneof"`
}
type CapabilityRequest ¶
type CapabilityRequest struct {
Metadata *RequestMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Used for DAG SDK
Config *pb.Map `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// Used for DAG SDK
Inputs *pb.Map `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"`
// Used for no DAG SDK
Payload *anypb.Any `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// Used for no DAG SDK
ConfigPayload *anypb.Any `protobuf:"bytes,5,opt,name=configPayload,proto3" json:"configPayload,omitempty"`
// Used for no DAG SDK
Method string `protobuf:"bytes,6,opt,name=method,proto3" json:"method,omitempty"`
CapabilityId string `protobuf:"bytes,7,opt,name=capabilityId,proto3" json:"capabilityId,omitempty"`
// contains filtered or unexported fields
}
func CapabilityRequestToProto ¶
func CapabilityRequestToProto(req capabilities.CapabilityRequest) *CapabilityRequest
func (*CapabilityRequest) Descriptor
deprecated
func (*CapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityRequest.ProtoReflect.Descriptor instead.
func (*CapabilityRequest) GetCapabilityId ¶ added in v0.7.1
func (x *CapabilityRequest) GetCapabilityId() string
func (*CapabilityRequest) GetConfig ¶
func (x *CapabilityRequest) GetConfig() *pb.Map
func (*CapabilityRequest) GetConfigPayload ¶ added in v0.7.1
func (x *CapabilityRequest) GetConfigPayload() *anypb.Any
func (*CapabilityRequest) GetInputs ¶
func (x *CapabilityRequest) GetInputs() *pb.Map
func (*CapabilityRequest) GetMetadata ¶
func (x *CapabilityRequest) GetMetadata() *RequestMetadata
func (*CapabilityRequest) GetMethod ¶ added in v0.7.1
func (x *CapabilityRequest) GetMethod() string
func (*CapabilityRequest) GetPayload ¶ added in v0.7.1
func (x *CapabilityRequest) GetPayload() *anypb.Any
func (*CapabilityRequest) ProtoMessage ¶
func (*CapabilityRequest) ProtoMessage()
func (*CapabilityRequest) ProtoReflect ¶
func (x *CapabilityRequest) ProtoReflect() protoreflect.Message
func (*CapabilityRequest) Reset ¶
func (x *CapabilityRequest) Reset()
func (*CapabilityRequest) String ¶
func (x *CapabilityRequest) String() string
type CapabilityResponse ¶
type CapabilityResponse struct {
// Used for DAG SDK
Value *pb.Map `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Used for no DAG SDK
Payload *anypb.Any `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func CapabilityResponseToProto ¶
func CapabilityResponseToProto(resp capabilities.CapabilityResponse) *CapabilityResponse
func (*CapabilityResponse) Descriptor
deprecated
func (*CapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CapabilityResponse.ProtoReflect.Descriptor instead.
func (*CapabilityResponse) GetError ¶
func (x *CapabilityResponse) GetError() string
func (*CapabilityResponse) GetMetadata ¶ added in v0.6.0
func (x *CapabilityResponse) GetMetadata() *ResponseMetadata
func (*CapabilityResponse) GetPayload ¶ added in v0.7.1
func (x *CapabilityResponse) GetPayload() *anypb.Any
func (*CapabilityResponse) GetValue ¶
func (x *CapabilityResponse) GetValue() *pb.Map
func (*CapabilityResponse) ProtoMessage ¶
func (*CapabilityResponse) ProtoMessage()
func (*CapabilityResponse) ProtoReflect ¶
func (x *CapabilityResponse) ProtoReflect() protoreflect.Message
func (*CapabilityResponse) Reset ¶
func (x *CapabilityResponse) Reset()
func (*CapabilityResponse) String ¶
func (x *CapabilityResponse) String() string
type CapabilityType ¶
type CapabilityType int32
const ( CapabilityType_CAPABILITY_TYPE_UNKNOWN CapabilityType = 0 CapabilityType_CAPABILITY_TYPE_TRIGGER CapabilityType = 1 CapabilityType_CAPABILITY_TYPE_ACTION CapabilityType = 2 CapabilityType_CAPABILITY_TYPE_CONSENSUS CapabilityType = 3 CapabilityType_CAPABILITY_TYPE_TARGET CapabilityType = 4 CapabilityType_CAPABILITY_TYPE_COMBINED CapabilityType = 5 )
func (CapabilityType) Descriptor ¶
func (CapabilityType) Descriptor() protoreflect.EnumDescriptor
func (CapabilityType) Enum ¶
func (x CapabilityType) Enum() *CapabilityType
func (CapabilityType) EnumDescriptor
deprecated
func (CapabilityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CapabilityType.Descriptor instead.
func (CapabilityType) Number ¶
func (x CapabilityType) Number() protoreflect.EnumNumber
func (CapabilityType) String ¶
func (x CapabilityType) String() string
func (CapabilityType) Type ¶
func (CapabilityType) Type() protoreflect.EnumType
type ExecutableClient ¶ added in v0.2.2
type ExecutableClient interface {
RegisterToWorkflow(ctx context.Context, in *RegisterToWorkflowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UnregisterFromWorkflow(ctx context.Context, in *UnregisterFromWorkflowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Execute(ctx context.Context, in *CapabilityRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CapabilityResponse], error)
}
ExecutableClient is the client API for Executable 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 NewExecutableClient ¶ added in v0.2.2
func NewExecutableClient(cc grpc.ClientConnInterface) ExecutableClient
type ExecutableServer ¶ added in v0.2.2
type ExecutableServer interface {
RegisterToWorkflow(context.Context, *RegisterToWorkflowRequest) (*emptypb.Empty, error)
UnregisterFromWorkflow(context.Context, *UnregisterFromWorkflowRequest) (*emptypb.Empty, error)
Execute(*CapabilityRequest, grpc.ServerStreamingServer[CapabilityResponse]) error
// contains filtered or unexported methods
}
ExecutableServer is the server API for Executable service. All implementations must embed UnimplementedExecutableServer for forward compatibility.
type Executable_ExecuteClient ¶ added in v0.2.2
type Executable_ExecuteClient = grpc.ServerStreamingClient[CapabilityResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Executable_ExecuteServer ¶ added in v0.2.2
type Executable_ExecuteServer = grpc.ServerStreamingServer[CapabilityResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type InitialiseRequest ¶
type InitialiseRequest struct {
Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
ErrorLogId uint32 `protobuf:"varint,2,opt,name=error_log_id,json=errorLogId,proto3" json:"error_log_id,omitempty"`
PipelineRunnerId uint32 `protobuf:"varint,3,opt,name=pipeline_runner_id,json=pipelineRunnerId,proto3" json:"pipeline_runner_id,omitempty"`
TelemetryId uint32 `protobuf:"varint,4,opt,name=telemetry_id,json=telemetryId,proto3" json:"telemetry_id,omitempty"`
CapRegistryId uint32 `protobuf:"varint,5,opt,name=capRegistry_id,json=capRegistryId,proto3" json:"capRegistry_id,omitempty"`
KeyValueStoreId uint32 `protobuf:"varint,6,opt,name=keyValueStore_id,json=keyValueStoreId,proto3" json:"keyValueStore_id,omitempty"`
RelayerSetId uint32 `protobuf:"varint,7,opt,name=relayer_set_id,json=relayerSetId,proto3" json:"relayer_set_id,omitempty"`
OracleFactoryId uint32 `protobuf:"varint,8,opt,name=oracle_factory_id,json=oracleFactoryId,proto3" json:"oracle_factory_id,omitempty"`
GatewayConnectorId uint32 `protobuf:"varint,9,opt,name=gateway_connector_id,json=gatewayConnectorId,proto3" json:"gateway_connector_id,omitempty"`
KeystoreId uint32 `protobuf:"varint,10,opt,name=keystore_id,json=keystoreId,proto3" json:"keystore_id,omitempty"`
// contains filtered or unexported fields
}
func (*InitialiseRequest) Descriptor
deprecated
func (*InitialiseRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitialiseRequest.ProtoReflect.Descriptor instead.
func (*InitialiseRequest) GetCapRegistryId ¶
func (x *InitialiseRequest) GetCapRegistryId() uint32
func (*InitialiseRequest) GetConfig ¶
func (x *InitialiseRequest) GetConfig() string
func (*InitialiseRequest) GetErrorLogId ¶
func (x *InitialiseRequest) GetErrorLogId() uint32
func (*InitialiseRequest) GetGatewayConnectorId ¶ added in v0.7.1
func (x *InitialiseRequest) GetGatewayConnectorId() uint32
func (*InitialiseRequest) GetKeyValueStoreId ¶
func (x *InitialiseRequest) GetKeyValueStoreId() uint32
func (*InitialiseRequest) GetKeystoreId ¶ added in v0.7.1
func (x *InitialiseRequest) GetKeystoreId() uint32
func (*InitialiseRequest) GetOracleFactoryId ¶ added in v0.3.0
func (x *InitialiseRequest) GetOracleFactoryId() uint32
func (*InitialiseRequest) GetPipelineRunnerId ¶
func (x *InitialiseRequest) GetPipelineRunnerId() uint32
func (*InitialiseRequest) GetRelayerSetId ¶
func (x *InitialiseRequest) GetRelayerSetId() uint32
func (*InitialiseRequest) GetTelemetryId ¶
func (x *InitialiseRequest) GetTelemetryId() uint32
func (*InitialiseRequest) ProtoMessage ¶
func (*InitialiseRequest) ProtoMessage()
func (*InitialiseRequest) ProtoReflect ¶
func (x *InitialiseRequest) ProtoReflect() protoreflect.Message
func (*InitialiseRequest) Reset ¶
func (x *InitialiseRequest) Reset()
func (*InitialiseRequest) String ¶
func (x *InitialiseRequest) String() string
type OCRAttributedOnchainSignature ¶ added in v0.5.0
type OCRAttributedOnchainSignature struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
// signer is actually a uint8 but uint32 is the smallest supported by protobuf
Signer uint32 `protobuf:"varint,2,opt,name=signer,proto3" json:"signer,omitempty"`
// contains filtered or unexported fields
}
func (*OCRAttributedOnchainSignature) Descriptor
deprecated
added in
v0.5.0
func (*OCRAttributedOnchainSignature) Descriptor() ([]byte, []int)
Deprecated: Use OCRAttributedOnchainSignature.ProtoReflect.Descriptor instead.
func (*OCRAttributedOnchainSignature) GetSignature ¶ added in v0.5.0
func (x *OCRAttributedOnchainSignature) GetSignature() []byte
func (*OCRAttributedOnchainSignature) GetSigner ¶ added in v0.5.0
func (x *OCRAttributedOnchainSignature) GetSigner() uint32
func (*OCRAttributedOnchainSignature) ProtoMessage ¶ added in v0.5.0
func (*OCRAttributedOnchainSignature) ProtoMessage()
func (*OCRAttributedOnchainSignature) ProtoReflect ¶ added in v0.5.0
func (x *OCRAttributedOnchainSignature) ProtoReflect() protoreflect.Message
func (*OCRAttributedOnchainSignature) Reset ¶ added in v0.5.0
func (x *OCRAttributedOnchainSignature) Reset()
func (*OCRAttributedOnchainSignature) String ¶ added in v0.5.0
func (x *OCRAttributedOnchainSignature) String() string
type OCRTriggerEvent ¶ added in v0.5.0
type OCRTriggerEvent struct {
ConfigDigest []byte `protobuf:"bytes,1,opt,name=configDigest,proto3" json:"configDigest,omitempty"`
SeqNr uint64 `protobuf:"varint,2,opt,name=seqNr,proto3" json:"seqNr,omitempty"`
Report []byte `protobuf:"bytes,3,opt,name=report,proto3" json:"report,omitempty"` // marshalled OCRTriggerReport
Sigs []*OCRAttributedOnchainSignature `protobuf:"bytes,4,rep,name=sigs,proto3" json:"sigs,omitempty"`
// contains filtered or unexported fields
}
func (*OCRTriggerEvent) Descriptor
deprecated
added in
v0.5.0
func (*OCRTriggerEvent) Descriptor() ([]byte, []int)
Deprecated: Use OCRTriggerEvent.ProtoReflect.Descriptor instead.
func (*OCRTriggerEvent) GetConfigDigest ¶ added in v0.5.0
func (x *OCRTriggerEvent) GetConfigDigest() []byte
func (*OCRTriggerEvent) GetReport ¶ added in v0.5.0
func (x *OCRTriggerEvent) GetReport() []byte
func (*OCRTriggerEvent) GetSeqNr ¶ added in v0.5.0
func (x *OCRTriggerEvent) GetSeqNr() uint64
func (*OCRTriggerEvent) GetSigs ¶ added in v0.5.0
func (x *OCRTriggerEvent) GetSigs() []*OCRAttributedOnchainSignature
func (*OCRTriggerEvent) ProtoMessage ¶ added in v0.5.0
func (*OCRTriggerEvent) ProtoMessage()
func (*OCRTriggerEvent) ProtoReflect ¶ added in v0.5.0
func (x *OCRTriggerEvent) ProtoReflect() protoreflect.Message
func (*OCRTriggerEvent) Reset ¶ added in v0.5.0
func (x *OCRTriggerEvent) Reset()
func (*OCRTriggerEvent) String ¶ added in v0.5.0
func (x *OCRTriggerEvent) String() string
type OCRTriggerReport ¶ added in v0.5.0
type OCRTriggerReport struct {
EventID string `protobuf:"bytes,1,opt,name=eventID,proto3" json:"eventID,omitempty"` // unique, scoped to the trigger capability
Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // used to enforce freshness
Outputs *pb.Map `protobuf:"bytes,3,opt,name=outputs,proto3" json:"outputs,omitempty"` // contains trigger-specific data
// contains filtered or unexported fields
}
func (*OCRTriggerReport) Descriptor
deprecated
added in
v0.5.0
func (*OCRTriggerReport) Descriptor() ([]byte, []int)
Deprecated: Use OCRTriggerReport.ProtoReflect.Descriptor instead.
func (*OCRTriggerReport) GetEventID ¶ added in v0.5.0
func (x *OCRTriggerReport) GetEventID() string
func (*OCRTriggerReport) GetOutputs ¶ added in v0.5.0
func (x *OCRTriggerReport) GetOutputs() *pb.Map
func (*OCRTriggerReport) GetTimestamp ¶ added in v0.5.0
func (x *OCRTriggerReport) GetTimestamp() uint64
func (*OCRTriggerReport) ProtoMessage ¶ added in v0.5.0
func (*OCRTriggerReport) ProtoMessage()
func (*OCRTriggerReport) ProtoReflect ¶ added in v0.5.0
func (x *OCRTriggerReport) ProtoReflect() protoreflect.Message
func (*OCRTriggerReport) Reset ¶ added in v0.5.0
func (x *OCRTriggerReport) Reset()
func (*OCRTriggerReport) String ¶ added in v0.5.0
func (x *OCRTriggerReport) String() string
type RegisterToWorkflowRequest ¶
type RegisterToWorkflowRequest struct {
Metadata *RegistrationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Config *pb.Map `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func RegisterToWorkflowRequestToProto ¶ added in v0.4.0
func RegisterToWorkflowRequestToProto(req capabilities.RegisterToWorkflowRequest) *RegisterToWorkflowRequest
func (*RegisterToWorkflowRequest) Descriptor
deprecated
func (*RegisterToWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterToWorkflowRequest.ProtoReflect.Descriptor instead.
func (*RegisterToWorkflowRequest) GetConfig ¶
func (x *RegisterToWorkflowRequest) GetConfig() *pb.Map
func (*RegisterToWorkflowRequest) GetMetadata ¶
func (x *RegisterToWorkflowRequest) GetMetadata() *RegistrationMetadata
func (*RegisterToWorkflowRequest) ProtoMessage ¶
func (*RegisterToWorkflowRequest) ProtoMessage()
func (*RegisterToWorkflowRequest) ProtoReflect ¶
func (x *RegisterToWorkflowRequest) ProtoReflect() protoreflect.Message
func (*RegisterToWorkflowRequest) Reset ¶
func (x *RegisterToWorkflowRequest) Reset()
func (*RegisterToWorkflowRequest) String ¶
func (x *RegisterToWorkflowRequest) String() string
type RegistrationMetadata ¶
type RegistrationMetadata struct {
WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
WorkflowOwner string `protobuf:"bytes,3,opt,name=workflow_owner,json=workflowOwner,proto3" json:"workflow_owner,omitempty"`
// contains filtered or unexported fields
}
func (*RegistrationMetadata) Descriptor
deprecated
func (*RegistrationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RegistrationMetadata.ProtoReflect.Descriptor instead.
func (*RegistrationMetadata) GetReferenceId ¶ added in v0.4.0
func (x *RegistrationMetadata) GetReferenceId() string
func (*RegistrationMetadata) GetWorkflowId ¶
func (x *RegistrationMetadata) GetWorkflowId() string
func (*RegistrationMetadata) GetWorkflowOwner ¶ added in v0.4.0
func (x *RegistrationMetadata) GetWorkflowOwner() string
func (*RegistrationMetadata) ProtoMessage ¶
func (*RegistrationMetadata) ProtoMessage()
func (*RegistrationMetadata) ProtoReflect ¶
func (x *RegistrationMetadata) ProtoReflect() protoreflect.Message
func (*RegistrationMetadata) Reset ¶
func (x *RegistrationMetadata) Reset()
func (*RegistrationMetadata) String ¶
func (x *RegistrationMetadata) String() string
type RemoteExecutableConfig ¶ added in v0.4.0
type RemoteExecutableConfig struct {
// A collection of dot seperated paths to attributes that should be excluded from the request sent to the remote executable capability
// when calculating the hash of the request. This is useful for excluding attributes that are not deterministic to ensure
// that the hash of logically identical requests is consistent.
RequestHashExcludedAttributes []string `protobuf:"bytes,1,rep,name=requestHashExcludedAttributes,proto3" json:"requestHashExcludedAttributes,omitempty"` // deprecated - v1 only
TransmissionSchedule TransmissionSchedule `` /* 153-byte string literal not displayed */
DeltaStage *durationpb.Duration `protobuf:"bytes,5,opt,name=delta_stage,json=deltaStage,proto3" json:"delta_stage,omitempty"`
RequestTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"`
ServerMaxParallelRequests uint32 `` /* 141-byte string literal not displayed */
RequestHasherType RequestHasherType `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RemoteExecutableConfig) Descriptor
deprecated
added in
v0.4.0
func (*RemoteExecutableConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemoteExecutableConfig.ProtoReflect.Descriptor instead.
func (*RemoteExecutableConfig) GetDeltaStage ¶ added in v0.9.5
func (x *RemoteExecutableConfig) GetDeltaStage() *durationpb.Duration
func (*RemoteExecutableConfig) GetRequestHashExcludedAttributes ¶ added in v0.4.0
func (x *RemoteExecutableConfig) GetRequestHashExcludedAttributes() []string
func (*RemoteExecutableConfig) GetRequestHasherType ¶ added in v0.9.5
func (x *RemoteExecutableConfig) GetRequestHasherType() RequestHasherType
func (*RemoteExecutableConfig) GetRequestTimeout ¶ added in v0.9.5
func (x *RemoteExecutableConfig) GetRequestTimeout() *durationpb.Duration
func (*RemoteExecutableConfig) GetServerMaxParallelRequests ¶ added in v0.9.5
func (x *RemoteExecutableConfig) GetServerMaxParallelRequests() uint32
func (*RemoteExecutableConfig) GetTransmissionSchedule ¶ added in v0.9.5
func (x *RemoteExecutableConfig) GetTransmissionSchedule() TransmissionSchedule
func (*RemoteExecutableConfig) ProtoMessage ¶ added in v0.4.0
func (*RemoteExecutableConfig) ProtoMessage()
func (*RemoteExecutableConfig) ProtoReflect ¶ added in v0.4.0
func (x *RemoteExecutableConfig) ProtoReflect() protoreflect.Message
func (*RemoteExecutableConfig) Reset ¶ added in v0.4.0
func (x *RemoteExecutableConfig) Reset()
func (*RemoteExecutableConfig) String ¶ added in v0.4.0
func (x *RemoteExecutableConfig) String() string
type RemoteTargetConfig ¶ added in v0.2.2
type RemoteTargetConfig struct {
// A collection of dot seperated paths to attributes that should be excluded from the request sent to the remote target
// when calculating the hash of the request. This is useful for excluding attributes that are not deterministic to ensure
// that the hash of logically identical requests is consistent.
RequestHashExcludedAttributes []string `protobuf:"bytes,1,rep,name=requestHashExcludedAttributes,proto3" json:"requestHashExcludedAttributes,omitempty"`
// contains filtered or unexported fields
}
deprecated - v1 only
func (*RemoteTargetConfig) Descriptor
deprecated
added in
v0.2.2
func (*RemoteTargetConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemoteTargetConfig.ProtoReflect.Descriptor instead.
func (*RemoteTargetConfig) GetRequestHashExcludedAttributes ¶ added in v0.2.2
func (x *RemoteTargetConfig) GetRequestHashExcludedAttributes() []string
func (*RemoteTargetConfig) ProtoMessage ¶ added in v0.2.2
func (*RemoteTargetConfig) ProtoMessage()
func (*RemoteTargetConfig) ProtoReflect ¶ added in v0.2.2
func (x *RemoteTargetConfig) ProtoReflect() protoreflect.Message
func (*RemoteTargetConfig) Reset ¶ added in v0.2.2
func (x *RemoteTargetConfig) Reset()
func (*RemoteTargetConfig) String ¶ added in v0.2.2
func (x *RemoteTargetConfig) String() string
type RemoteTriggerConfig ¶ added in v0.2.2
type RemoteTriggerConfig struct {
RegistrationRefresh *durationpb.Duration `protobuf:"bytes,1,opt,name=registrationRefresh,proto3" json:"registrationRefresh,omitempty"`
RegistrationExpiry *durationpb.Duration `protobuf:"bytes,2,opt,name=registrationExpiry,proto3" json:"registrationExpiry,omitempty"`
MinResponsesToAggregate uint32 `protobuf:"varint,3,opt,name=minResponsesToAggregate,proto3" json:"minResponsesToAggregate,omitempty"`
MessageExpiry *durationpb.Duration `protobuf:"bytes,4,opt,name=messageExpiry,proto3" json:"messageExpiry,omitempty"`
MaxBatchSize uint32 `protobuf:"varint,5,opt,name=maxBatchSize,proto3" json:"maxBatchSize,omitempty"`
BatchCollectionPeriod *durationpb.Duration `protobuf:"bytes,6,opt,name=batchCollectionPeriod,proto3" json:"batchCollectionPeriod,omitempty"`
// contains filtered or unexported fields
}
func (*RemoteTriggerConfig) Descriptor
deprecated
added in
v0.2.2
func (*RemoteTriggerConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemoteTriggerConfig.ProtoReflect.Descriptor instead.
func (*RemoteTriggerConfig) GetBatchCollectionPeriod ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetBatchCollectionPeriod() *durationpb.Duration
func (*RemoteTriggerConfig) GetMaxBatchSize ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetMaxBatchSize() uint32
func (*RemoteTriggerConfig) GetMessageExpiry ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetMessageExpiry() *durationpb.Duration
func (*RemoteTriggerConfig) GetMinResponsesToAggregate ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetMinResponsesToAggregate() uint32
func (*RemoteTriggerConfig) GetRegistrationExpiry ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetRegistrationExpiry() *durationpb.Duration
func (*RemoteTriggerConfig) GetRegistrationRefresh ¶ added in v0.2.2
func (x *RemoteTriggerConfig) GetRegistrationRefresh() *durationpb.Duration
func (*RemoteTriggerConfig) ProtoMessage ¶ added in v0.2.2
func (*RemoteTriggerConfig) ProtoMessage()
func (*RemoteTriggerConfig) ProtoReflect ¶ added in v0.2.2
func (x *RemoteTriggerConfig) ProtoReflect() protoreflect.Message
func (*RemoteTriggerConfig) Reset ¶ added in v0.2.2
func (x *RemoteTriggerConfig) Reset()
func (*RemoteTriggerConfig) String ¶ added in v0.2.2
func (x *RemoteTriggerConfig) String() string
type RequestHasherType ¶ added in v0.9.5
type RequestHasherType int32
const ( RequestHasherType_Simple RequestHasherType = 0 RequestHasherType_WriteReportExcludeSignatures RequestHasherType = 1 )
func (RequestHasherType) Descriptor ¶ added in v0.9.5
func (RequestHasherType) Descriptor() protoreflect.EnumDescriptor
func (RequestHasherType) Enum ¶ added in v0.9.5
func (x RequestHasherType) Enum() *RequestHasherType
func (RequestHasherType) EnumDescriptor
deprecated
added in
v0.9.5
func (RequestHasherType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestHasherType.Descriptor instead.
func (RequestHasherType) Number ¶ added in v0.9.5
func (x RequestHasherType) Number() protoreflect.EnumNumber
func (RequestHasherType) String ¶ added in v0.9.5
func (x RequestHasherType) String() string
func (RequestHasherType) Type ¶ added in v0.9.5
func (RequestHasherType) Type() protoreflect.EnumType
type RequestMetadata ¶
type RequestMetadata struct {
WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
WorkflowExecutionId string `protobuf:"bytes,2,opt,name=workflow_execution_id,json=workflowExecutionId,proto3" json:"workflow_execution_id,omitempty"`
WorkflowOwner string `protobuf:"bytes,3,opt,name=workflow_owner,json=workflowOwner,proto3" json:"workflow_owner,omitempty"`
WorkflowName string `protobuf:"bytes,4,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"`
WorkflowDonId uint32 `protobuf:"varint,6,opt,name=workflow_don_id,json=workflowDonId,proto3" json:"workflow_don_id,omitempty"`
WorkflowDonConfigVersion uint32 `` /* 138-byte string literal not displayed */
ReferenceId string `protobuf:"bytes,8,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`
DecodedWorkflowName string `protobuf:"bytes,9,opt,name=decoded_workflow_name,json=decodedWorkflowName,proto3" json:"decoded_workflow_name,omitempty"`
SpendLimits []*SpendLimit `protobuf:"bytes,10,rep,name=spend_limits,json=spendLimits,proto3" json:"spend_limits,omitempty"`
WorkflowTag string `protobuf:"bytes,11,opt,name=workflow_tag,json=workflowTag,proto3" json:"workflow_tag,omitempty"`
// contains filtered or unexported fields
}
func (*RequestMetadata) Descriptor
deprecated
func (*RequestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.
func (*RequestMetadata) GetDecodedWorkflowName ¶ added in v0.4.1
func (x *RequestMetadata) GetDecodedWorkflowName() string
func (*RequestMetadata) GetReferenceId ¶ added in v0.2.2
func (x *RequestMetadata) GetReferenceId() string
func (*RequestMetadata) GetSpendLimits ¶ added in v0.7.1
func (x *RequestMetadata) GetSpendLimits() []*SpendLimit
func (*RequestMetadata) GetWorkflowDonConfigVersion ¶ added in v0.2.2
func (x *RequestMetadata) GetWorkflowDonConfigVersion() uint32
func (*RequestMetadata) GetWorkflowDonId ¶
func (x *RequestMetadata) GetWorkflowDonId() uint32
func (*RequestMetadata) GetWorkflowExecutionId ¶
func (x *RequestMetadata) GetWorkflowExecutionId() string
func (*RequestMetadata) GetWorkflowId ¶
func (x *RequestMetadata) GetWorkflowId() string
func (*RequestMetadata) GetWorkflowName ¶
func (x *RequestMetadata) GetWorkflowName() string
func (*RequestMetadata) GetWorkflowOwner ¶
func (x *RequestMetadata) GetWorkflowOwner() string
func (*RequestMetadata) GetWorkflowTag ¶ added in v0.9.0
func (x *RequestMetadata) GetWorkflowTag() string
func (*RequestMetadata) ProtoMessage ¶
func (*RequestMetadata) ProtoMessage()
func (*RequestMetadata) ProtoReflect ¶
func (x *RequestMetadata) ProtoReflect() protoreflect.Message
func (*RequestMetadata) Reset ¶
func (x *RequestMetadata) Reset()
func (*RequestMetadata) String ¶
func (x *RequestMetadata) String() string
type ResponseMetadata ¶ added in v0.6.0
type ResponseMetadata struct {
// MeteringReportNodeDetail is repeated here due to
// the identical response aggregation strategy at the Don2Don layer.
// We expect identical responses from capabilities, but not identical
// metering reports. Since we pass the CapabilityResponse through the
// protocol layer to the engine, this field needs to be repeated to
// eventually hold all the reports from each capability response node.
//
// If you are working with this in a capability, you should not emit
// more than one metering report per node.
Metering []*pb1.MeteringReportNodeDetail `protobuf:"bytes,1,rep,name=metering,proto3" json:"metering,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseMetadata) Descriptor
deprecated
added in
v0.6.0
func (*ResponseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMetadata.ProtoReflect.Descriptor instead.
func (*ResponseMetadata) GetMetering ¶ added in v0.6.0
func (x *ResponseMetadata) GetMetering() []*pb1.MeteringReportNodeDetail
func (*ResponseMetadata) ProtoMessage ¶ added in v0.6.0
func (*ResponseMetadata) ProtoMessage()
func (*ResponseMetadata) ProtoReflect ¶ added in v0.6.0
func (x *ResponseMetadata) ProtoReflect() protoreflect.Message
func (*ResponseMetadata) Reset ¶ added in v0.6.0
func (x *ResponseMetadata) Reset()
func (*ResponseMetadata) String ¶ added in v0.6.0
func (x *ResponseMetadata) String() string
type SpendLimit ¶ added in v0.7.1
type SpendLimit struct {
SpendType string `protobuf:"bytes,1,opt,name=spend_type,json=spendType,proto3" json:"spend_type,omitempty"`
Limit string `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*SpendLimit) Descriptor
deprecated
added in
v0.7.1
func (*SpendLimit) Descriptor() ([]byte, []int)
Deprecated: Use SpendLimit.ProtoReflect.Descriptor instead.
func (*SpendLimit) GetLimit ¶ added in v0.7.1
func (x *SpendLimit) GetLimit() string
func (*SpendLimit) GetSpendType ¶ added in v0.7.1
func (x *SpendLimit) GetSpendType() string
func (*SpendLimit) ProtoMessage ¶ added in v0.7.1
func (*SpendLimit) ProtoMessage()
func (*SpendLimit) ProtoReflect ¶ added in v0.7.1
func (x *SpendLimit) ProtoReflect() protoreflect.Message
func (*SpendLimit) Reset ¶ added in v0.7.1
func (x *SpendLimit) Reset()
func (*SpendLimit) String ¶ added in v0.7.1
func (x *SpendLimit) String() string
type StandardCapabilitiesClient ¶
type StandardCapabilitiesClient interface {
Initialise(ctx context.Context, in *InitialiseRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Infos(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CapabilityInfosReply, error)
}
StandardCapabilitiesClient is the client API for StandardCapabilities 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 NewStandardCapabilitiesClient ¶
func NewStandardCapabilitiesClient(cc grpc.ClientConnInterface) StandardCapabilitiesClient
type StandardCapabilitiesServer ¶
type StandardCapabilitiesServer interface {
Initialise(context.Context, *InitialiseRequest) (*emptypb.Empty, error)
Infos(context.Context, *emptypb.Empty) (*CapabilityInfosReply, error)
// contains filtered or unexported methods
}
StandardCapabilitiesServer is the server API for StandardCapabilities service. All implementations must embed UnimplementedStandardCapabilitiesServer for forward compatibility.
type TransmissionSchedule ¶ added in v0.9.5
type TransmissionSchedule int32
const ( TransmissionSchedule_AllAtOnce TransmissionSchedule = 0 TransmissionSchedule_OneAtATime TransmissionSchedule = 1 )
func (TransmissionSchedule) Descriptor ¶ added in v0.9.5
func (TransmissionSchedule) Descriptor() protoreflect.EnumDescriptor
func (TransmissionSchedule) Enum ¶ added in v0.9.5
func (x TransmissionSchedule) Enum() *TransmissionSchedule
func (TransmissionSchedule) EnumDescriptor
deprecated
added in
v0.9.5
func (TransmissionSchedule) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransmissionSchedule.Descriptor instead.
func (TransmissionSchedule) Number ¶ added in v0.9.5
func (x TransmissionSchedule) Number() protoreflect.EnumNumber
func (TransmissionSchedule) String ¶ added in v0.9.5
func (x TransmissionSchedule) String() string
func (TransmissionSchedule) Type ¶ added in v0.9.5
func (TransmissionSchedule) Type() protoreflect.EnumType
type TriggerEvent ¶ added in v0.2.2
type TriggerEvent struct {
TriggerType string `protobuf:"bytes,1,opt,name=triggerType,proto3" json:"triggerType,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Used for DAG SDK
Outputs *pb.Map `protobuf:"bytes,4,opt,name=outputs,proto3" json:"outputs,omitempty"`
// used for no DAG SDK
Payload *anypb.Any `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerEvent) Descriptor
deprecated
added in
v0.2.2
func (*TriggerEvent) Descriptor() ([]byte, []int)
Deprecated: Use TriggerEvent.ProtoReflect.Descriptor instead.
func (*TriggerEvent) GetId ¶ added in v0.2.2
func (x *TriggerEvent) GetId() string
func (*TriggerEvent) GetOutputs ¶ added in v0.2.2
func (x *TriggerEvent) GetOutputs() *pb.Map
func (*TriggerEvent) GetPayload ¶ added in v0.7.1
func (x *TriggerEvent) GetPayload() *anypb.Any
func (*TriggerEvent) GetTriggerType ¶ added in v0.2.2
func (x *TriggerEvent) GetTriggerType() string
func (*TriggerEvent) ProtoMessage ¶ added in v0.2.2
func (*TriggerEvent) ProtoMessage()
func (*TriggerEvent) ProtoReflect ¶ added in v0.2.2
func (x *TriggerEvent) ProtoReflect() protoreflect.Message
func (*TriggerEvent) Reset ¶ added in v0.2.2
func (x *TriggerEvent) Reset()
func (*TriggerEvent) String ¶ added in v0.2.2
func (x *TriggerEvent) String() string
type TriggerExecutableClient ¶
type TriggerExecutableClient interface {
RegisterTrigger(ctx context.Context, in *TriggerRegistrationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TriggerResponseMessage], error)
UnregisterTrigger(ctx context.Context, in *TriggerRegistrationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
TriggerExecutableClient is the client API for TriggerExecutable 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 NewTriggerExecutableClient ¶
func NewTriggerExecutableClient(cc grpc.ClientConnInterface) TriggerExecutableClient
type TriggerExecutableServer ¶
type TriggerExecutableServer interface {
RegisterTrigger(*TriggerRegistrationRequest, grpc.ServerStreamingServer[TriggerResponseMessage]) error
UnregisterTrigger(context.Context, *TriggerRegistrationRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
TriggerExecutableServer is the server API for TriggerExecutable service. All implementations must embed UnimplementedTriggerExecutableServer for forward compatibility.
type TriggerExecutable_RegisterTriggerClient ¶
type TriggerExecutable_RegisterTriggerClient = grpc.ServerStreamingClient[TriggerResponseMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TriggerExecutable_RegisterTriggerServer ¶
type TriggerExecutable_RegisterTriggerServer = grpc.ServerStreamingServer[TriggerResponseMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TriggerRegistrationRequest ¶ added in v0.2.2
type TriggerRegistrationRequest struct {
TriggerId string `protobuf:"bytes,1,opt,name=triggerId,proto3" json:"triggerId,omitempty"`
Metadata *RequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Used for DAG SDK
Config *pb.Map `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
// Used for no DAG SDK
Payload *anypb.Any `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// Used for no DAG SDK
Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"`
// contains filtered or unexported fields
}
func TriggerRegistrationRequestToProto ¶ added in v0.2.2
func TriggerRegistrationRequestToProto(req capabilities.TriggerRegistrationRequest) *TriggerRegistrationRequest
func (*TriggerRegistrationRequest) Descriptor
deprecated
added in
v0.2.2
func (*TriggerRegistrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerRegistrationRequest.ProtoReflect.Descriptor instead.
func (*TriggerRegistrationRequest) GetConfig ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) GetConfig() *pb.Map
func (*TriggerRegistrationRequest) GetMetadata ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) GetMetadata() *RequestMetadata
func (*TriggerRegistrationRequest) GetMethod ¶ added in v0.7.1
func (x *TriggerRegistrationRequest) GetMethod() string
func (*TriggerRegistrationRequest) GetPayload ¶ added in v0.7.1
func (x *TriggerRegistrationRequest) GetPayload() *anypb.Any
func (*TriggerRegistrationRequest) GetTriggerId ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) GetTriggerId() string
func (*TriggerRegistrationRequest) ProtoMessage ¶ added in v0.2.2
func (*TriggerRegistrationRequest) ProtoMessage()
func (*TriggerRegistrationRequest) ProtoReflect ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) ProtoReflect() protoreflect.Message
func (*TriggerRegistrationRequest) Reset ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) Reset()
func (*TriggerRegistrationRequest) String ¶ added in v0.2.2
func (x *TriggerRegistrationRequest) String() string
type TriggerResponse ¶ added in v0.2.2
type TriggerResponse struct {
Event *TriggerEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func TriggerResponseToProto ¶ added in v0.2.2
func TriggerResponseToProto(resp capabilities.TriggerResponse) *TriggerResponse
func (*TriggerResponse) Descriptor
deprecated
added in
v0.2.2
func (*TriggerResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerResponse.ProtoReflect.Descriptor instead.
func (*TriggerResponse) GetError ¶ added in v0.2.2
func (x *TriggerResponse) GetError() string
func (*TriggerResponse) GetEvent ¶ added in v0.2.2
func (x *TriggerResponse) GetEvent() *TriggerEvent
func (*TriggerResponse) ProtoMessage ¶ added in v0.2.2
func (*TriggerResponse) ProtoMessage()
func (*TriggerResponse) ProtoReflect ¶ added in v0.2.2
func (x *TriggerResponse) ProtoReflect() protoreflect.Message
func (*TriggerResponse) Reset ¶ added in v0.2.2
func (x *TriggerResponse) Reset()
func (*TriggerResponse) String ¶ added in v0.2.2
func (x *TriggerResponse) String() string
type TriggerResponseMessage ¶ added in v0.2.2
type TriggerResponseMessage struct {
// Types that are valid to be assigned to Message:
//
// *TriggerResponseMessage_Ack
// *TriggerResponseMessage_Response
Message isTriggerResponseMessage_Message `protobuf_oneof:"message"`
// contains filtered or unexported fields
}
func (*TriggerResponseMessage) Descriptor
deprecated
added in
v0.2.2
func (*TriggerResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use TriggerResponseMessage.ProtoReflect.Descriptor instead.
func (*TriggerResponseMessage) GetAck ¶ added in v0.2.2
func (x *TriggerResponseMessage) GetAck() *emptypb.Empty
func (*TriggerResponseMessage) GetMessage ¶ added in v0.2.2
func (x *TriggerResponseMessage) GetMessage() isTriggerResponseMessage_Message
func (*TriggerResponseMessage) GetResponse ¶ added in v0.2.2
func (x *TriggerResponseMessage) GetResponse() *TriggerResponse
func (*TriggerResponseMessage) ProtoMessage ¶ added in v0.2.2
func (*TriggerResponseMessage) ProtoMessage()
func (*TriggerResponseMessage) ProtoReflect ¶ added in v0.2.2
func (x *TriggerResponseMessage) ProtoReflect() protoreflect.Message
func (*TriggerResponseMessage) Reset ¶ added in v0.2.2
func (x *TriggerResponseMessage) Reset()
func (*TriggerResponseMessage) String ¶ added in v0.2.2
func (x *TriggerResponseMessage) String() string
type TriggerResponseMessage_Ack ¶ added in v0.2.2
type TriggerResponseMessage_Response ¶ added in v0.2.2
type TriggerResponseMessage_Response struct {
Response *TriggerResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}
type UnimplementedBaseCapabilityServer ¶
type UnimplementedBaseCapabilityServer struct{}
UnimplementedBaseCapabilityServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBaseCapabilityServer) Info ¶
func (UnimplementedBaseCapabilityServer) Info(context.Context, *emptypb.Empty) (*CapabilityInfoReply, error)
type UnimplementedExecutableServer ¶ added in v0.2.2
type UnimplementedExecutableServer struct{}
UnimplementedExecutableServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedExecutableServer) Execute ¶ added in v0.2.2
func (UnimplementedExecutableServer) Execute(*CapabilityRequest, grpc.ServerStreamingServer[CapabilityResponse]) error
func (UnimplementedExecutableServer) RegisterToWorkflow ¶ added in v0.2.2
func (UnimplementedExecutableServer) RegisterToWorkflow(context.Context, *RegisterToWorkflowRequest) (*emptypb.Empty, error)
func (UnimplementedExecutableServer) UnregisterFromWorkflow ¶ added in v0.2.2
func (UnimplementedExecutableServer) UnregisterFromWorkflow(context.Context, *UnregisterFromWorkflowRequest) (*emptypb.Empty, error)
type UnimplementedStandardCapabilitiesServer ¶
type UnimplementedStandardCapabilitiesServer struct{}
UnimplementedStandardCapabilitiesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStandardCapabilitiesServer) Infos ¶
func (UnimplementedStandardCapabilitiesServer) Infos(context.Context, *emptypb.Empty) (*CapabilityInfosReply, error)
func (UnimplementedStandardCapabilitiesServer) Initialise ¶
func (UnimplementedStandardCapabilitiesServer) Initialise(context.Context, *InitialiseRequest) (*emptypb.Empty, error)
type UnimplementedTriggerExecutableServer ¶
type UnimplementedTriggerExecutableServer struct{}
UnimplementedTriggerExecutableServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTriggerExecutableServer) RegisterTrigger ¶
func (UnimplementedTriggerExecutableServer) RegisterTrigger(*TriggerRegistrationRequest, grpc.ServerStreamingServer[TriggerResponseMessage]) error
func (UnimplementedTriggerExecutableServer) UnregisterTrigger ¶
func (UnimplementedTriggerExecutableServer) UnregisterTrigger(context.Context, *TriggerRegistrationRequest) (*emptypb.Empty, error)
type UnregisterFromWorkflowRequest ¶
type UnregisterFromWorkflowRequest struct {
Metadata *RegistrationMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Config *pb.Map `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func UnregisterFromWorkflowRequestToProto ¶ added in v0.4.0
func UnregisterFromWorkflowRequestToProto(req capabilities.UnregisterFromWorkflowRequest) *UnregisterFromWorkflowRequest
func (*UnregisterFromWorkflowRequest) Descriptor
deprecated
func (*UnregisterFromWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterFromWorkflowRequest.ProtoReflect.Descriptor instead.
func (*UnregisterFromWorkflowRequest) GetConfig ¶
func (x *UnregisterFromWorkflowRequest) GetConfig() *pb.Map
func (*UnregisterFromWorkflowRequest) GetMetadata ¶
func (x *UnregisterFromWorkflowRequest) GetMetadata() *RegistrationMetadata
func (*UnregisterFromWorkflowRequest) ProtoMessage ¶
func (*UnregisterFromWorkflowRequest) ProtoMessage()
func (*UnregisterFromWorkflowRequest) ProtoReflect ¶
func (x *UnregisterFromWorkflowRequest) ProtoReflect() protoreflect.Message
func (*UnregisterFromWorkflowRequest) Reset ¶
func (x *UnregisterFromWorkflowRequest) Reset()
func (*UnregisterFromWorkflowRequest) String ¶
func (x *UnregisterFromWorkflowRequest) String() string
type UnsafeBaseCapabilityServer ¶
type UnsafeBaseCapabilityServer interface {
// contains filtered or unexported methods
}
UnsafeBaseCapabilityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BaseCapabilityServer will result in compilation errors.
type UnsafeExecutableServer ¶ added in v0.2.2
type UnsafeExecutableServer interface {
// contains filtered or unexported methods
}
UnsafeExecutableServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecutableServer will result in compilation errors.
type UnsafeStandardCapabilitiesServer ¶
type UnsafeStandardCapabilitiesServer interface {
// contains filtered or unexported methods
}
UnsafeStandardCapabilitiesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StandardCapabilitiesServer will result in compilation errors.
type UnsafeTriggerExecutableServer ¶
type UnsafeTriggerExecutableServer interface {
// contains filtered or unexported methods
}
UnsafeTriggerExecutableServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TriggerExecutableServer will result in compilation errors.