Documentation
¶
Index ¶
- Variables
- func RegisterWorkflowServiceServer(s grpc.ServiceRegistrar, srv WorkflowServiceServer)
- type BulkTriggerWorkflowRequest
- func (*BulkTriggerWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BulkTriggerWorkflowRequest) GetWorkflows() []*TriggerWorkflowRequest
- func (*BulkTriggerWorkflowRequest) ProtoMessage()
- func (x *BulkTriggerWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *BulkTriggerWorkflowRequest) Reset()
- func (x *BulkTriggerWorkflowRequest) String() string
- type BulkTriggerWorkflowResponse
- func (*BulkTriggerWorkflowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BulkTriggerWorkflowResponse) GetWorkflowRunIds() []string
- func (*BulkTriggerWorkflowResponse) ProtoMessage()
- func (x *BulkTriggerWorkflowResponse) ProtoReflect() protoreflect.Message
- func (x *BulkTriggerWorkflowResponse) Reset()
- func (x *BulkTriggerWorkflowResponse) 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 CreateStepRateLimit
- func (*CreateStepRateLimit) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStepRateLimit) GetDuration() RateLimitDuration
- func (x *CreateStepRateLimit) GetKey() string
- func (x *CreateStepRateLimit) GetKeyExpr() string
- func (x *CreateStepRateLimit) GetLimitValuesExpr() string
- func (x *CreateStepRateLimit) GetUnits() int32
- func (x *CreateStepRateLimit) GetUnitsExpr() string
- func (*CreateStepRateLimit) ProtoMessage()
- func (x *CreateStepRateLimit) ProtoReflect() protoreflect.Message
- func (x *CreateStepRateLimit) Reset()
- func (x *CreateStepRateLimit) String() string
- type CreateWorkflowJobOpts
- func (*CreateWorkflowJobOpts) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkflowJobOpts) GetDescription() string
- func (x *CreateWorkflowJobOpts) GetName() string
- func (x *CreateWorkflowJobOpts) GetSteps() []*CreateWorkflowStepOpts
- func (*CreateWorkflowJobOpts) ProtoMessage()
- func (x *CreateWorkflowJobOpts) ProtoReflect() protoreflect.Message
- func (x *CreateWorkflowJobOpts) Reset()
- func (x *CreateWorkflowJobOpts) String() string
- type CreateWorkflowStepOpts
- func (*CreateWorkflowStepOpts) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkflowStepOpts) GetAction() string
- func (x *CreateWorkflowStepOpts) GetBackoffFactor() float32
- func (x *CreateWorkflowStepOpts) GetBackoffMaxSeconds() int32
- func (x *CreateWorkflowStepOpts) GetInputs() string
- func (x *CreateWorkflowStepOpts) GetParents() []string
- func (x *CreateWorkflowStepOpts) GetRateLimits() []*CreateStepRateLimit
- func (x *CreateWorkflowStepOpts) GetReadableId() string
- func (x *CreateWorkflowStepOpts) GetRetries() int32
- func (x *CreateWorkflowStepOpts) GetTimeout() string
- func (x *CreateWorkflowStepOpts) GetUserData() string
- func (x *CreateWorkflowStepOpts) GetWorkerLabels() map[string]*DesiredWorkerLabels
- func (*CreateWorkflowStepOpts) ProtoMessage()
- func (x *CreateWorkflowStepOpts) ProtoReflect() protoreflect.Message
- func (x *CreateWorkflowStepOpts) Reset()
- func (x *CreateWorkflowStepOpts) String() string
- type CreateWorkflowVersionOpts
- func (*CreateWorkflowVersionOpts) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkflowVersionOpts) GetConcurrency() *WorkflowConcurrencyOpts
- func (x *CreateWorkflowVersionOpts) GetCronInput() string
- func (x *CreateWorkflowVersionOpts) GetCronTriggers() []string
- func (x *CreateWorkflowVersionOpts) GetDefaultPriority() int32
- func (x *CreateWorkflowVersionOpts) GetDescription() string
- func (x *CreateWorkflowVersionOpts) GetEventTriggers() []string
- func (x *CreateWorkflowVersionOpts) GetJobs() []*CreateWorkflowJobOpts
- func (x *CreateWorkflowVersionOpts) GetKind() WorkflowKind
- func (x *CreateWorkflowVersionOpts) GetName() string
- func (x *CreateWorkflowVersionOpts) GetOnFailureJob() *CreateWorkflowJobOpts
- func (x *CreateWorkflowVersionOpts) GetScheduleTimeout() string
- func (x *CreateWorkflowVersionOpts) GetScheduledTriggers() []*timestamppb.Timestamp
- func (x *CreateWorkflowVersionOpts) GetSticky() StickyStrategy
- func (x *CreateWorkflowVersionOpts) GetVersion() string
- func (*CreateWorkflowVersionOpts) ProtoMessage()
- func (x *CreateWorkflowVersionOpts) ProtoReflect() protoreflect.Message
- func (x *CreateWorkflowVersionOpts) Reset()
- func (x *CreateWorkflowVersionOpts) 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 ListWorkflowsRequest
- type PutRateLimitRequest
- func (*PutRateLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutRateLimitRequest) GetDuration() RateLimitDuration
- func (x *PutRateLimitRequest) GetKey() string
- func (x *PutRateLimitRequest) GetLimit() int32
- func (*PutRateLimitRequest) ProtoMessage()
- func (x *PutRateLimitRequest) ProtoReflect() protoreflect.Message
- func (x *PutRateLimitRequest) Reset()
- func (x *PutRateLimitRequest) String() string
- type PutRateLimitResponse
- type PutWorkflowRequest
- func (*PutWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutWorkflowRequest) GetOpts() *CreateWorkflowVersionOpts
- func (*PutWorkflowRequest) ProtoMessage()
- func (x *PutWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *PutWorkflowRequest) Reset()
- func (x *PutWorkflowRequest) 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 ScheduleWorkflowRequest
- func (*ScheduleWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleWorkflowRequest) GetAdditionalMetadata() string
- func (x *ScheduleWorkflowRequest) GetChildIndex() int32
- func (x *ScheduleWorkflowRequest) GetChildKey() string
- func (x *ScheduleWorkflowRequest) GetInput() string
- func (x *ScheduleWorkflowRequest) GetName() string
- func (x *ScheduleWorkflowRequest) GetParentId() string
- func (x *ScheduleWorkflowRequest) GetParentStepRunId() string
- func (x *ScheduleWorkflowRequest) GetSchedules() []*timestamppb.Timestamp
- func (*ScheduleWorkflowRequest) ProtoMessage()
- func (x *ScheduleWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *ScheduleWorkflowRequest) Reset()
- func (x *ScheduleWorkflowRequest) String() string
- type ScheduledWorkflow
- func (*ScheduledWorkflow) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduledWorkflow) GetId() string
- func (x *ScheduledWorkflow) GetTriggerAt() *timestamppb.Timestamp
- func (*ScheduledWorkflow) ProtoMessage()
- func (x *ScheduledWorkflow) ProtoReflect() protoreflect.Message
- func (x *ScheduledWorkflow) Reset()
- func (x *ScheduledWorkflow) 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 TriggerWorkflowRequest
- func (*TriggerWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerWorkflowRequest) GetAdditionalMetadata() string
- func (x *TriggerWorkflowRequest) GetChildIndex() int32
- func (x *TriggerWorkflowRequest) GetChildKey() string
- func (x *TriggerWorkflowRequest) GetDesiredWorkerId() string
- func (x *TriggerWorkflowRequest) GetInput() string
- func (x *TriggerWorkflowRequest) GetName() string
- func (x *TriggerWorkflowRequest) GetParentId() string
- func (x *TriggerWorkflowRequest) GetParentStepRunId() string
- func (x *TriggerWorkflowRequest) GetPriority() int32
- func (*TriggerWorkflowRequest) ProtoMessage()
- func (x *TriggerWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerWorkflowRequest) Reset()
- func (x *TriggerWorkflowRequest) String() string
- type TriggerWorkflowResponse
- func (*TriggerWorkflowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerWorkflowResponse) GetWorkflowRunId() string
- func (*TriggerWorkflowResponse) ProtoMessage()
- func (x *TriggerWorkflowResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerWorkflowResponse) Reset()
- func (x *TriggerWorkflowResponse) String() string
- type UnimplementedWorkflowServiceServer
- func (UnimplementedWorkflowServiceServer) BulkTriggerWorkflow(context.Context, *BulkTriggerWorkflowRequest) (*BulkTriggerWorkflowResponse, error)
- func (UnimplementedWorkflowServiceServer) PutRateLimit(context.Context, *PutRateLimitRequest) (*PutRateLimitResponse, error)
- func (UnimplementedWorkflowServiceServer) PutWorkflow(context.Context, *PutWorkflowRequest) (*WorkflowVersion, error)
- func (UnimplementedWorkflowServiceServer) ScheduleWorkflow(context.Context, *ScheduleWorkflowRequest) (*WorkflowVersion, error)
- func (UnimplementedWorkflowServiceServer) TriggerWorkflow(context.Context, *TriggerWorkflowRequest) (*TriggerWorkflowResponse, error)
- type UnsafeWorkflowServiceServer
- 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
- type WorkflowConcurrencyOpts
- func (*WorkflowConcurrencyOpts) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowConcurrencyOpts) GetAction() string
- func (x *WorkflowConcurrencyOpts) GetExpression() string
- func (x *WorkflowConcurrencyOpts) GetLimitStrategy() ConcurrencyLimitStrategy
- func (x *WorkflowConcurrencyOpts) GetMaxRuns() int32
- func (*WorkflowConcurrencyOpts) ProtoMessage()
- func (x *WorkflowConcurrencyOpts) ProtoReflect() protoreflect.Message
- func (x *WorkflowConcurrencyOpts) Reset()
- func (x *WorkflowConcurrencyOpts) String() string
- type WorkflowKind
- func (WorkflowKind) Descriptor() protoreflect.EnumDescriptor
- func (x WorkflowKind) Enum() *WorkflowKind
- func (WorkflowKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkflowKind) Number() protoreflect.EnumNumber
- func (x WorkflowKind) String() string
- func (WorkflowKind) Type() protoreflect.EnumType
- type WorkflowServiceClient
- type WorkflowServiceServer
- type WorkflowTriggerCronRef
- func (*WorkflowTriggerCronRef) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowTriggerCronRef) GetCron() string
- func (x *WorkflowTriggerCronRef) GetParentId() string
- func (*WorkflowTriggerCronRef) ProtoMessage()
- func (x *WorkflowTriggerCronRef) ProtoReflect() protoreflect.Message
- func (x *WorkflowTriggerCronRef) Reset()
- func (x *WorkflowTriggerCronRef) String() string
- type WorkflowTriggerEventRef
- func (*WorkflowTriggerEventRef) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowTriggerEventRef) GetEventKey() string
- func (x *WorkflowTriggerEventRef) GetParentId() string
- func (*WorkflowTriggerEventRef) ProtoMessage()
- func (x *WorkflowTriggerEventRef) ProtoReflect() protoreflect.Message
- func (x *WorkflowTriggerEventRef) Reset()
- func (x *WorkflowTriggerEventRef) String() string
- type WorkflowVersion
- func (*WorkflowVersion) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowVersion) GetCreatedAt() *timestamppb.Timestamp
- func (x *WorkflowVersion) GetId() string
- func (x *WorkflowVersion) GetOrder() int64
- func (x *WorkflowVersion) GetScheduledWorkflows() []*ScheduledWorkflow
- func (x *WorkflowVersion) GetUpdatedAt() *timestamppb.Timestamp
- func (x *WorkflowVersion) GetVersion() string
- func (x *WorkflowVersion) GetWorkflowId() string
- func (*WorkflowVersion) ProtoMessage()
- func (x *WorkflowVersion) ProtoReflect() protoreflect.Message
- func (x *WorkflowVersion) Reset()
- func (x *WorkflowVersion) String() string
Constants ¶
This section is empty.
Variables ¶
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 ( WorkflowKind_name = map[int32]string{ 0: "FUNCTION", 1: "DURABLE", 2: "DAG", } WorkflowKind_value = map[string]int32{ "FUNCTION": 0, "DURABLE": 1, "DAG": 2, } )
Enum value maps for WorkflowKind.
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 ( 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 File_workflows_proto protoreflect.FileDescriptor
var WorkflowService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "WorkflowService", HandlerType: (*WorkflowServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PutWorkflow", Handler: _WorkflowService_PutWorkflow_Handler, }, { MethodName: "ScheduleWorkflow", Handler: _WorkflowService_ScheduleWorkflow_Handler, }, { MethodName: "TriggerWorkflow", Handler: _WorkflowService_TriggerWorkflow_Handler, }, { MethodName: "BulkTriggerWorkflow", Handler: _WorkflowService_BulkTriggerWorkflow_Handler, }, { MethodName: "PutRateLimit", Handler: _WorkflowService_PutRateLimit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "workflows.proto", }
WorkflowService_ServiceDesc is the grpc.ServiceDesc for WorkflowService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWorkflowServiceServer ¶
func RegisterWorkflowServiceServer(s grpc.ServiceRegistrar, srv WorkflowServiceServer)
Types ¶
type BulkTriggerWorkflowRequest ¶
type BulkTriggerWorkflowRequest struct {
Workflows []*TriggerWorkflowRequest `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"`
// contains filtered or unexported fields
}
func (*BulkTriggerWorkflowRequest) Descriptor
deprecated
func (*BulkTriggerWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkTriggerWorkflowRequest.ProtoReflect.Descriptor instead.
func (*BulkTriggerWorkflowRequest) GetWorkflows ¶
func (x *BulkTriggerWorkflowRequest) GetWorkflows() []*TriggerWorkflowRequest
func (*BulkTriggerWorkflowRequest) ProtoMessage ¶
func (*BulkTriggerWorkflowRequest) ProtoMessage()
func (*BulkTriggerWorkflowRequest) ProtoReflect ¶
func (x *BulkTriggerWorkflowRequest) ProtoReflect() protoreflect.Message
func (*BulkTriggerWorkflowRequest) Reset ¶
func (x *BulkTriggerWorkflowRequest) Reset()
func (*BulkTriggerWorkflowRequest) String ¶
func (x *BulkTriggerWorkflowRequest) String() string
type BulkTriggerWorkflowResponse ¶
type BulkTriggerWorkflowResponse struct {
WorkflowRunIds []string `protobuf:"bytes,1,rep,name=workflow_run_ids,json=workflowRunIds,proto3" json:"workflow_run_ids,omitempty"`
// contains filtered or unexported fields
}
func (*BulkTriggerWorkflowResponse) Descriptor
deprecated
func (*BulkTriggerWorkflowResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkTriggerWorkflowResponse.ProtoReflect.Descriptor instead.
func (*BulkTriggerWorkflowResponse) GetWorkflowRunIds ¶
func (x *BulkTriggerWorkflowResponse) GetWorkflowRunIds() []string
func (*BulkTriggerWorkflowResponse) ProtoMessage ¶
func (*BulkTriggerWorkflowResponse) ProtoMessage()
func (*BulkTriggerWorkflowResponse) ProtoReflect ¶
func (x *BulkTriggerWorkflowResponse) ProtoReflect() protoreflect.Message
func (*BulkTriggerWorkflowResponse) Reset ¶
func (x *BulkTriggerWorkflowResponse) Reset()
func (*BulkTriggerWorkflowResponse) String ¶
func (x *BulkTriggerWorkflowResponse) 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 CreateStepRateLimit ¶
type CreateStepRateLimit 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=RateLimitDuration,oneof" json:"duration,omitempty"` // (optional) the default rate limit window to use for dynamic rate limits
// contains filtered or unexported fields
}
func (*CreateStepRateLimit) Descriptor
deprecated
func (*CreateStepRateLimit) Descriptor() ([]byte, []int)
Deprecated: Use CreateStepRateLimit.ProtoReflect.Descriptor instead.
func (*CreateStepRateLimit) GetDuration ¶
func (x *CreateStepRateLimit) GetDuration() RateLimitDuration
func (*CreateStepRateLimit) GetKey ¶
func (x *CreateStepRateLimit) GetKey() string
func (*CreateStepRateLimit) GetKeyExpr ¶
func (x *CreateStepRateLimit) GetKeyExpr() string
func (*CreateStepRateLimit) GetLimitValuesExpr ¶
func (x *CreateStepRateLimit) GetLimitValuesExpr() string
func (*CreateStepRateLimit) GetUnits ¶
func (x *CreateStepRateLimit) GetUnits() int32
func (*CreateStepRateLimit) GetUnitsExpr ¶
func (x *CreateStepRateLimit) GetUnitsExpr() string
func (*CreateStepRateLimit) ProtoMessage ¶
func (*CreateStepRateLimit) ProtoMessage()
func (*CreateStepRateLimit) ProtoReflect ¶
func (x *CreateStepRateLimit) ProtoReflect() protoreflect.Message
func (*CreateStepRateLimit) Reset ¶
func (x *CreateStepRateLimit) Reset()
func (*CreateStepRateLimit) String ¶
func (x *CreateStepRateLimit) String() string
type CreateWorkflowJobOpts ¶
type CreateWorkflowJobOpts struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // (required) the job name
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // (optional) the job description
Steps []*CreateWorkflowStepOpts `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"` // (required) the job steps
// contains filtered or unexported fields
}
CreateWorkflowJobOpts represents options to create a workflow job.
func (*CreateWorkflowJobOpts) Descriptor
deprecated
func (*CreateWorkflowJobOpts) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkflowJobOpts.ProtoReflect.Descriptor instead.
func (*CreateWorkflowJobOpts) GetDescription ¶
func (x *CreateWorkflowJobOpts) GetDescription() string
func (*CreateWorkflowJobOpts) GetName ¶
func (x *CreateWorkflowJobOpts) GetName() string
func (*CreateWorkflowJobOpts) GetSteps ¶
func (x *CreateWorkflowJobOpts) GetSteps() []*CreateWorkflowStepOpts
func (*CreateWorkflowJobOpts) ProtoMessage ¶
func (*CreateWorkflowJobOpts) ProtoMessage()
func (*CreateWorkflowJobOpts) ProtoReflect ¶
func (x *CreateWorkflowJobOpts) ProtoReflect() protoreflect.Message
func (*CreateWorkflowJobOpts) Reset ¶
func (x *CreateWorkflowJobOpts) Reset()
func (*CreateWorkflowJobOpts) String ¶
func (x *CreateWorkflowJobOpts) String() string
type CreateWorkflowStepOpts ¶
type CreateWorkflowStepOpts struct {
ReadableId string `protobuf:"bytes,1,opt,name=readable_id,json=readableId,proto3" json:"readable_id,omitempty"` // (required) the step name
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // (required) the step action id
Timeout string `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // (optional) the step timeout
Inputs string `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` // (optional) the step inputs, assuming string representation of JSON
Parents []string `protobuf:"bytes,5,rep,name=parents,proto3" json:"parents,omitempty"` // (optional) the step parents. if none are passed in, this is a root step
UserData string `protobuf:"bytes,6,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"` // (optional) the custom step user data, assuming string representation of JSON
Retries int32 `protobuf:"varint,7,opt,name=retries,proto3" json:"retries,omitempty"` // (optional) the number of retries for the step, default 0
RateLimits []*CreateStepRateLimit `protobuf:"bytes,8,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,10,opt,name=backoff_factor,json=backoffFactor,proto3,oneof" json:"backoff_factor,omitempty"` // (optional) the retry backoff factor for the step
BackoffMaxSeconds *int32 `protobuf:"varint,11,opt,name=backoff_max_seconds,json=backoffMaxSeconds,proto3,oneof" json:"backoff_max_seconds,omitempty"` // (optional) the maximum backoff time for the step
// contains filtered or unexported fields
}
CreateWorkflowStepOpts represents options to create a workflow step.
func (*CreateWorkflowStepOpts) Descriptor
deprecated
func (*CreateWorkflowStepOpts) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkflowStepOpts.ProtoReflect.Descriptor instead.
func (*CreateWorkflowStepOpts) GetAction ¶
func (x *CreateWorkflowStepOpts) GetAction() string
func (*CreateWorkflowStepOpts) GetBackoffFactor ¶
func (x *CreateWorkflowStepOpts) GetBackoffFactor() float32
func (*CreateWorkflowStepOpts) GetBackoffMaxSeconds ¶
func (x *CreateWorkflowStepOpts) GetBackoffMaxSeconds() int32
func (*CreateWorkflowStepOpts) GetInputs ¶
func (x *CreateWorkflowStepOpts) GetInputs() string
func (*CreateWorkflowStepOpts) GetParents ¶
func (x *CreateWorkflowStepOpts) GetParents() []string
func (*CreateWorkflowStepOpts) GetRateLimits ¶
func (x *CreateWorkflowStepOpts) GetRateLimits() []*CreateStepRateLimit
func (*CreateWorkflowStepOpts) GetReadableId ¶
func (x *CreateWorkflowStepOpts) GetReadableId() string
func (*CreateWorkflowStepOpts) GetRetries ¶
func (x *CreateWorkflowStepOpts) GetRetries() int32
func (*CreateWorkflowStepOpts) GetTimeout ¶
func (x *CreateWorkflowStepOpts) GetTimeout() string
func (*CreateWorkflowStepOpts) GetUserData ¶
func (x *CreateWorkflowStepOpts) GetUserData() string
func (*CreateWorkflowStepOpts) GetWorkerLabels ¶
func (x *CreateWorkflowStepOpts) GetWorkerLabels() map[string]*DesiredWorkerLabels
func (*CreateWorkflowStepOpts) ProtoMessage ¶
func (*CreateWorkflowStepOpts) ProtoMessage()
func (*CreateWorkflowStepOpts) ProtoReflect ¶
func (x *CreateWorkflowStepOpts) ProtoReflect() protoreflect.Message
func (*CreateWorkflowStepOpts) Reset ¶
func (x *CreateWorkflowStepOpts) Reset()
func (*CreateWorkflowStepOpts) String ¶
func (x *CreateWorkflowStepOpts) String() string
type CreateWorkflowVersionOpts ¶
type CreateWorkflowVersionOpts 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"` // (required) 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
ScheduledTriggers []*timestamppb.Timestamp `protobuf:"bytes,6,rep,name=scheduled_triggers,json=scheduledTriggers,proto3" json:"scheduled_triggers,omitempty"` // (optional) scheduled triggers for the workflow
Jobs []*CreateWorkflowJobOpts `protobuf:"bytes,7,rep,name=jobs,proto3" json:"jobs,omitempty"` // (required) the workflow jobs
Concurrency *WorkflowConcurrencyOpts `protobuf:"bytes,8,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // (optional) the workflow concurrency options
ScheduleTimeout *string `protobuf:"bytes,9,opt,name=schedule_timeout,json=scheduleTimeout,proto3,oneof" json:"schedule_timeout,omitempty"` // (optional) the timeout for the schedule
CronInput *string `protobuf:"bytes,10,opt,name=cron_input,json=cronInput,proto3,oneof" json:"cron_input,omitempty"` // (optional) the input for the cron trigger
OnFailureJob *CreateWorkflowJobOpts `protobuf:"bytes,11,opt,name=on_failure_job,json=onFailureJob,proto3,oneof" json:"on_failure_job,omitempty"` // (optional) the job to run on failure
Sticky *StickyStrategy `protobuf:"varint,12,opt,name=sticky,proto3,enum=StickyStrategy,oneof" json:"sticky,omitempty"` // (optional) the sticky strategy for assigning steps to workers
Kind *WorkflowKind `protobuf:"varint,13,opt,name=kind,proto3,enum=WorkflowKind,oneof" json:"kind,omitempty"` // (optional) the kind of workflow
DefaultPriority *int32 `protobuf:"varint,14,opt,name=default_priority,json=defaultPriority,proto3,oneof" json:"default_priority,omitempty"` // (optional) the priority of the workflow
// contains filtered or unexported fields
}
CreateWorkflowVersionOpts represents options to create a workflow version.
func (*CreateWorkflowVersionOpts) Descriptor
deprecated
func (*CreateWorkflowVersionOpts) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkflowVersionOpts.ProtoReflect.Descriptor instead.
func (*CreateWorkflowVersionOpts) GetConcurrency ¶
func (x *CreateWorkflowVersionOpts) GetConcurrency() *WorkflowConcurrencyOpts
func (*CreateWorkflowVersionOpts) GetCronInput ¶
func (x *CreateWorkflowVersionOpts) GetCronInput() string
func (*CreateWorkflowVersionOpts) GetCronTriggers ¶
func (x *CreateWorkflowVersionOpts) GetCronTriggers() []string
func (*CreateWorkflowVersionOpts) GetDefaultPriority ¶
func (x *CreateWorkflowVersionOpts) GetDefaultPriority() int32
func (*CreateWorkflowVersionOpts) GetDescription ¶
func (x *CreateWorkflowVersionOpts) GetDescription() string
func (*CreateWorkflowVersionOpts) GetEventTriggers ¶
func (x *CreateWorkflowVersionOpts) GetEventTriggers() []string
func (*CreateWorkflowVersionOpts) GetJobs ¶
func (x *CreateWorkflowVersionOpts) GetJobs() []*CreateWorkflowJobOpts
func (*CreateWorkflowVersionOpts) GetKind ¶
func (x *CreateWorkflowVersionOpts) GetKind() WorkflowKind
func (*CreateWorkflowVersionOpts) GetName ¶
func (x *CreateWorkflowVersionOpts) GetName() string
func (*CreateWorkflowVersionOpts) GetOnFailureJob ¶
func (x *CreateWorkflowVersionOpts) GetOnFailureJob() *CreateWorkflowJobOpts
func (*CreateWorkflowVersionOpts) GetScheduleTimeout ¶
func (x *CreateWorkflowVersionOpts) GetScheduleTimeout() string
func (*CreateWorkflowVersionOpts) GetScheduledTriggers ¶
func (x *CreateWorkflowVersionOpts) GetScheduledTriggers() []*timestamppb.Timestamp
func (*CreateWorkflowVersionOpts) GetSticky ¶
func (x *CreateWorkflowVersionOpts) GetSticky() StickyStrategy
func (*CreateWorkflowVersionOpts) GetVersion ¶
func (x *CreateWorkflowVersionOpts) GetVersion() string
func (*CreateWorkflowVersionOpts) ProtoMessage ¶
func (*CreateWorkflowVersionOpts) ProtoMessage()
func (*CreateWorkflowVersionOpts) ProtoReflect ¶
func (x *CreateWorkflowVersionOpts) ProtoReflect() protoreflect.Message
func (*CreateWorkflowVersionOpts) Reset ¶
func (x *CreateWorkflowVersionOpts) Reset()
func (*CreateWorkflowVersionOpts) String ¶
func (x *CreateWorkflowVersionOpts) 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=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 ListWorkflowsRequest ¶
type ListWorkflowsRequest struct {
// contains filtered or unexported fields
}
ListWorkflowsRequest is the request for ListWorkflows.
func (*ListWorkflowsRequest) Descriptor
deprecated
func (*ListWorkflowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkflowsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkflowsRequest) ProtoMessage ¶
func (*ListWorkflowsRequest) ProtoMessage()
func (*ListWorkflowsRequest) ProtoReflect ¶
func (x *ListWorkflowsRequest) ProtoReflect() protoreflect.Message
func (*ListWorkflowsRequest) Reset ¶
func (x *ListWorkflowsRequest) Reset()
func (*ListWorkflowsRequest) String ¶
func (x *ListWorkflowsRequest) String() string
type PutRateLimitRequest ¶
type PutRateLimitRequest struct {
// (required) the global key for the rate limit
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// (required) the max limit for the rate limit (per unit of time)
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// (required) the duration of time for the rate limit (second|minute|hour)
Duration RateLimitDuration `protobuf:"varint,3,opt,name=duration,proto3,enum=RateLimitDuration" json:"duration,omitempty"`
// contains filtered or unexported fields
}
func (*PutRateLimitRequest) Descriptor
deprecated
func (*PutRateLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutRateLimitRequest.ProtoReflect.Descriptor instead.
func (*PutRateLimitRequest) GetDuration ¶
func (x *PutRateLimitRequest) GetDuration() RateLimitDuration
func (*PutRateLimitRequest) GetKey ¶
func (x *PutRateLimitRequest) GetKey() string
func (*PutRateLimitRequest) GetLimit ¶
func (x *PutRateLimitRequest) GetLimit() int32
func (*PutRateLimitRequest) ProtoMessage ¶
func (*PutRateLimitRequest) ProtoMessage()
func (*PutRateLimitRequest) ProtoReflect ¶
func (x *PutRateLimitRequest) ProtoReflect() protoreflect.Message
func (*PutRateLimitRequest) Reset ¶
func (x *PutRateLimitRequest) Reset()
func (*PutRateLimitRequest) String ¶
func (x *PutRateLimitRequest) String() string
type PutRateLimitResponse ¶
type PutRateLimitResponse struct {
// contains filtered or unexported fields
}
func (*PutRateLimitResponse) Descriptor
deprecated
func (*PutRateLimitResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutRateLimitResponse.ProtoReflect.Descriptor instead.
func (*PutRateLimitResponse) ProtoMessage ¶
func (*PutRateLimitResponse) ProtoMessage()
func (*PutRateLimitResponse) ProtoReflect ¶
func (x *PutRateLimitResponse) ProtoReflect() protoreflect.Message
func (*PutRateLimitResponse) Reset ¶
func (x *PutRateLimitResponse) Reset()
func (*PutRateLimitResponse) String ¶
func (x *PutRateLimitResponse) String() string
type PutWorkflowRequest ¶
type PutWorkflowRequest struct {
Opts *CreateWorkflowVersionOpts `protobuf:"bytes,1,opt,name=opts,proto3" json:"opts,omitempty"`
// contains filtered or unexported fields
}
func (*PutWorkflowRequest) Descriptor
deprecated
func (*PutWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutWorkflowRequest.ProtoReflect.Descriptor instead.
func (*PutWorkflowRequest) GetOpts ¶
func (x *PutWorkflowRequest) GetOpts() *CreateWorkflowVersionOpts
func (*PutWorkflowRequest) ProtoMessage ¶
func (*PutWorkflowRequest) ProtoMessage()
func (*PutWorkflowRequest) ProtoReflect ¶
func (x *PutWorkflowRequest) ProtoReflect() protoreflect.Message
func (*PutWorkflowRequest) Reset ¶
func (x *PutWorkflowRequest) Reset()
func (*PutWorkflowRequest) String ¶
func (x *PutWorkflowRequest) 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 ScheduleWorkflowRequest ¶
type ScheduleWorkflowRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Schedules []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"`
// (optional) the input data for the workflow
Input string `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
// (optional) the parent workflow run id
ParentId *string `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
// (optional) the parent step run id
ParentStepRunId *string `protobuf:"bytes,5,opt,name=parent_step_run_id,json=parentStepRunId,proto3,oneof" json:"parent_step_run_id,omitempty"`
// (optional) the index of the child workflow. if this is set, matches on the index or the
// child key will be a no-op, even if the schedule has changed.
ChildIndex *int32 `protobuf:"varint,6,opt,name=child_index,json=childIndex,proto3,oneof" json:"child_index,omitempty"`
// (optional) the key for the child. if this is set, matches on the index or the
// child key will be a no-op, even if the schedule has changed.
ChildKey *string `protobuf:"bytes,7,opt,name=child_key,json=childKey,proto3,oneof" json:"child_key,omitempty"`
// (optional) the additional metadata for the workflow
AdditionalMetadata *string `protobuf:"bytes,8,opt,name=additional_metadata,json=additionalMetadata,proto3,oneof" json:"additional_metadata,omitempty"`
// contains filtered or unexported fields
}
func (*ScheduleWorkflowRequest) Descriptor
deprecated
func (*ScheduleWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleWorkflowRequest.ProtoReflect.Descriptor instead.
func (*ScheduleWorkflowRequest) GetAdditionalMetadata ¶
func (x *ScheduleWorkflowRequest) GetAdditionalMetadata() string
func (*ScheduleWorkflowRequest) GetChildIndex ¶
func (x *ScheduleWorkflowRequest) GetChildIndex() int32
func (*ScheduleWorkflowRequest) GetChildKey ¶
func (x *ScheduleWorkflowRequest) GetChildKey() string
func (*ScheduleWorkflowRequest) GetInput ¶
func (x *ScheduleWorkflowRequest) GetInput() string
func (*ScheduleWorkflowRequest) GetName ¶
func (x *ScheduleWorkflowRequest) GetName() string
func (*ScheduleWorkflowRequest) GetParentId ¶
func (x *ScheduleWorkflowRequest) GetParentId() string
func (*ScheduleWorkflowRequest) GetParentStepRunId ¶
func (x *ScheduleWorkflowRequest) GetParentStepRunId() string
func (*ScheduleWorkflowRequest) GetSchedules ¶
func (x *ScheduleWorkflowRequest) GetSchedules() []*timestamppb.Timestamp
func (*ScheduleWorkflowRequest) ProtoMessage ¶
func (*ScheduleWorkflowRequest) ProtoMessage()
func (*ScheduleWorkflowRequest) ProtoReflect ¶
func (x *ScheduleWorkflowRequest) ProtoReflect() protoreflect.Message
func (*ScheduleWorkflowRequest) Reset ¶
func (x *ScheduleWorkflowRequest) Reset()
func (*ScheduleWorkflowRequest) String ¶
func (x *ScheduleWorkflowRequest) String() string
type ScheduledWorkflow ¶
type ScheduledWorkflow struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
TriggerAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"`
// contains filtered or unexported fields
}
ScheduledWorkflow represents a scheduled workflow.
func (*ScheduledWorkflow) Descriptor
deprecated
func (*ScheduledWorkflow) Descriptor() ([]byte, []int)
Deprecated: Use ScheduledWorkflow.ProtoReflect.Descriptor instead.
func (*ScheduledWorkflow) GetId ¶
func (x *ScheduledWorkflow) GetId() string
func (*ScheduledWorkflow) GetTriggerAt ¶
func (x *ScheduledWorkflow) GetTriggerAt() *timestamppb.Timestamp
func (*ScheduledWorkflow) ProtoMessage ¶
func (*ScheduledWorkflow) ProtoMessage()
func (*ScheduledWorkflow) ProtoReflect ¶
func (x *ScheduledWorkflow) ProtoReflect() protoreflect.Message
func (*ScheduledWorkflow) Reset ¶
func (x *ScheduledWorkflow) Reset()
func (*ScheduledWorkflow) String ¶
func (x *ScheduledWorkflow) 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 TriggerWorkflowRequest ¶
type TriggerWorkflowRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// (optional) the input data for the workflow
Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
// (optional) the parent workflow run id
ParentId *string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
// (optional) the parent step run id
ParentStepRunId *string `protobuf:"bytes,4,opt,name=parent_step_run_id,json=parentStepRunId,proto3,oneof" json:"parent_step_run_id,omitempty"`
// (optional) the index of the child workflow. if this is set, matches on the index or the
// child key will return an existing workflow run if the parent id, parent step run id, and
// child index/key match an existing workflow run.
ChildIndex *int32 `protobuf:"varint,5,opt,name=child_index,json=childIndex,proto3,oneof" json:"child_index,omitempty"`
// (optional) the key for the child. if this is set, matches on the index or the
// child key will return an existing workflow run if the parent id, parent step run id, and
// child index/key match an existing workflow run.
ChildKey *string `protobuf:"bytes,6,opt,name=child_key,json=childKey,proto3,oneof" json:"child_key,omitempty"`
// (optional) additional metadata for the workflow
AdditionalMetadata *string `protobuf:"bytes,7,opt,name=additional_metadata,json=additionalMetadata,proto3,oneof" json:"additional_metadata,omitempty"`
// (optional) desired worker id for the workflow run,
// requires the workflow definition to have a sticky strategy
DesiredWorkerId *string `protobuf:"bytes,8,opt,name=desired_worker_id,json=desiredWorkerId,proto3,oneof" json:"desired_worker_id,omitempty"`
// (optional) override for the priority of the workflow steps, will set all steps to this priority
Priority *int32 `protobuf:"varint,9,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerWorkflowRequest) Descriptor
deprecated
func (*TriggerWorkflowRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerWorkflowRequest.ProtoReflect.Descriptor instead.
func (*TriggerWorkflowRequest) GetAdditionalMetadata ¶
func (x *TriggerWorkflowRequest) GetAdditionalMetadata() string
func (*TriggerWorkflowRequest) GetChildIndex ¶
func (x *TriggerWorkflowRequest) GetChildIndex() int32
func (*TriggerWorkflowRequest) GetChildKey ¶
func (x *TriggerWorkflowRequest) GetChildKey() string
func (*TriggerWorkflowRequest) GetDesiredWorkerId ¶
func (x *TriggerWorkflowRequest) GetDesiredWorkerId() string
func (*TriggerWorkflowRequest) GetInput ¶
func (x *TriggerWorkflowRequest) GetInput() string
func (*TriggerWorkflowRequest) GetName ¶
func (x *TriggerWorkflowRequest) GetName() string
func (*TriggerWorkflowRequest) GetParentId ¶
func (x *TriggerWorkflowRequest) GetParentId() string
func (*TriggerWorkflowRequest) GetParentStepRunId ¶
func (x *TriggerWorkflowRequest) GetParentStepRunId() string
func (*TriggerWorkflowRequest) GetPriority ¶
func (x *TriggerWorkflowRequest) GetPriority() int32
func (*TriggerWorkflowRequest) ProtoMessage ¶
func (*TriggerWorkflowRequest) ProtoMessage()
func (*TriggerWorkflowRequest) ProtoReflect ¶
func (x *TriggerWorkflowRequest) ProtoReflect() protoreflect.Message
func (*TriggerWorkflowRequest) Reset ¶
func (x *TriggerWorkflowRequest) Reset()
func (*TriggerWorkflowRequest) String ¶
func (x *TriggerWorkflowRequest) String() string
type TriggerWorkflowResponse ¶
type TriggerWorkflowResponse struct {
WorkflowRunId string `protobuf:"bytes,1,opt,name=workflow_run_id,json=workflowRunId,proto3" json:"workflow_run_id,omitempty"`
// contains filtered or unexported fields
}
func (*TriggerWorkflowResponse) Descriptor
deprecated
func (*TriggerWorkflowResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerWorkflowResponse.ProtoReflect.Descriptor instead.
func (*TriggerWorkflowResponse) GetWorkflowRunId ¶
func (x *TriggerWorkflowResponse) GetWorkflowRunId() string
func (*TriggerWorkflowResponse) ProtoMessage ¶
func (*TriggerWorkflowResponse) ProtoMessage()
func (*TriggerWorkflowResponse) ProtoReflect ¶
func (x *TriggerWorkflowResponse) ProtoReflect() protoreflect.Message
func (*TriggerWorkflowResponse) Reset ¶
func (x *TriggerWorkflowResponse) Reset()
func (*TriggerWorkflowResponse) String ¶
func (x *TriggerWorkflowResponse) String() string
type UnimplementedWorkflowServiceServer ¶
type UnimplementedWorkflowServiceServer struct {
}
UnimplementedWorkflowServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkflowServiceServer) BulkTriggerWorkflow ¶
func (UnimplementedWorkflowServiceServer) BulkTriggerWorkflow(context.Context, *BulkTriggerWorkflowRequest) (*BulkTriggerWorkflowResponse, error)
func (UnimplementedWorkflowServiceServer) PutRateLimit ¶
func (UnimplementedWorkflowServiceServer) PutRateLimit(context.Context, *PutRateLimitRequest) (*PutRateLimitResponse, error)
func (UnimplementedWorkflowServiceServer) PutWorkflow ¶
func (UnimplementedWorkflowServiceServer) PutWorkflow(context.Context, *PutWorkflowRequest) (*WorkflowVersion, error)
func (UnimplementedWorkflowServiceServer) ScheduleWorkflow ¶
func (UnimplementedWorkflowServiceServer) ScheduleWorkflow(context.Context, *ScheduleWorkflowRequest) (*WorkflowVersion, error)
func (UnimplementedWorkflowServiceServer) TriggerWorkflow ¶
func (UnimplementedWorkflowServiceServer) TriggerWorkflow(context.Context, *TriggerWorkflowRequest) (*TriggerWorkflowResponse, error)
type UnsafeWorkflowServiceServer ¶
type UnsafeWorkflowServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkflowServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkflowServiceServer will result in compilation errors.
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
type WorkflowConcurrencyOpts ¶
type WorkflowConcurrencyOpts struct {
Action *string `protobuf:"bytes,1,opt,name=action,proto3,oneof" json:"action,omitempty"` // (optional) the action id for getting the concurrency group
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
/* 137-byte string literal not displayed */
Expression *string `protobuf:"bytes,4,opt,name=expression,proto3,oneof" json:"expression,omitempty"` // (optional) the expression to use for concurrency
// contains filtered or unexported fields
}
func (*WorkflowConcurrencyOpts) Descriptor
deprecated
func (*WorkflowConcurrencyOpts) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowConcurrencyOpts.ProtoReflect.Descriptor instead.
func (*WorkflowConcurrencyOpts) GetAction ¶
func (x *WorkflowConcurrencyOpts) GetAction() string
func (*WorkflowConcurrencyOpts) GetExpression ¶
func (x *WorkflowConcurrencyOpts) GetExpression() string
func (*WorkflowConcurrencyOpts) GetLimitStrategy ¶
func (x *WorkflowConcurrencyOpts) GetLimitStrategy() ConcurrencyLimitStrategy
func (*WorkflowConcurrencyOpts) GetMaxRuns ¶
func (x *WorkflowConcurrencyOpts) GetMaxRuns() int32
func (*WorkflowConcurrencyOpts) ProtoMessage ¶
func (*WorkflowConcurrencyOpts) ProtoMessage()
func (*WorkflowConcurrencyOpts) ProtoReflect ¶
func (x *WorkflowConcurrencyOpts) ProtoReflect() protoreflect.Message
func (*WorkflowConcurrencyOpts) Reset ¶
func (x *WorkflowConcurrencyOpts) Reset()
func (*WorkflowConcurrencyOpts) String ¶
func (x *WorkflowConcurrencyOpts) String() string
type WorkflowKind ¶
type WorkflowKind int32
const ( WorkflowKind_FUNCTION WorkflowKind = 0 WorkflowKind_DURABLE WorkflowKind = 1 WorkflowKind_DAG WorkflowKind = 2 )
func (WorkflowKind) Descriptor ¶
func (WorkflowKind) Descriptor() protoreflect.EnumDescriptor
func (WorkflowKind) Enum ¶
func (x WorkflowKind) Enum() *WorkflowKind
func (WorkflowKind) EnumDescriptor
deprecated
func (WorkflowKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkflowKind.Descriptor instead.
func (WorkflowKind) Number ¶
func (x WorkflowKind) Number() protoreflect.EnumNumber
func (WorkflowKind) String ¶
func (x WorkflowKind) String() string
func (WorkflowKind) Type ¶
func (WorkflowKind) Type() protoreflect.EnumType
type WorkflowServiceClient ¶
type WorkflowServiceClient interface {
PutWorkflow(ctx context.Context, in *PutWorkflowRequest, opts ...grpc.CallOption) (*WorkflowVersion, error)
ScheduleWorkflow(ctx context.Context, in *ScheduleWorkflowRequest, opts ...grpc.CallOption) (*WorkflowVersion, error)
TriggerWorkflow(ctx context.Context, in *TriggerWorkflowRequest, opts ...grpc.CallOption) (*TriggerWorkflowResponse, error)
BulkTriggerWorkflow(ctx context.Context, in *BulkTriggerWorkflowRequest, opts ...grpc.CallOption) (*BulkTriggerWorkflowResponse, error)
PutRateLimit(ctx context.Context, in *PutRateLimitRequest, opts ...grpc.CallOption) (*PutRateLimitResponse, error)
}
WorkflowServiceClient is the client API for WorkflowService 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 NewWorkflowServiceClient ¶
func NewWorkflowServiceClient(cc grpc.ClientConnInterface) WorkflowServiceClient
type WorkflowServiceServer ¶
type WorkflowServiceServer interface {
PutWorkflow(context.Context, *PutWorkflowRequest) (*WorkflowVersion, error)
ScheduleWorkflow(context.Context, *ScheduleWorkflowRequest) (*WorkflowVersion, error)
TriggerWorkflow(context.Context, *TriggerWorkflowRequest) (*TriggerWorkflowResponse, error)
BulkTriggerWorkflow(context.Context, *BulkTriggerWorkflowRequest) (*BulkTriggerWorkflowResponse, error)
PutRateLimit(context.Context, *PutRateLimitRequest) (*PutRateLimitResponse, error)
// contains filtered or unexported methods
}
WorkflowServiceServer is the server API for WorkflowService service. All implementations must embed UnimplementedWorkflowServiceServer for forward compatibility
type WorkflowTriggerCronRef ¶
type WorkflowTriggerCronRef struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Cron string `protobuf:"bytes,2,opt,name=cron,proto3" json:"cron,omitempty"`
// contains filtered or unexported fields
}
WorkflowTriggerCronRef represents the WorkflowTriggerCronRef model.
func (*WorkflowTriggerCronRef) Descriptor
deprecated
func (*WorkflowTriggerCronRef) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowTriggerCronRef.ProtoReflect.Descriptor instead.
func (*WorkflowTriggerCronRef) GetCron ¶
func (x *WorkflowTriggerCronRef) GetCron() string
func (*WorkflowTriggerCronRef) GetParentId ¶
func (x *WorkflowTriggerCronRef) GetParentId() string
func (*WorkflowTriggerCronRef) ProtoMessage ¶
func (*WorkflowTriggerCronRef) ProtoMessage()
func (*WorkflowTriggerCronRef) ProtoReflect ¶
func (x *WorkflowTriggerCronRef) ProtoReflect() protoreflect.Message
func (*WorkflowTriggerCronRef) Reset ¶
func (x *WorkflowTriggerCronRef) Reset()
func (*WorkflowTriggerCronRef) String ¶
func (x *WorkflowTriggerCronRef) String() string
type WorkflowTriggerEventRef ¶
type WorkflowTriggerEventRef struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
EventKey string `protobuf:"bytes,2,opt,name=event_key,json=eventKey,proto3" json:"event_key,omitempty"`
// contains filtered or unexported fields
}
WorkflowTriggerEventRef represents the WorkflowTriggerEventRef model.
func (*WorkflowTriggerEventRef) Descriptor
deprecated
func (*WorkflowTriggerEventRef) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowTriggerEventRef.ProtoReflect.Descriptor instead.
func (*WorkflowTriggerEventRef) GetEventKey ¶
func (x *WorkflowTriggerEventRef) GetEventKey() string
func (*WorkflowTriggerEventRef) GetParentId ¶
func (x *WorkflowTriggerEventRef) GetParentId() string
func (*WorkflowTriggerEventRef) ProtoMessage ¶
func (*WorkflowTriggerEventRef) ProtoMessage()
func (*WorkflowTriggerEventRef) ProtoReflect ¶
func (x *WorkflowTriggerEventRef) ProtoReflect() protoreflect.Message
func (*WorkflowTriggerEventRef) Reset ¶
func (x *WorkflowTriggerEventRef) Reset()
func (*WorkflowTriggerEventRef) String ¶
func (x *WorkflowTriggerEventRef) String() string
type WorkflowVersion ¶
type WorkflowVersion struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
Order int64 `protobuf:"varint,6,opt,name=order,proto3" json:"order,omitempty"`
WorkflowId string `protobuf:"bytes,7,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
ScheduledWorkflows []*ScheduledWorkflow `protobuf:"bytes,8,rep,name=scheduled_workflows,json=scheduledWorkflows,proto3" json:"scheduled_workflows,omitempty"`
// contains filtered or unexported fields
}
WorkflowVersion represents the WorkflowVersion model.
func (*WorkflowVersion) Descriptor
deprecated
func (*WorkflowVersion) Descriptor() ([]byte, []int)
Deprecated: Use WorkflowVersion.ProtoReflect.Descriptor instead.
func (*WorkflowVersion) GetCreatedAt ¶
func (x *WorkflowVersion) GetCreatedAt() *timestamppb.Timestamp
func (*WorkflowVersion) GetId ¶
func (x *WorkflowVersion) GetId() string
func (*WorkflowVersion) GetOrder ¶
func (x *WorkflowVersion) GetOrder() int64
func (*WorkflowVersion) GetScheduledWorkflows ¶
func (x *WorkflowVersion) GetScheduledWorkflows() []*ScheduledWorkflow
func (*WorkflowVersion) GetUpdatedAt ¶
func (x *WorkflowVersion) GetUpdatedAt() *timestamppb.Timestamp
func (*WorkflowVersion) GetVersion ¶
func (x *WorkflowVersion) GetVersion() string
func (*WorkflowVersion) GetWorkflowId ¶
func (x *WorkflowVersion) GetWorkflowId() string
func (*WorkflowVersion) ProtoMessage ¶
func (*WorkflowVersion) ProtoMessage()
func (*WorkflowVersion) ProtoReflect ¶
func (x *WorkflowVersion) ProtoReflect() protoreflect.Message
func (*WorkflowVersion) Reset ¶
func (x *WorkflowVersion) Reset()
func (*WorkflowVersion) String ¶
func (x *WorkflowVersion) String() string