Documentation
¶
Index ¶
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- func RegisterV1DispatcherServer(s grpc.ServiceRegistrar, srv V1DispatcherServer)
- type Action
- type AdminServiceClient
- type AdminServiceServer
- type BaseMatchCondition
- func (*BaseMatchCondition) Descriptor() ([]byte, []int)deprecated
- func (x *BaseMatchCondition) GetAction() Action
- func (x *BaseMatchCondition) GetExpression() string
- func (x *BaseMatchCondition) GetOrGroupId() string
- func (x *BaseMatchCondition) GetReadableDataKey() string
- func (*BaseMatchCondition) ProtoMessage()
- func (x *BaseMatchCondition) ProtoReflect() protoreflect.Message
- func (x *BaseMatchCondition) Reset()
- func (x *BaseMatchCondition) String() string
- type CancelTasksRequest
- func (*CancelTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTasksRequest) GetExternalIds() []string
- func (x *CancelTasksRequest) GetFilter() *TasksFilter
- func (*CancelTasksRequest) ProtoMessage()
- func (x *CancelTasksRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTasksRequest) Reset()
- func (x *CancelTasksRequest) String() string
- type CancelTasksResponse
- func (*CancelTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTasksResponse) GetCancelledTasks() []string
- func (*CancelTasksResponse) ProtoMessage()
- func (x *CancelTasksResponse) ProtoReflect() protoreflect.Message
- func (x *CancelTasksResponse) Reset()
- func (x *CancelTasksResponse) String() string
- type Concurrency
- func (*Concurrency) Descriptor() ([]byte, []int)deprecated
- func (x *Concurrency) GetExpression() string
- func (x *Concurrency) GetLimitStrategy() ConcurrencyLimitStrategy
- func (x *Concurrency) GetMaxRuns() int32
- func (*Concurrency) ProtoMessage()
- func (x *Concurrency) ProtoReflect() protoreflect.Message
- func (x *Concurrency) Reset()
- func (x *Concurrency) String() string
- type ConcurrencyLimitStrategy
- func (ConcurrencyLimitStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x ConcurrencyLimitStrategy) Enum() *ConcurrencyLimitStrategy
- func (ConcurrencyLimitStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConcurrencyLimitStrategy) Number() protoreflect.EnumNumber
- func (x ConcurrencyLimitStrategy) String() string
- func (ConcurrencyLimitStrategy) Type() protoreflect.EnumType
- type CreateTaskOpts
- func (*CreateTaskOpts) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskOpts) GetAction() string
- func (x *CreateTaskOpts) GetBackoffFactor() float32
- func (x *CreateTaskOpts) GetBackoffMaxSeconds() int32
- func (x *CreateTaskOpts) GetConcurrency() []*Concurrency
- func (x *CreateTaskOpts) GetConditions() *TaskConditions
- func (x *CreateTaskOpts) GetInputs() string
- func (x *CreateTaskOpts) GetParents() []string
- func (x *CreateTaskOpts) GetRateLimits() []*CreateTaskRateLimit
- func (x *CreateTaskOpts) GetReadableId() string
- func (x *CreateTaskOpts) GetRetries() int32
- func (x *CreateTaskOpts) GetScheduleTimeout() string
- func (x *CreateTaskOpts) GetTimeout() string
- func (x *CreateTaskOpts) GetWorkerLabels() map[string]*DesiredWorkerLabels
- func (*CreateTaskOpts) ProtoMessage()
- func (x *CreateTaskOpts) ProtoReflect() protoreflect.Message
- func (x *CreateTaskOpts) Reset()
- func (x *CreateTaskOpts) String() string
- type CreateTaskRateLimit
- func (*CreateTaskRateLimit) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskRateLimit) GetDuration() RateLimitDuration
- func (x *CreateTaskRateLimit) GetKey() string
- func (x *CreateTaskRateLimit) GetKeyExpr() string
- func (x *CreateTaskRateLimit) GetLimitValuesExpr() string
- func (x *CreateTaskRateLimit) GetUnits() int32
- func (x *CreateTaskRateLimit) GetUnitsExpr() string
- func (*CreateTaskRateLimit) ProtoMessage()
- func (x *CreateTaskRateLimit) ProtoReflect() protoreflect.Message
- func (x *CreateTaskRateLimit) Reset()
- func (x *CreateTaskRateLimit) String() string
- type CreateWorkflowVersionRequest
- func (*CreateWorkflowVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkflowVersionRequest) GetConcurrency() *Concurrency
- func (x *CreateWorkflowVersionRequest) GetConcurrencyArr() []*Concurrency
- func (x *CreateWorkflowVersionRequest) GetCronInput() string
- func (x *CreateWorkflowVersionRequest) GetCronTriggers() []string
- func (x *CreateWorkflowVersionRequest) GetDefaultFilters() []*DefaultFilter
- func (x *CreateWorkflowVersionRequest) GetDefaultPriority() int32
- func (x *CreateWorkflowVersionRequest) GetDescription() string
- func (x *CreateWorkflowVersionRequest) GetEventTriggers() []string
- func (x *CreateWorkflowVersionRequest) GetName() string
- func (x *CreateWorkflowVersionRequest) GetOnFailureTask() *CreateTaskOpts
- func (x *CreateWorkflowVersionRequest) GetSticky() StickyStrategy
- func (x *CreateWorkflowVersionRequest) GetTasks() []*CreateTaskOpts
- func (x *CreateWorkflowVersionRequest) GetVersion() string
- func (*CreateWorkflowVersionRequest) ProtoMessage()
- func (x *CreateWorkflowVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkflowVersionRequest) Reset()
- func (x *CreateWorkflowVersionRequest) String() string
- type CreateWorkflowVersionResponse
- func (*CreateWorkflowVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkflowVersionResponse) GetId() string
- func (x *CreateWorkflowVersionResponse) GetWorkflowId() string
- func (*CreateWorkflowVersionResponse) ProtoMessage()
- func (x *CreateWorkflowVersionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWorkflowVersionResponse) Reset()
- func (x *CreateWorkflowVersionResponse) String() string
- type DefaultFilter
- func (*DefaultFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultFilter) GetExpression() string
- func (x *DefaultFilter) GetPayload() []byte
- func (x *DefaultFilter) GetScope() string
- func (*DefaultFilter) ProtoMessage()
- func (x *DefaultFilter) ProtoReflect() protoreflect.Message
- func (x *DefaultFilter) Reset()
- func (x *DefaultFilter) String() string
- type DesiredWorkerLabels
- func (*DesiredWorkerLabels) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredWorkerLabels) GetComparator() WorkerLabelComparator
- func (x *DesiredWorkerLabels) GetIntValue() int32
- func (x *DesiredWorkerLabels) GetRequired() bool
- func (x *DesiredWorkerLabels) GetStrValue() string
- func (x *DesiredWorkerLabels) GetWeight() int32
- func (*DesiredWorkerLabels) ProtoMessage()
- func (x *DesiredWorkerLabels) ProtoReflect() protoreflect.Message
- func (x *DesiredWorkerLabels) Reset()
- func (x *DesiredWorkerLabels) String() string
- type DurableEvent
- func (*DurableEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DurableEvent) GetData() []byte
- func (x *DurableEvent) GetSignalKey() string
- func (x *DurableEvent) GetTaskId() string
- func (*DurableEvent) ProtoMessage()
- func (x *DurableEvent) ProtoReflect() protoreflect.Message
- func (x *DurableEvent) Reset()
- func (x *DurableEvent) String() string
- type DurableEventListenerConditions
- func (*DurableEventListenerConditions) Descriptor() ([]byte, []int)deprecated
- func (x *DurableEventListenerConditions) GetSleepConditions() []*SleepMatchCondition
- func (x *DurableEventListenerConditions) GetUserEventConditions() []*UserEventMatchCondition
- func (*DurableEventListenerConditions) ProtoMessage()
- func (x *DurableEventListenerConditions) ProtoReflect() protoreflect.Message
- func (x *DurableEventListenerConditions) Reset()
- func (x *DurableEventListenerConditions) String() string
- type GetRunDetailsRequest
- func (*GetRunDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRunDetailsRequest) GetExternalId() string
- func (*GetRunDetailsRequest) ProtoMessage()
- func (x *GetRunDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRunDetailsRequest) Reset()
- func (x *GetRunDetailsRequest) String() string
- type GetRunDetailsResponse
- func (*GetRunDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRunDetailsResponse) GetAdditionalMetadata() []byte
- func (x *GetRunDetailsResponse) GetDone() bool
- func (x *GetRunDetailsResponse) GetInput() []byte
- func (x *GetRunDetailsResponse) GetStatus() RunStatus
- func (x *GetRunDetailsResponse) GetTaskRuns() map[string]*TaskRunDetail
- func (*GetRunDetailsResponse) ProtoMessage()
- func (x *GetRunDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRunDetailsResponse) Reset()
- func (x *GetRunDetailsResponse) String() string
- type ListenForDurableEventRequest
- func (*ListenForDurableEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListenForDurableEventRequest) GetSignalKey() string
- func (x *ListenForDurableEventRequest) GetTaskId() string
- func (*ListenForDurableEventRequest) ProtoMessage()
- func (x *ListenForDurableEventRequest) ProtoReflect() protoreflect.Message
- func (x *ListenForDurableEventRequest) Reset()
- func (x *ListenForDurableEventRequest) String() string
- type ParentOverrideMatchCondition
- func (*ParentOverrideMatchCondition) Descriptor() ([]byte, []int)deprecated
- func (x *ParentOverrideMatchCondition) GetBase() *BaseMatchCondition
- func (x *ParentOverrideMatchCondition) GetParentReadableId() string
- func (*ParentOverrideMatchCondition) ProtoMessage()
- func (x *ParentOverrideMatchCondition) ProtoReflect() protoreflect.Message
- func (x *ParentOverrideMatchCondition) Reset()
- func (x *ParentOverrideMatchCondition) String() string
- type RateLimitDuration
- func (RateLimitDuration) Descriptor() protoreflect.EnumDescriptor
- func (x RateLimitDuration) Enum() *RateLimitDuration
- func (RateLimitDuration) EnumDescriptor() ([]byte, []int)deprecated
- func (x RateLimitDuration) Number() protoreflect.EnumNumber
- func (x RateLimitDuration) String() string
- func (RateLimitDuration) Type() protoreflect.EnumType
- type RegisterDurableEventRequest
- func (*RegisterDurableEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterDurableEventRequest) GetConditions() *DurableEventListenerConditions
- func (x *RegisterDurableEventRequest) GetSignalKey() string
- func (x *RegisterDurableEventRequest) GetTaskId() string
- func (*RegisterDurableEventRequest) ProtoMessage()
- func (x *RegisterDurableEventRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterDurableEventRequest) Reset()
- func (x *RegisterDurableEventRequest) String() string
- type RegisterDurableEventResponse
- func (*RegisterDurableEventResponse) Descriptor() ([]byte, []int)deprecated
- func (*RegisterDurableEventResponse) ProtoMessage()
- func (x *RegisterDurableEventResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterDurableEventResponse) Reset()
- func (x *RegisterDurableEventResponse) String() string
- type ReplayTasksRequest
- func (*ReplayTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplayTasksRequest) GetExternalIds() []string
- func (x *ReplayTasksRequest) GetFilter() *TasksFilter
- func (*ReplayTasksRequest) ProtoMessage()
- func (x *ReplayTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ReplayTasksRequest) Reset()
- func (x *ReplayTasksRequest) String() string
- type ReplayTasksResponse
- func (*ReplayTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReplayTasksResponse) GetReplayedTasks() []string
- func (*ReplayTasksResponse) ProtoMessage()
- func (x *ReplayTasksResponse) ProtoReflect() protoreflect.Message
- func (x *ReplayTasksResponse) Reset()
- func (x *ReplayTasksResponse) String() string
- type RunStatus
- type SleepMatchCondition
- func (*SleepMatchCondition) Descriptor() ([]byte, []int)deprecated
- func (x *SleepMatchCondition) GetBase() *BaseMatchCondition
- func (x *SleepMatchCondition) GetSleepFor() string
- func (*SleepMatchCondition) ProtoMessage()
- func (x *SleepMatchCondition) ProtoReflect() protoreflect.Message
- func (x *SleepMatchCondition) Reset()
- func (x *SleepMatchCondition) String() string
- type StickyStrategy
- func (StickyStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x StickyStrategy) Enum() *StickyStrategy
- func (StickyStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x StickyStrategy) Number() protoreflect.EnumNumber
- func (x StickyStrategy) String() string
- func (StickyStrategy) Type() protoreflect.EnumType
- type TaskConditions
- func (*TaskConditions) Descriptor() ([]byte, []int)deprecated
- func (x *TaskConditions) GetParentOverrideConditions() []*ParentOverrideMatchCondition
- func (x *TaskConditions) GetSleepConditions() []*SleepMatchCondition
- func (x *TaskConditions) GetUserEventConditions() []*UserEventMatchCondition
- func (*TaskConditions) ProtoMessage()
- func (x *TaskConditions) ProtoReflect() protoreflect.Message
- func (x *TaskConditions) Reset()
- func (x *TaskConditions) String() string
- type TaskRunDetail
- func (*TaskRunDetail) Descriptor() ([]byte, []int)deprecated
- func (x *TaskRunDetail) GetError() string
- func (x *TaskRunDetail) GetExternalId() string
- func (x *TaskRunDetail) GetOutput() []byte
- func (x *TaskRunDetail) GetReadableId() string
- func (x *TaskRunDetail) GetStatus() RunStatus
- func (*TaskRunDetail) ProtoMessage()
- func (x *TaskRunDetail) ProtoReflect() protoreflect.Message
- func (x *TaskRunDetail) Reset()
- func (x *TaskRunDetail) String() string
- type TasksFilter
- func (*TasksFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TasksFilter) GetAdditionalMetadata() []string
- func (x *TasksFilter) GetSince() *timestamppb.Timestamp
- func (x *TasksFilter) GetStatuses() []string
- func (x *TasksFilter) GetUntil() *timestamppb.Timestamp
- func (x *TasksFilter) GetWorkflowIds() []string
- func (*TasksFilter) ProtoMessage()
- func (x *TasksFilter) ProtoReflect() protoreflect.Message
- func (x *TasksFilter) Reset()
- func (x *TasksFilter) String() string
- type TriggerWorkflowRunRequest
- func (*TriggerWorkflowRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerWorkflowRunRequest) GetAdditionalMetadata() []byte
- func (x *TriggerWorkflowRunRequest) GetInput() []byte
- func (x *TriggerWorkflowRunRequest) GetPriority() int32
- func (x *TriggerWorkflowRunRequest) GetWorkflowName() string
- func (*TriggerWorkflowRunRequest) ProtoMessage()
- func (x *TriggerWorkflowRunRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerWorkflowRunRequest) Reset()
- func (x *TriggerWorkflowRunRequest) String() string
- type TriggerWorkflowRunResponse
- func (*TriggerWorkflowRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerWorkflowRunResponse) GetExternalId() string
- func (*TriggerWorkflowRunResponse) ProtoMessage()
- func (x *TriggerWorkflowRunResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerWorkflowRunResponse) Reset()
- func (x *TriggerWorkflowRunResponse) String() string
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error)
- func (UnimplementedAdminServiceServer) GetRunDetails(context.Context, *GetRunDetailsRequest) (*GetRunDetailsResponse, error)
- func (UnimplementedAdminServiceServer) PutWorkflow(context.Context, *CreateWorkflowVersionRequest) (*CreateWorkflowVersionResponse, error)
- func (UnimplementedAdminServiceServer) ReplayTasks(context.Context, *ReplayTasksRequest) (*ReplayTasksResponse, error)
- func (UnimplementedAdminServiceServer) TriggerWorkflowRun(context.Context, *TriggerWorkflowRunRequest) (*TriggerWorkflowRunResponse, error)
- type UnimplementedV1DispatcherServer
- type UnsafeAdminServiceServer
- type UnsafeV1DispatcherServer
- type UserEventMatchCondition
- func (*UserEventMatchCondition) Descriptor() ([]byte, []int)deprecated
- func (x *UserEventMatchCondition) GetBase() *BaseMatchCondition
- func (x *UserEventMatchCondition) GetUserEventKey() string
- func (*UserEventMatchCondition) ProtoMessage()
- func (x *UserEventMatchCondition) ProtoReflect() protoreflect.Message
- func (x *UserEventMatchCondition) Reset()
- func (x *UserEventMatchCondition) String() string
- type V1DispatcherClient
- type V1DispatcherServer
- type V1Dispatcher_ListenForDurableEventClient
- type V1Dispatcher_ListenForDurableEventServer
- type WorkerLabelComparator
- func (WorkerLabelComparator) Descriptor() protoreflect.EnumDescriptor
- func (x WorkerLabelComparator) Enum() *WorkerLabelComparator
- func (WorkerLabelComparator) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkerLabelComparator) Number() protoreflect.EnumNumber
- func (x WorkerLabelComparator) String() string
- func (WorkerLabelComparator) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Action_name = map[int32]string{ 0: "CREATE", 1: "QUEUE", 2: "CANCEL", 3: "SKIP", } Action_value = map[string]int32{ "CREATE": 0, "QUEUE": 1, "CANCEL": 2, "SKIP": 3, } )
Enum value maps for Action.
var ( StickyStrategy_name = map[int32]string{ 0: "SOFT", 1: "HARD", } StickyStrategy_value = map[string]int32{ "SOFT": 0, "HARD": 1, } )
Enum value maps for StickyStrategy.
var ( RateLimitDuration_name = map[int32]string{ 0: "SECOND", 1: "MINUTE", 2: "HOUR", 3: "DAY", 4: "WEEK", 5: "MONTH", 6: "YEAR", } RateLimitDuration_value = map[string]int32{ "SECOND": 0, "MINUTE": 1, "HOUR": 2, "DAY": 3, "WEEK": 4, "MONTH": 5, "YEAR": 6, } )
Enum value maps for RateLimitDuration.
var ( RunStatus_name = map[int32]string{ 0: "QUEUED", 1: "RUNNING", 2: "COMPLETED", 3: "FAILED", 4: "CANCELLED", } RunStatus_value = map[string]int32{ "QUEUED": 0, "RUNNING": 1, "COMPLETED": 2, "FAILED": 3, "CANCELLED": 4, } )
Enum value maps for RunStatus.
var ( ConcurrencyLimitStrategy_name = map[int32]string{ 0: "CANCEL_IN_PROGRESS", 1: "DROP_NEWEST", 2: "QUEUE_NEWEST", 3: "GROUP_ROUND_ROBIN", 4: "CANCEL_NEWEST", } ConcurrencyLimitStrategy_value = map[string]int32{ "CANCEL_IN_PROGRESS": 0, "DROP_NEWEST": 1, "QUEUE_NEWEST": 2, "GROUP_ROUND_ROBIN": 3, "CANCEL_NEWEST": 4, } )
Enum value maps for ConcurrencyLimitStrategy.
var ( WorkerLabelComparator_name = map[int32]string{ 0: "EQUAL", 1: "NOT_EQUAL", 2: "GREATER_THAN", 3: "GREATER_THAN_OR_EQUAL", 4: "LESS_THAN", 5: "LESS_THAN_OR_EQUAL", } WorkerLabelComparator_value = map[string]int32{ "EQUAL": 0, "NOT_EQUAL": 1, "GREATER_THAN": 2, "GREATER_THAN_OR_EQUAL": 3, "LESS_THAN": 4, "LESS_THAN_OR_EQUAL": 5, } )
Enum value maps for WorkerLabelComparator.
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PutWorkflow", Handler: _AdminService_PutWorkflow_Handler, }, { MethodName: "CancelTasks", Handler: _AdminService_CancelTasks_Handler, }, { MethodName: "ReplayTasks", Handler: _AdminService_ReplayTasks_Handler, }, { MethodName: "TriggerWorkflowRun", Handler: _AdminService_TriggerWorkflowRun_Handler, }, { MethodName: "GetRunDetails", Handler: _AdminService_GetRunDetails_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/workflows.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_v1_dispatcher_proto protoreflect.FileDescriptor
var File_v1_workflows_proto protoreflect.FileDescriptor
var V1Dispatcher_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.V1Dispatcher", HandlerType: (*V1DispatcherServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RegisterDurableEvent", Handler: _V1Dispatcher_RegisterDurableEvent_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListenForDurableEvent", Handler: _V1Dispatcher_ListenForDurableEvent_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "v1/dispatcher.proto", }
V1Dispatcher_ServiceDesc is the grpc.ServiceDesc for V1Dispatcher service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
func RegisterV1DispatcherServer ¶
func RegisterV1DispatcherServer(s grpc.ServiceRegistrar, srv V1DispatcherServer)
Types ¶
type Action ¶
type Action int32
func (Action) Descriptor ¶
func (Action) Descriptor() protoreflect.EnumDescriptor
func (Action) EnumDescriptor
deprecated
func (Action) Number ¶
func (x Action) Number() protoreflect.EnumNumber
func (Action) Type ¶
func (Action) Type() protoreflect.EnumType
type AdminServiceClient ¶
type AdminServiceClient interface {
PutWorkflow(ctx context.Context, in *CreateWorkflowVersionRequest, opts ...grpc.CallOption) (*CreateWorkflowVersionResponse, error)
CancelTasks(ctx context.Context, in *CancelTasksRequest, opts ...grpc.CallOption) (*CancelTasksResponse, error)
ReplayTasks(ctx context.Context, in *ReplayTasksRequest, opts ...grpc.CallOption) (*ReplayTasksResponse, error)
TriggerWorkflowRun(ctx context.Context, in *TriggerWorkflowRunRequest, opts ...grpc.CallOption) (*TriggerWorkflowRunResponse, error)
GetRunDetails(ctx context.Context, in *GetRunDetailsRequest, opts ...grpc.CallOption) (*GetRunDetailsResponse, error)
}
AdminServiceClient is the client API for AdminService 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 NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface {
PutWorkflow(context.Context, *CreateWorkflowVersionRequest) (*CreateWorkflowVersionResponse, error)
CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error)
ReplayTasks(context.Context, *ReplayTasksRequest) (*ReplayTasksResponse, error)
TriggerWorkflowRun(context.Context, *TriggerWorkflowRunRequest) (*TriggerWorkflowRunResponse, error)
GetRunDetails(context.Context, *GetRunDetailsRequest) (*GetRunDetailsResponse, error)
// contains filtered or unexported methods
}
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility
type BaseMatchCondition ¶
type BaseMatchCondition struct {
ReadableDataKey string `protobuf:"bytes,1,opt,name=readable_data_key,json=readableDataKey,proto3" json:"readable_data_key,omitempty"`
Action Action `protobuf:"varint,2,opt,name=action,proto3,enum=v1.Action" json:"action,omitempty"`
OrGroupId string `protobuf:"bytes,3,opt,name=or_group_id,json=orGroupId,proto3" json:"or_group_id,omitempty"` // a UUID defining the OR group for this condition
Expression string `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty"`
// contains filtered or unexported fields
}
func (*BaseMatchCondition) Descriptor
deprecated
func (*BaseMatchCondition) Descriptor() ([]byte, []int)
Deprecated: Use BaseMatchCondition.ProtoReflect.Descriptor instead.
func (*BaseMatchCondition) GetAction ¶
func (x *BaseMatchCondition) GetAction() Action
func (*BaseMatchCondition) GetExpression ¶
func (x *BaseMatchCondition) GetExpression() string
func (*BaseMatchCondition) GetOrGroupId ¶
func (x *BaseMatchCondition) GetOrGroupId() string
func (*BaseMatchCondition) GetReadableDataKey ¶
func (x *BaseMatchCondition) GetReadableDataKey() string
func (*BaseMatchCondition) ProtoMessage ¶
func (*BaseMatchCondition) ProtoMessage()
func (*BaseMatchCondition) ProtoReflect ¶
func (x *BaseMatchCondition) ProtoReflect() protoreflect.Message
func (*BaseMatchCondition) Reset ¶
func (x *BaseMatchCondition) Reset()
func (*BaseMatchCondition) String ¶
func (x *BaseMatchCondition) String() string
type CancelTasksRequest ¶
type CancelTasksRequest struct {
ExternalIds []string `protobuf:"bytes,1,rep,name=externalIds,proto3" json:"externalIds,omitempty"` // a list of external UUIDs
Filter *TasksFilter `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*CancelTasksRequest) Descriptor
deprecated
func (*CancelTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTasksRequest.ProtoReflect.Descriptor instead.
func (*CancelTasksRequest) GetExternalIds ¶
func (x *CancelTasksRequest) GetExternalIds() []string
func (*CancelTasksRequest) GetFilter ¶
func (x *CancelTasksRequest) GetFilter() *TasksFilter
func (*CancelTasksRequest) ProtoMessage ¶
func (*CancelTasksRequest) ProtoMessage()
func (*CancelTasksRequest) ProtoReflect ¶
func (x *CancelTasksRequest) ProtoReflect() protoreflect.Message
func (*CancelTasksRequest) Reset ¶
func (x *CancelTasksRequest) Reset()
func (*CancelTasksRequest) String ¶
func (x *CancelTasksRequest) String() string
type CancelTasksResponse ¶
type CancelTasksResponse struct {
CancelledTasks []string `protobuf:"bytes,1,rep,name=cancelled_tasks,json=cancelledTasks,proto3" json:"cancelled_tasks,omitempty"`
// contains filtered or unexported fields
}
func (*CancelTasksResponse) Descriptor
deprecated
func (*CancelTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelTasksResponse.ProtoReflect.Descriptor instead.
func (*CancelTasksResponse) GetCancelledTasks ¶
func (x *CancelTasksResponse) GetCancelledTasks() []string
func (*CancelTasksResponse) ProtoMessage ¶
func (*CancelTasksResponse) ProtoMessage()
func (*CancelTasksResponse) ProtoReflect ¶
func (x *CancelTasksResponse) ProtoReflect() protoreflect.Message
func (*CancelTasksResponse) Reset ¶
func (x *CancelTasksResponse) Reset()
func (*CancelTasksResponse) String ¶
func (x *CancelTasksResponse) String() string
type Concurrency ¶
type Concurrency struct {
Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // (required) the expression to use for concurrency
MaxRuns *int32 `protobuf:"varint,2,opt,name=max_runs,json=maxRuns,proto3,oneof" json:"max_runs,omitempty"` // (optional) the maximum number of concurrent workflow runs, default 1
LimitStrategy *ConcurrencyLimitStrategy `` // (optional) the strategy to use when the concurrency limit is reached, default CANCEL_IN_PROGRESS
/* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Concurrency) Descriptor
deprecated
func (*Concurrency) Descriptor() ([]byte, []int)
Deprecated: Use Concurrency.ProtoReflect.Descriptor instead.
func (*Concurrency) GetExpression ¶
func (x *Concurrency) GetExpression() string
func (*Concurrency) GetLimitStrategy ¶
func (x *Concurrency) GetLimitStrategy() ConcurrencyLimitStrategy
func (*Concurrency) GetMaxRuns ¶
func (x *Concurrency) GetMaxRuns() int32
func (*Concurrency) ProtoMessage ¶
func (*Concurrency) ProtoMessage()
func (*Concurrency) ProtoReflect ¶
func (x *Concurrency) ProtoReflect() protoreflect.Message
func (*Concurrency) Reset ¶
func (x *Concurrency) Reset()
func (*Concurrency) String ¶
func (x *Concurrency) String() string
type ConcurrencyLimitStrategy ¶
type ConcurrencyLimitStrategy int32
const ( ConcurrencyLimitStrategy_CANCEL_IN_PROGRESS ConcurrencyLimitStrategy = 0 ConcurrencyLimitStrategy_DROP_NEWEST ConcurrencyLimitStrategy = 1 // deprecated ConcurrencyLimitStrategy_QUEUE_NEWEST ConcurrencyLimitStrategy = 2 // deprecated ConcurrencyLimitStrategy_GROUP_ROUND_ROBIN ConcurrencyLimitStrategy = 3 ConcurrencyLimitStrategy_CANCEL_NEWEST ConcurrencyLimitStrategy = 4 )
func (ConcurrencyLimitStrategy) Descriptor ¶
func (ConcurrencyLimitStrategy) Descriptor() protoreflect.EnumDescriptor
func (ConcurrencyLimitStrategy) Enum ¶
func (x ConcurrencyLimitStrategy) Enum() *ConcurrencyLimitStrategy
func (ConcurrencyLimitStrategy) EnumDescriptor
deprecated
func (ConcurrencyLimitStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConcurrencyLimitStrategy.Descriptor instead.
func (ConcurrencyLimitStrategy) Number ¶
func (x ConcurrencyLimitStrategy) Number() protoreflect.EnumNumber
func (ConcurrencyLimitStrategy) String ¶
func (x ConcurrencyLimitStrategy) String() string
func (ConcurrencyLimitStrategy) Type ¶
func (ConcurrencyLimitStrategy) Type() protoreflect.EnumType
type CreateTaskOpts ¶
type CreateTaskOpts struct {
ReadableId string `protobuf:"bytes,1,opt,name=readable_id,json=readableId,proto3" json:"readable_id,omitempty"` // (required) the task name
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // (required) the task action id
Timeout string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // (optional) the task timeout
Inputs string `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` // (optional) the task inputs, assuming string representation of JSON
Parents []string `protobuf:"bytes,5,rep,name=parents,proto3" json:"parents,omitempty"` // (optional) the task parents. if none are passed in, this is a root task
Retries int32 `protobuf:"varint,6,opt,name=retries,proto3" json:"retries,omitempty"` // (optional) the number of retries for the step, default 0
RateLimits []*CreateTaskRateLimit `protobuf:"bytes,7,rep,name=rate_limits,json=rateLimits,proto3" json:"rate_limits,omitempty"` // (optional) the rate limits for the step
WorkerLabels map[string]*DesiredWorkerLabels `` // (optional) the desired worker affinity state for the step
/* 185-byte string literal not displayed */
BackoffFactor *float32 `protobuf:"fixed32,9,opt,name=backoff_factor,json=backoffFactor,proto3,oneof" json:"backoff_factor,omitempty"` // (optional) the retry backoff factor for the step
BackoffMaxSeconds *int32 `protobuf:"varint,10,opt,name=backoff_max_seconds,json=backoffMaxSeconds,proto3,oneof" json:"backoff_max_seconds,omitempty"` // (optional) the maximum backoff time for the step
Concurrency []*Concurrency `protobuf:"bytes,11,rep,name=concurrency,proto3" json:"concurrency,omitempty"` // (optional) the task concurrency options
Conditions *TaskConditions `protobuf:"bytes,12,opt,name=conditions,proto3,oneof" json:"conditions,omitempty"` // (optional) the task conditions for creating the task
ScheduleTimeout *string `protobuf:"bytes,13,opt,name=schedule_timeout,json=scheduleTimeout,proto3,oneof" json:"schedule_timeout,omitempty"` // (optional) the timeout for the schedule
// contains filtered or unexported fields
}
CreateTaskOpts represents options to create a task.
func (*CreateTaskOpts) Descriptor
deprecated
func (*CreateTaskOpts) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskOpts.ProtoReflect.Descriptor instead.
func (*CreateTaskOpts) GetAction ¶
func (x *CreateTaskOpts) GetAction() string
func (*CreateTaskOpts) GetBackoffFactor ¶
func (x *CreateTaskOpts) GetBackoffFactor() float32
func (*CreateTaskOpts) GetBackoffMaxSeconds ¶
func (x *CreateTaskOpts) GetBackoffMaxSeconds() int32
func (*CreateTaskOpts) GetConcurrency ¶
func (x *CreateTaskOpts) GetConcurrency() []*Concurrency
func (*CreateTaskOpts) GetConditions ¶
func (x *CreateTaskOpts) GetConditions() *TaskConditions
func (*CreateTaskOpts) GetInputs ¶
func (x *CreateTaskOpts) GetInputs() string
func (*CreateTaskOpts) GetParents ¶
func (x *CreateTaskOpts) GetParents() []string
func (*CreateTaskOpts) GetRateLimits ¶
func (x *CreateTaskOpts) GetRateLimits() []*CreateTaskRateLimit
func (*CreateTaskOpts) GetReadableId ¶
func (x *CreateTaskOpts) GetReadableId() string
func (*CreateTaskOpts) GetRetries ¶
func (x *CreateTaskOpts) GetRetries() int32
func (*CreateTaskOpts) GetScheduleTimeout ¶
func (x *CreateTaskOpts) GetScheduleTimeout() string
func (*CreateTaskOpts) GetTimeout ¶
func (x *CreateTaskOpts) GetTimeout() string
func (*CreateTaskOpts) GetWorkerLabels ¶
func (x *CreateTaskOpts) GetWorkerLabels() map[string]*DesiredWorkerLabels
func (*CreateTaskOpts) ProtoMessage ¶
func (*CreateTaskOpts) ProtoMessage()
func (*CreateTaskOpts) ProtoReflect ¶
func (x *CreateTaskOpts) ProtoReflect() protoreflect.Message
func (*CreateTaskOpts) Reset ¶
func (x *CreateTaskOpts) Reset()
func (*CreateTaskOpts) String ¶
func (x *CreateTaskOpts) String() string
type CreateTaskRateLimit ¶
type CreateTaskRateLimit struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // (required) the key for the rate limit
Units *int32 `protobuf:"varint,2,opt,name=units,proto3,oneof" json:"units,omitempty"` // (optional) the number of units this step consumes
KeyExpr *string `protobuf:"bytes,3,opt,name=key_expr,json=keyExpr,proto3,oneof" json:"key_expr,omitempty"` // (optional) a CEL expression for determining the rate limit key
UnitsExpr *string `protobuf:"bytes,4,opt,name=units_expr,json=unitsExpr,proto3,oneof" json:"units_expr,omitempty"` // (optional) a CEL expression for determining the number of units consumed
LimitValuesExpr *string `protobuf:"bytes,5,opt,name=limit_values_expr,json=limitValuesExpr,proto3,oneof" json:"limit_values_expr,omitempty"` // (optional) a CEL expression for determining the total amount of rate limit units
Duration *RateLimitDuration `protobuf:"varint,6,opt,name=duration,proto3,enum=v1.RateLimitDuration,oneof" json:"duration,omitempty"` // (optional) the default rate limit window to use for dynamic rate limits
// contains filtered or unexported fields
}
func (*CreateTaskRateLimit) Descriptor
deprecated
func (*CreateTaskRateLimit) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskRateLimit.ProtoReflect.Descriptor instead.
func (*CreateTaskRateLimit) GetDuration ¶
func (x *CreateTaskRateLimit) GetDuration() RateLimitDuration
func (*CreateTaskRateLimit) GetKey ¶
func (x *CreateTaskRateLimit) GetKey() string
func (*CreateTaskRateLimit) GetKeyExpr ¶
func (x *CreateTaskRateLimit) GetKeyExpr() string
func (*CreateTaskRateLimit) GetLimitValuesExpr ¶
func (x *CreateTaskRateLimit) GetLimitValuesExpr() string
func (*CreateTaskRateLimit) GetUnits ¶
func (x *CreateTaskRateLimit) GetUnits() int32
func (*CreateTaskRateLimit) GetUnitsExpr ¶
func (x *CreateTaskRateLimit) GetUnitsExpr() string
func (*CreateTaskRateLimit) ProtoMessage ¶
func (*CreateTaskRateLimit) ProtoMessage()
func (*CreateTaskRateLimit) ProtoReflect ¶
func (x *CreateTaskRateLimit) ProtoReflect() protoreflect.Message
func (*CreateTaskRateLimit) Reset ¶
func (x *CreateTaskRateLimit) Reset()
func (*CreateTaskRateLimit) String ¶
func (x *CreateTaskRateLimit) String() string
type CreateWorkflowVersionRequest ¶
type CreateWorkflowVersionRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // (required) the workflow name
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // (optional) the workflow description
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // (optional) the workflow version
EventTriggers []string `protobuf:"bytes,4,rep,name=event_triggers,json=eventTriggers,proto3" json:"event_triggers,omitempty"` // (optional) event triggers for the workflow
CronTriggers []string `protobuf:"bytes,5,rep,name=cron_triggers,json=cronTriggers,proto3" json:"cron_triggers,omitempty"` // (optional) cron triggers for the workflow
Tasks []*CreateTaskOpts `protobuf:"bytes,6,rep,name=tasks,proto3" json:"tasks,omitempty"` // (required) the workflow jobs
// Deprecated: use concurrency_arr instead
Concurrency *Concurrency `protobuf:"bytes,7,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // (optional) the workflow concurrency options
CronInput *string `protobuf:"bytes,8,opt,name=cron_input,json=cronInput,proto3,oneof" json:"cron_input,omitempty"` // (optional) the input for the cron trigger
OnFailureTask *CreateTaskOpts `protobuf:"bytes,9,opt,name=on_failure_task,json=onFailureTask,proto3,oneof" json:"on_failure_task,omitempty"` // (optional) the job to run on failure
Sticky *StickyStrategy `protobuf:"varint,10,opt,name=sticky,proto3,enum=v1.StickyStrategy,oneof" json:"sticky,omitempty"` // (optional) the sticky strategy for assigning steps to workers
DefaultPriority *int32 `protobuf:"varint,11,opt,name=default_priority,json=defaultPriority,proto3,oneof" json:"default_priority,omitempty"` // (optional) the default priority for the workflow
ConcurrencyArr []*Concurrency `protobuf:"bytes,12,rep,name=concurrency_arr,json=concurrencyArr,proto3" json:"concurrency_arr,omitempty"` // (optional) the workflow concurrency options
DefaultFilters []*DefaultFilter `protobuf:"bytes,13,rep,name=default_filters,json=defaultFilters,proto3" json:"default_filters,omitempty"` // (optional) the default filters for the workflow
// contains filtered or unexported fields
}
CreateWorkflowVersionRequest represents options to create a workflow version.
func (*CreateWorkflowVersionRequest) Descriptor
deprecated
func (*CreateWorkflowVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkflowVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkflowVersionRequest) GetConcurrency ¶
func (x *CreateWorkflowVersionRequest) GetConcurrency() *Concurrency
func (*CreateWorkflowVersionRequest) GetConcurrencyArr ¶
func (x *CreateWorkflowVersionRequest) GetConcurrencyArr() []*Concurrency
func (*CreateWorkflowVersionRequest) GetCronInput ¶
func (x *CreateWorkflowVersionRequest) GetCronInput() string
func (*CreateWorkflowVersionRequest) GetCronTriggers ¶
func (x *CreateWorkflowVersionRequest) GetCronTriggers() []string
func (*CreateWorkflowVersionRequest) GetDefaultFilters ¶
func (x *CreateWorkflowVersionRequest) GetDefaultFilters() []*DefaultFilter
func (*CreateWorkflowVersionRequest) GetDefaultPriority ¶
func (x *CreateWorkflowVersionRequest) GetDefaultPriority() int32
func (*CreateWorkflowVersionRequest) GetDescription ¶
func (x *CreateWorkflowVersionRequest) GetDescription() string
func (*CreateWorkflowVersionRequest) GetEventTriggers ¶
func (x *CreateWorkflowVersionRequest) GetEventTriggers() []string
func (*CreateWorkflowVersionRequest) GetName ¶
func (x *CreateWorkflowVersionRequest) GetName() string
func (*CreateWorkflowVersionRequest) GetOnFailureTask ¶
func (x *CreateWorkflowVersionRequest) GetOnFailureTask() *CreateTaskOpts
func (*CreateWorkflowVersionRequest) GetSticky ¶
func (x *CreateWorkflowVersionRequest) GetSticky() StickyStrategy
func (*CreateWorkflowVersionRequest) GetTasks ¶
func (x *CreateWorkflowVersionRequest) GetTasks() []*CreateTaskOpts
func (*CreateWorkflowVersionRequest) GetVersion ¶
func (x *CreateWorkflowVersionRequest) GetVersion() string
func (*CreateWorkflowVersionRequest) ProtoMessage ¶
func (*CreateWorkflowVersionRequest) ProtoMessage()
func (*CreateWorkflowVersionRequest) ProtoReflect ¶
func (x *CreateWorkflowVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkflowVersionRequest) Reset ¶
func (x *CreateWorkflowVersionRequest) Reset()
func (*CreateWorkflowVersionRequest) String ¶
func (x *CreateWorkflowVersionRequest) String() string
type CreateWorkflowVersionResponse ¶
type CreateWorkflowVersionResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
// contains filtered or unexported fields
}
CreateWorkflowVersionResponse represents the response after creating a workflow version.
func (*CreateWorkflowVersionResponse) Descriptor
deprecated
func (*CreateWorkflowVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkflowVersionResponse.ProtoReflect.Descriptor instead.
func (*CreateWorkflowVersionResponse) GetId ¶
func (x *CreateWorkflowVersionResponse) GetId() string
func (*CreateWorkflowVersionResponse) GetWorkflowId ¶
func (x *CreateWorkflowVersionResponse) GetWorkflowId() string
func (*CreateWorkflowVersionResponse) ProtoMessage ¶
func (*CreateWorkflowVersionResponse) ProtoMessage()
func (*CreateWorkflowVersionResponse) ProtoReflect ¶
func (x *CreateWorkflowVersionResponse) ProtoReflect() protoreflect.Message
func (*CreateWorkflowVersionResponse) Reset ¶
func (x *CreateWorkflowVersionResponse) Reset()
func (*CreateWorkflowVersionResponse) String ¶
func (x *CreateWorkflowVersionResponse) String() string
type DefaultFilter ¶
type DefaultFilter struct {
Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // (required) the CEL expression for the filter
Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` // (required) the scope of the filter
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // (optional) the payload for the filter, if any. A JSON object as a string.
// contains filtered or unexported fields
}
func (*DefaultFilter) Descriptor
deprecated
func (*DefaultFilter) Descriptor() ([]byte, []int)
Deprecated: Use DefaultFilter.ProtoReflect.Descriptor instead.
func (*DefaultFilter) GetExpression ¶
func (x *DefaultFilter) GetExpression() string
func (*DefaultFilter) GetPayload ¶
func (x *DefaultFilter) GetPayload() []byte
func (*DefaultFilter) GetScope ¶
func (x *DefaultFilter) GetScope() string
func (*DefaultFilter) ProtoMessage ¶
func (*DefaultFilter) ProtoMessage()
func (*DefaultFilter) ProtoReflect ¶
func (x *DefaultFilter) ProtoReflect() protoreflect.Message
func (*DefaultFilter) Reset ¶
func (x *DefaultFilter) Reset()
func (*DefaultFilter) String ¶
func (x *DefaultFilter) String() string
type DesiredWorkerLabels ¶
type DesiredWorkerLabels struct {
// value of the affinity
StrValue *string `protobuf:"bytes,1,opt,name=strValue,proto3,oneof" json:"strValue,omitempty"`
IntValue *int32 `protobuf:"varint,2,opt,name=intValue,proto3,oneof" json:"intValue,omitempty"`
// *
// (optional) Specifies whether the affinity setting is required.
// If required, the worker will not accept actions that do not have a truthy affinity setting.
//
// Defaults to false.
Required *bool `protobuf:"varint,3,opt,name=required,proto3,oneof" json:"required,omitempty"`
// *
// (optional) Specifies the comparator for the affinity setting.
// If not set, the default is EQUAL.
Comparator *WorkerLabelComparator `protobuf:"varint,4,opt,name=comparator,proto3,enum=v1.WorkerLabelComparator,oneof" json:"comparator,omitempty"`
// *
// (optional) Specifies the weight of the affinity setting.
// If not set, the default is 100.
Weight *int32 `protobuf:"varint,5,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
// contains filtered or unexported fields
}
func (*DesiredWorkerLabels) Descriptor
deprecated
func (*DesiredWorkerLabels) Descriptor() ([]byte, []int)
Deprecated: Use DesiredWorkerLabels.ProtoReflect.Descriptor instead.
func (*DesiredWorkerLabels) GetComparator ¶
func (x *DesiredWorkerLabels) GetComparator() WorkerLabelComparator
func (*DesiredWorkerLabels) GetIntValue ¶
func (x *DesiredWorkerLabels) GetIntValue() int32
func (*DesiredWorkerLabels) GetRequired ¶
func (x *DesiredWorkerLabels) GetRequired() bool
func (*DesiredWorkerLabels) GetStrValue ¶
func (x *DesiredWorkerLabels) GetStrValue() string
func (*DesiredWorkerLabels) GetWeight ¶
func (x *DesiredWorkerLabels) GetWeight() int32
func (*DesiredWorkerLabels) ProtoMessage ¶
func (*DesiredWorkerLabels) ProtoMessage()
func (*DesiredWorkerLabels) ProtoReflect ¶
func (x *DesiredWorkerLabels) ProtoReflect() protoreflect.Message
func (*DesiredWorkerLabels) Reset ¶
func (x *DesiredWorkerLabels) Reset()
func (*DesiredWorkerLabels) String ¶
func (x *DesiredWorkerLabels) String() string
type DurableEvent ¶
type DurableEvent struct {
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
SignalKey string `protobuf:"bytes,2,opt,name=signal_key,json=signalKey,proto3" json:"signal_key,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // the data for the event
// contains filtered or unexported fields
}
func (*DurableEvent) Descriptor
deprecated
func (*DurableEvent) Descriptor() ([]byte, []int)
Deprecated: Use DurableEvent.ProtoReflect.Descriptor instead.
func (*DurableEvent) GetData ¶
func (x *DurableEvent) GetData() []byte
func (*DurableEvent) GetSignalKey ¶
func (x *DurableEvent) GetSignalKey() string
func (*DurableEvent) GetTaskId ¶
func (x *DurableEvent) GetTaskId() string
func (*DurableEvent) ProtoMessage ¶
func (*DurableEvent) ProtoMessage()
func (*DurableEvent) ProtoReflect ¶
func (x *DurableEvent) ProtoReflect() protoreflect.Message
func (*DurableEvent) Reset ¶
func (x *DurableEvent) Reset()
func (*DurableEvent) String ¶
func (x *DurableEvent) String() string
type DurableEventListenerConditions ¶
type DurableEventListenerConditions struct {
SleepConditions []*SleepMatchCondition `protobuf:"bytes,1,rep,name=sleep_conditions,json=sleepConditions,proto3" json:"sleep_conditions,omitempty"`
UserEventConditions []*UserEventMatchCondition `protobuf:"bytes,2,rep,name=user_event_conditions,json=userEventConditions,proto3" json:"user_event_conditions,omitempty"`
// contains filtered or unexported fields
}
func (*DurableEventListenerConditions) Descriptor
deprecated
func (*DurableEventListenerConditions) Descriptor() ([]byte, []int)
Deprecated: Use DurableEventListenerConditions.ProtoReflect.Descriptor instead.
func (*DurableEventListenerConditions) GetSleepConditions ¶
func (x *DurableEventListenerConditions) GetSleepConditions() []*SleepMatchCondition
func (*DurableEventListenerConditions) GetUserEventConditions ¶
func (x *DurableEventListenerConditions) GetUserEventConditions() []*UserEventMatchCondition
func (*DurableEventListenerConditions) ProtoMessage ¶
func (*DurableEventListenerConditions) ProtoMessage()
func (*DurableEventListenerConditions) ProtoReflect ¶
func (x *DurableEventListenerConditions) ProtoReflect() protoreflect.Message
func (*DurableEventListenerConditions) Reset ¶
func (x *DurableEventListenerConditions) Reset()
func (*DurableEventListenerConditions) String ¶
func (x *DurableEventListenerConditions) String() string
type GetRunDetailsRequest ¶ added in v0.74.9
type GetRunDetailsRequest struct {
ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // (required) the external id (uuid) of the workflow run
// contains filtered or unexported fields
}
func (*GetRunDetailsRequest) Descriptor
deprecated
added in
v0.74.9
func (*GetRunDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRunDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetRunDetailsRequest) GetExternalId ¶ added in v0.74.9
func (x *GetRunDetailsRequest) GetExternalId() string
func (*GetRunDetailsRequest) ProtoMessage ¶ added in v0.74.9
func (*GetRunDetailsRequest) ProtoMessage()
func (*GetRunDetailsRequest) ProtoReflect ¶ added in v0.74.9
func (x *GetRunDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetRunDetailsRequest) Reset ¶ added in v0.74.9
func (x *GetRunDetailsRequest) Reset()
func (*GetRunDetailsRequest) String ¶ added in v0.74.9
func (x *GetRunDetailsRequest) String() string
type GetRunDetailsResponse ¶ added in v0.74.9
type GetRunDetailsResponse struct {
Input []byte `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` // the input payload for the workflow run
Status RunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=v1.RunStatus" json:"status,omitempty"` // the status of the workflow run
TaskRuns map[string]*TaskRunDetail `` // map of task run external ids to their details
/* 173-byte string literal not displayed */
Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"` // indicates if the workflow run is done
AdditionalMetadata []byte `protobuf:"bytes,5,opt,name=additional_metadata,json=additionalMetadata,proto3" json:"additional_metadata,omitempty"` // (optional) additional metadata for the workflow run
// contains filtered or unexported fields
}
func (*GetRunDetailsResponse) Descriptor
deprecated
added in
v0.74.9
func (*GetRunDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRunDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetRunDetailsResponse) GetAdditionalMetadata ¶ added in v0.74.13
func (x *GetRunDetailsResponse) GetAdditionalMetadata() []byte
func (*GetRunDetailsResponse) GetDone ¶ added in v0.74.9
func (x *GetRunDetailsResponse) GetDone() bool
func (*GetRunDetailsResponse) GetInput ¶ added in v0.74.9
func (x *GetRunDetailsResponse) GetInput() []byte
func (*GetRunDetailsResponse) GetStatus ¶ added in v0.74.9
func (x *GetRunDetailsResponse) GetStatus() RunStatus
func (*GetRunDetailsResponse) GetTaskRuns ¶ added in v0.74.9
func (x *GetRunDetailsResponse) GetTaskRuns() map[string]*TaskRunDetail
func (*GetRunDetailsResponse) ProtoMessage ¶ added in v0.74.9
func (*GetRunDetailsResponse) ProtoMessage()
func (*GetRunDetailsResponse) ProtoReflect ¶ added in v0.74.9
func (x *GetRunDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetRunDetailsResponse) Reset ¶ added in v0.74.9
func (x *GetRunDetailsResponse) Reset()
func (*GetRunDetailsResponse) String ¶ added in v0.74.9
func (x *GetRunDetailsResponse) String() string
type ListenForDurableEventRequest ¶
type ListenForDurableEventRequest struct {
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // single listener per worker
SignalKey string `protobuf:"bytes,2,opt,name=signal_key,json=signalKey,proto3" json:"signal_key,omitempty"` // the match id for the listener
// contains filtered or unexported fields
}
func (*ListenForDurableEventRequest) Descriptor
deprecated
func (*ListenForDurableEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListenForDurableEventRequest.ProtoReflect.Descriptor instead.
func (*ListenForDurableEventRequest) GetSignalKey ¶
func (x *ListenForDurableEventRequest) GetSignalKey() string
func (*ListenForDurableEventRequest) GetTaskId ¶
func (x *ListenForDurableEventRequest) GetTaskId() string
func (*ListenForDurableEventRequest) ProtoMessage ¶
func (*ListenForDurableEventRequest) ProtoMessage()
func (*ListenForDurableEventRequest) ProtoReflect ¶
func (x *ListenForDurableEventRequest) ProtoReflect() protoreflect.Message
func (*ListenForDurableEventRequest) Reset ¶
func (x *ListenForDurableEventRequest) Reset()
func (*ListenForDurableEventRequest) String ¶
func (x *ListenForDurableEventRequest) String() string
type ParentOverrideMatchCondition ¶
type ParentOverrideMatchCondition struct {
Base *BaseMatchCondition `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ParentReadableId string `protobuf:"bytes,2,opt,name=parent_readable_id,json=parentReadableId,proto3" json:"parent_readable_id,omitempty"`
// contains filtered or unexported fields
}
func (*ParentOverrideMatchCondition) Descriptor
deprecated
func (*ParentOverrideMatchCondition) Descriptor() ([]byte, []int)
Deprecated: Use ParentOverrideMatchCondition.ProtoReflect.Descriptor instead.
func (*ParentOverrideMatchCondition) GetBase ¶
func (x *ParentOverrideMatchCondition) GetBase() *BaseMatchCondition
func (*ParentOverrideMatchCondition) GetParentReadableId ¶
func (x *ParentOverrideMatchCondition) GetParentReadableId() string
func (*ParentOverrideMatchCondition) ProtoMessage ¶
func (*ParentOverrideMatchCondition) ProtoMessage()
func (*ParentOverrideMatchCondition) ProtoReflect ¶
func (x *ParentOverrideMatchCondition) ProtoReflect() protoreflect.Message
func (*ParentOverrideMatchCondition) Reset ¶
func (x *ParentOverrideMatchCondition) Reset()
func (*ParentOverrideMatchCondition) String ¶
func (x *ParentOverrideMatchCondition) String() string
type RateLimitDuration ¶
type RateLimitDuration int32
const ( RateLimitDuration_SECOND RateLimitDuration = 0 RateLimitDuration_MINUTE RateLimitDuration = 1 RateLimitDuration_HOUR RateLimitDuration = 2 RateLimitDuration_DAY RateLimitDuration = 3 RateLimitDuration_WEEK RateLimitDuration = 4 RateLimitDuration_MONTH RateLimitDuration = 5 RateLimitDuration_YEAR RateLimitDuration = 6 )
func (RateLimitDuration) Descriptor ¶
func (RateLimitDuration) Descriptor() protoreflect.EnumDescriptor
func (RateLimitDuration) Enum ¶
func (x RateLimitDuration) Enum() *RateLimitDuration
func (RateLimitDuration) EnumDescriptor
deprecated
func (RateLimitDuration) EnumDescriptor() ([]byte, []int)
Deprecated: Use RateLimitDuration.Descriptor instead.
func (RateLimitDuration) Number ¶
func (x RateLimitDuration) Number() protoreflect.EnumNumber
func (RateLimitDuration) String ¶
func (x RateLimitDuration) String() string
func (RateLimitDuration) Type ¶
func (RateLimitDuration) Type() protoreflect.EnumType
type RegisterDurableEventRequest ¶
type RegisterDurableEventRequest struct {
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // external uuid for the task run
SignalKey string `protobuf:"bytes,2,opt,name=signal_key,json=signalKey,proto3" json:"signal_key,omitempty"` // the signal key for the event
Conditions *DurableEventListenerConditions `protobuf:"bytes,3,opt,name=conditions,proto3" json:"conditions,omitempty"` // the task conditions for creating the task
// contains filtered or unexported fields
}
func (*RegisterDurableEventRequest) Descriptor
deprecated
func (*RegisterDurableEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterDurableEventRequest.ProtoReflect.Descriptor instead.
func (*RegisterDurableEventRequest) GetConditions ¶
func (x *RegisterDurableEventRequest) GetConditions() *DurableEventListenerConditions
func (*RegisterDurableEventRequest) GetSignalKey ¶
func (x *RegisterDurableEventRequest) GetSignalKey() string
func (*RegisterDurableEventRequest) GetTaskId ¶
func (x *RegisterDurableEventRequest) GetTaskId() string
func (*RegisterDurableEventRequest) ProtoMessage ¶
func (*RegisterDurableEventRequest) ProtoMessage()
func (*RegisterDurableEventRequest) ProtoReflect ¶
func (x *RegisterDurableEventRequest) ProtoReflect() protoreflect.Message
func (*RegisterDurableEventRequest) Reset ¶
func (x *RegisterDurableEventRequest) Reset()
func (*RegisterDurableEventRequest) String ¶
func (x *RegisterDurableEventRequest) String() string
type RegisterDurableEventResponse ¶
type RegisterDurableEventResponse struct {
// contains filtered or unexported fields
}
func (*RegisterDurableEventResponse) Descriptor
deprecated
func (*RegisterDurableEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterDurableEventResponse.ProtoReflect.Descriptor instead.
func (*RegisterDurableEventResponse) ProtoMessage ¶
func (*RegisterDurableEventResponse) ProtoMessage()
func (*RegisterDurableEventResponse) ProtoReflect ¶
func (x *RegisterDurableEventResponse) ProtoReflect() protoreflect.Message
func (*RegisterDurableEventResponse) Reset ¶
func (x *RegisterDurableEventResponse) Reset()
func (*RegisterDurableEventResponse) String ¶
func (x *RegisterDurableEventResponse) String() string
type ReplayTasksRequest ¶
type ReplayTasksRequest struct {
ExternalIds []string `protobuf:"bytes,1,rep,name=externalIds,proto3" json:"externalIds,omitempty"` // a list of external UUIDs
Filter *TasksFilter `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ReplayTasksRequest) Descriptor
deprecated
func (*ReplayTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplayTasksRequest.ProtoReflect.Descriptor instead.
func (*ReplayTasksRequest) GetExternalIds ¶
func (x *ReplayTasksRequest) GetExternalIds() []string
func (*ReplayTasksRequest) GetFilter ¶
func (x *ReplayTasksRequest) GetFilter() *TasksFilter
func (*ReplayTasksRequest) ProtoMessage ¶
func (*ReplayTasksRequest) ProtoMessage()
func (*ReplayTasksRequest) ProtoReflect ¶
func (x *ReplayTasksRequest) ProtoReflect() protoreflect.Message
func (*ReplayTasksRequest) Reset ¶
func (x *ReplayTasksRequest) Reset()
func (*ReplayTasksRequest) String ¶
func (x *ReplayTasksRequest) String() string
type ReplayTasksResponse ¶
type ReplayTasksResponse struct {
ReplayedTasks []string `protobuf:"bytes,1,rep,name=replayed_tasks,json=replayedTasks,proto3" json:"replayed_tasks,omitempty"`
// contains filtered or unexported fields
}
func (*ReplayTasksResponse) Descriptor
deprecated
func (*ReplayTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplayTasksResponse.ProtoReflect.Descriptor instead.
func (*ReplayTasksResponse) GetReplayedTasks ¶
func (x *ReplayTasksResponse) GetReplayedTasks() []string
func (*ReplayTasksResponse) ProtoMessage ¶
func (*ReplayTasksResponse) ProtoMessage()
func (*ReplayTasksResponse) ProtoReflect ¶
func (x *ReplayTasksResponse) ProtoReflect() protoreflect.Message
func (*ReplayTasksResponse) Reset ¶
func (x *ReplayTasksResponse) Reset()
func (*ReplayTasksResponse) String ¶
func (x *ReplayTasksResponse) String() string
type RunStatus ¶ added in v0.74.9
type RunStatus int32
func (RunStatus) Descriptor ¶ added in v0.74.9
func (RunStatus) Descriptor() protoreflect.EnumDescriptor
func (RunStatus) EnumDescriptor
deprecated
added in
v0.74.9
func (RunStatus) Number ¶ added in v0.74.9
func (x RunStatus) Number() protoreflect.EnumNumber
func (RunStatus) Type ¶ added in v0.74.9
func (RunStatus) Type() protoreflect.EnumType
type SleepMatchCondition ¶
type SleepMatchCondition struct {
Base *BaseMatchCondition `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SleepFor string `protobuf:"bytes,2,opt,name=sleep_for,json=sleepFor,proto3" json:"sleep_for,omitempty"` // a duration string indicating how long to sleep
// contains filtered or unexported fields
}
func (*SleepMatchCondition) Descriptor
deprecated
func (*SleepMatchCondition) Descriptor() ([]byte, []int)
Deprecated: Use SleepMatchCondition.ProtoReflect.Descriptor instead.
func (*SleepMatchCondition) GetBase ¶
func (x *SleepMatchCondition) GetBase() *BaseMatchCondition
func (*SleepMatchCondition) GetSleepFor ¶
func (x *SleepMatchCondition) GetSleepFor() string
func (*SleepMatchCondition) ProtoMessage ¶
func (*SleepMatchCondition) ProtoMessage()
func (*SleepMatchCondition) ProtoReflect ¶
func (x *SleepMatchCondition) ProtoReflect() protoreflect.Message
func (*SleepMatchCondition) Reset ¶
func (x *SleepMatchCondition) Reset()
func (*SleepMatchCondition) String ¶
func (x *SleepMatchCondition) String() string
type StickyStrategy ¶
type StickyStrategy int32
const ( StickyStrategy_SOFT StickyStrategy = 0 StickyStrategy_HARD StickyStrategy = 1 )
func (StickyStrategy) Descriptor ¶
func (StickyStrategy) Descriptor() protoreflect.EnumDescriptor
func (StickyStrategy) Enum ¶
func (x StickyStrategy) Enum() *StickyStrategy
func (StickyStrategy) EnumDescriptor
deprecated
func (StickyStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use StickyStrategy.Descriptor instead.
func (StickyStrategy) Number ¶
func (x StickyStrategy) Number() protoreflect.EnumNumber
func (StickyStrategy) String ¶
func (x StickyStrategy) String() string
func (StickyStrategy) Type ¶
func (StickyStrategy) Type() protoreflect.EnumType
type TaskConditions ¶
type TaskConditions struct {
ParentOverrideConditions []*ParentOverrideMatchCondition `` /* 135-byte string literal not displayed */
SleepConditions []*SleepMatchCondition `protobuf:"bytes,2,rep,name=sleep_conditions,json=sleepConditions,proto3" json:"sleep_conditions,omitempty"`
UserEventConditions []*UserEventMatchCondition `protobuf:"bytes,3,rep,name=user_event_conditions,json=userEventConditions,proto3" json:"user_event_conditions,omitempty"`
// contains filtered or unexported fields
}
func (*TaskConditions) Descriptor
deprecated
func (*TaskConditions) Descriptor() ([]byte, []int)
Deprecated: Use TaskConditions.ProtoReflect.Descriptor instead.
func (*TaskConditions) GetParentOverrideConditions ¶
func (x *TaskConditions) GetParentOverrideConditions() []*ParentOverrideMatchCondition
func (*TaskConditions) GetSleepConditions ¶
func (x *TaskConditions) GetSleepConditions() []*SleepMatchCondition
func (*TaskConditions) GetUserEventConditions ¶
func (x *TaskConditions) GetUserEventConditions() []*UserEventMatchCondition
func (*TaskConditions) ProtoMessage ¶
func (*TaskConditions) ProtoMessage()
func (*TaskConditions) ProtoReflect ¶
func (x *TaskConditions) ProtoReflect() protoreflect.Message
func (*TaskConditions) Reset ¶
func (x *TaskConditions) Reset()
func (*TaskConditions) String ¶
func (x *TaskConditions) String() string
type TaskRunDetail ¶ added in v0.74.9
type TaskRunDetail struct {
ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // the external id (uuid) of the task run
Status RunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=v1.RunStatus" json:"status,omitempty"` // the status of the task run
Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"` // (optional) error message from the task run, if any
Output []byte `protobuf:"bytes,4,opt,name=output,proto3,oneof" json:"output,omitempty"` // (optional) the output payload for the task run
ReadableId string `protobuf:"bytes,5,opt,name=readable_id,json=readableId,proto3" json:"readable_id,omitempty"` // the readable id of the task
// contains filtered or unexported fields
}
func (*TaskRunDetail) Descriptor
deprecated
added in
v0.74.9
func (*TaskRunDetail) Descriptor() ([]byte, []int)
Deprecated: Use TaskRunDetail.ProtoReflect.Descriptor instead.
func (*TaskRunDetail) GetError ¶ added in v0.74.9
func (x *TaskRunDetail) GetError() string
func (*TaskRunDetail) GetExternalId ¶ added in v0.74.9
func (x *TaskRunDetail) GetExternalId() string
func (*TaskRunDetail) GetOutput ¶ added in v0.74.9
func (x *TaskRunDetail) GetOutput() []byte
func (*TaskRunDetail) GetReadableId ¶ added in v0.74.9
func (x *TaskRunDetail) GetReadableId() string
func (*TaskRunDetail) GetStatus ¶ added in v0.74.9
func (x *TaskRunDetail) GetStatus() RunStatus
func (*TaskRunDetail) ProtoMessage ¶ added in v0.74.9
func (*TaskRunDetail) ProtoMessage()
func (*TaskRunDetail) ProtoReflect ¶ added in v0.74.9
func (x *TaskRunDetail) ProtoReflect() protoreflect.Message
func (*TaskRunDetail) Reset ¶ added in v0.74.9
func (x *TaskRunDetail) Reset()
func (*TaskRunDetail) String ¶ added in v0.74.9
func (x *TaskRunDetail) String() string
type TasksFilter ¶
type TasksFilter struct {
Statuses []string `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
Since *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"`
Until *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=until,proto3,oneof" json:"until,omitempty"`
WorkflowIds []string `protobuf:"bytes,4,rep,name=workflow_ids,json=workflowIds,proto3" json:"workflow_ids,omitempty"`
AdditionalMetadata []string `protobuf:"bytes,5,rep,name=additional_metadata,json=additionalMetadata,proto3" json:"additional_metadata,omitempty"`
// contains filtered or unexported fields
}
func (*TasksFilter) Descriptor
deprecated
func (*TasksFilter) Descriptor() ([]byte, []int)
Deprecated: Use TasksFilter.ProtoReflect.Descriptor instead.
func (*TasksFilter) GetAdditionalMetadata ¶
func (x *TasksFilter) GetAdditionalMetadata() []string
func (*TasksFilter) GetSince ¶
func (x *TasksFilter) GetSince() *timestamppb.Timestamp
func (*TasksFilter) GetStatuses ¶
func (x *TasksFilter) GetStatuses() []string
func (*TasksFilter) GetUntil ¶
func (x *TasksFilter) GetUntil() *timestamppb.Timestamp
func (*TasksFilter) GetWorkflowIds ¶
func (x *TasksFilter) GetWorkflowIds() []string
func (*TasksFilter) ProtoMessage ¶
func (*TasksFilter) ProtoMessage()
func (*TasksFilter) ProtoReflect ¶
func (x *TasksFilter) ProtoReflect() protoreflect.Message
func (*TasksFilter) Reset ¶
func (x *TasksFilter) Reset()
func (*TasksFilter) String ¶
func (x *TasksFilter) String() string
type TriggerWorkflowRunRequest ¶
type TriggerWorkflowRunRequest struct {
WorkflowName string `protobuf:"bytes,1,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"`
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
AdditionalMetadata []byte `protobuf:"bytes,3,opt,name=additional_metadata,json=additionalMetadata,proto3" json:"additional_metadata,omitempty"`
Priority *int32 `protobuf:"varint,4,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerWorkflowRunRequest) Descriptor
deprecated
func (*TriggerWorkflowRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerWorkflowRunRequest.ProtoReflect.Descriptor instead.
func (*TriggerWorkflowRunRequest) GetAdditionalMetadata ¶
func (x *TriggerWorkflowRunRequest) GetAdditionalMetadata() []byte
func (*TriggerWorkflowRunRequest) GetInput ¶
func (x *TriggerWorkflowRunRequest) GetInput() []byte
func (*TriggerWorkflowRunRequest) GetPriority ¶
func (x *TriggerWorkflowRunRequest) GetPriority() int32
func (*TriggerWorkflowRunRequest) GetWorkflowName ¶
func (x *TriggerWorkflowRunRequest) GetWorkflowName() string
func (*TriggerWorkflowRunRequest) ProtoMessage ¶
func (*TriggerWorkflowRunRequest) ProtoMessage()
func (*TriggerWorkflowRunRequest) ProtoReflect ¶
func (x *TriggerWorkflowRunRequest) ProtoReflect() protoreflect.Message
func (*TriggerWorkflowRunRequest) Reset ¶
func (x *TriggerWorkflowRunRequest) Reset()
func (*TriggerWorkflowRunRequest) String ¶
func (x *TriggerWorkflowRunRequest) String() string
type TriggerWorkflowRunResponse ¶
type TriggerWorkflowRunResponse struct {
ExternalId string `protobuf:"bytes,1,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerWorkflowRunResponse) Descriptor
deprecated
func (*TriggerWorkflowRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerWorkflowRunResponse.ProtoReflect.Descriptor instead.
func (*TriggerWorkflowRunResponse) GetExternalId ¶
func (x *TriggerWorkflowRunResponse) GetExternalId() string
func (*TriggerWorkflowRunResponse) ProtoMessage ¶
func (*TriggerWorkflowRunResponse) ProtoMessage()
func (*TriggerWorkflowRunResponse) ProtoReflect ¶
func (x *TriggerWorkflowRunResponse) ProtoReflect() protoreflect.Message
func (*TriggerWorkflowRunResponse) Reset ¶
func (x *TriggerWorkflowRunResponse) Reset()
func (*TriggerWorkflowRunResponse) String ¶
func (x *TriggerWorkflowRunResponse) String() string
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct {
}
UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) CancelTasks ¶
func (UnimplementedAdminServiceServer) CancelTasks(context.Context, *CancelTasksRequest) (*CancelTasksResponse, error)
func (UnimplementedAdminServiceServer) GetRunDetails ¶ added in v0.74.9
func (UnimplementedAdminServiceServer) GetRunDetails(context.Context, *GetRunDetailsRequest) (*GetRunDetailsResponse, error)
func (UnimplementedAdminServiceServer) PutWorkflow ¶
func (UnimplementedAdminServiceServer) PutWorkflow(context.Context, *CreateWorkflowVersionRequest) (*CreateWorkflowVersionResponse, error)
func (UnimplementedAdminServiceServer) ReplayTasks ¶
func (UnimplementedAdminServiceServer) ReplayTasks(context.Context, *ReplayTasksRequest) (*ReplayTasksResponse, error)
func (UnimplementedAdminServiceServer) TriggerWorkflowRun ¶
func (UnimplementedAdminServiceServer) TriggerWorkflowRun(context.Context, *TriggerWorkflowRunRequest) (*TriggerWorkflowRunResponse, error)
type UnimplementedV1DispatcherServer ¶
type UnimplementedV1DispatcherServer struct {
}
UnimplementedV1DispatcherServer must be embedded to have forward compatible implementations.
func (UnimplementedV1DispatcherServer) ListenForDurableEvent ¶
func (UnimplementedV1DispatcherServer) ListenForDurableEvent(V1Dispatcher_ListenForDurableEventServer) error
func (UnimplementedV1DispatcherServer) RegisterDurableEvent ¶
func (UnimplementedV1DispatcherServer) RegisterDurableEvent(context.Context, *RegisterDurableEventRequest) (*RegisterDurableEventResponse, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type UnsafeV1DispatcherServer ¶
type UnsafeV1DispatcherServer interface {
// contains filtered or unexported methods
}
UnsafeV1DispatcherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to V1DispatcherServer will result in compilation errors.
type UserEventMatchCondition ¶
type UserEventMatchCondition struct {
Base *BaseMatchCondition `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
UserEventKey string `protobuf:"bytes,2,opt,name=user_event_key,json=userEventKey,proto3" json:"user_event_key,omitempty"`
// contains filtered or unexported fields
}
func (*UserEventMatchCondition) Descriptor
deprecated
func (*UserEventMatchCondition) Descriptor() ([]byte, []int)
Deprecated: Use UserEventMatchCondition.ProtoReflect.Descriptor instead.
func (*UserEventMatchCondition) GetBase ¶
func (x *UserEventMatchCondition) GetBase() *BaseMatchCondition
func (*UserEventMatchCondition) GetUserEventKey ¶
func (x *UserEventMatchCondition) GetUserEventKey() string
func (*UserEventMatchCondition) ProtoMessage ¶
func (*UserEventMatchCondition) ProtoMessage()
func (*UserEventMatchCondition) ProtoReflect ¶
func (x *UserEventMatchCondition) ProtoReflect() protoreflect.Message
func (*UserEventMatchCondition) Reset ¶
func (x *UserEventMatchCondition) Reset()
func (*UserEventMatchCondition) String ¶
func (x *UserEventMatchCondition) String() string
type V1DispatcherClient ¶
type V1DispatcherClient interface {
RegisterDurableEvent(ctx context.Context, in *RegisterDurableEventRequest, opts ...grpc.CallOption) (*RegisterDurableEventResponse, error)
ListenForDurableEvent(ctx context.Context, opts ...grpc.CallOption) (V1Dispatcher_ListenForDurableEventClient, error)
}
V1DispatcherClient is the client API for V1Dispatcher 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 NewV1DispatcherClient ¶
func NewV1DispatcherClient(cc grpc.ClientConnInterface) V1DispatcherClient
type V1DispatcherServer ¶
type V1DispatcherServer interface {
RegisterDurableEvent(context.Context, *RegisterDurableEventRequest) (*RegisterDurableEventResponse, error)
ListenForDurableEvent(V1Dispatcher_ListenForDurableEventServer) error
// contains filtered or unexported methods
}
V1DispatcherServer is the server API for V1Dispatcher service. All implementations must embed UnimplementedV1DispatcherServer for forward compatibility
type V1Dispatcher_ListenForDurableEventClient ¶
type V1Dispatcher_ListenForDurableEventClient interface {
Send(*ListenForDurableEventRequest) error
Recv() (*DurableEvent, error)
grpc.ClientStream
}
type V1Dispatcher_ListenForDurableEventServer ¶
type V1Dispatcher_ListenForDurableEventServer interface {
Send(*DurableEvent) error
Recv() (*ListenForDurableEventRequest, error)
grpc.ServerStream
}
type WorkerLabelComparator ¶
type WorkerLabelComparator int32
const ( WorkerLabelComparator_EQUAL WorkerLabelComparator = 0 WorkerLabelComparator_NOT_EQUAL WorkerLabelComparator = 1 WorkerLabelComparator_GREATER_THAN WorkerLabelComparator = 2 WorkerLabelComparator_GREATER_THAN_OR_EQUAL WorkerLabelComparator = 3 WorkerLabelComparator_LESS_THAN WorkerLabelComparator = 4 WorkerLabelComparator_LESS_THAN_OR_EQUAL WorkerLabelComparator = 5 )
func (WorkerLabelComparator) Descriptor ¶
func (WorkerLabelComparator) Descriptor() protoreflect.EnumDescriptor
func (WorkerLabelComparator) Enum ¶
func (x WorkerLabelComparator) Enum() *WorkerLabelComparator
func (WorkerLabelComparator) EnumDescriptor
deprecated
func (WorkerLabelComparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkerLabelComparator.Descriptor instead.
func (WorkerLabelComparator) Number ¶
func (x WorkerLabelComparator) Number() protoreflect.EnumNumber
func (WorkerLabelComparator) String ¶
func (x WorkerLabelComparator) String() string
func (WorkerLabelComparator) Type ¶
func (WorkerLabelComparator) Type() protoreflect.EnumType