v1

package
v0.77.21 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
var (
	StickyStrategy_name = map[int32]string{
		0: "SOFT",
		1: "HARD",
	}
	StickyStrategy_value = map[string]int32{
		"SOFT": 0,
		"HARD": 1,
	}
)

Enum value maps for StickyStrategy.

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

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

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

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

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

View Source
var File_v1_dispatcher_proto protoreflect.FileDescriptor
View Source
var File_v1_shared_condition_proto protoreflect.FileDescriptor
View Source
var File_v1_workflows_proto protoreflect.FileDescriptor
View Source
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
const (
	Action_CREATE Action = 0
	Action_QUEUE  Action = 1
	Action_CANCEL Action = 2
	Action_SKIP   Action = 3
)

func (Action) Descriptor

func (Action) Descriptor() protoreflect.EnumDescriptor

func (Action) Enum

func (x Action) Enum() *Action

func (Action) EnumDescriptor deprecated

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

Deprecated: Use Action.Descriptor instead.

func (Action) Number

func (x Action) Number() protoreflect.EnumNumber

func (Action) String

func (x Action) String() string

func (Action) Type

func (Action) Type() protoreflect.EnumType

type AdminServiceClient

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.

type AdminServiceServer

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

func (ConcurrencyLimitStrategy) EnumDescriptor deprecated

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

Deprecated: Use ConcurrencyLimitStrategy.Descriptor instead.

func (ConcurrencyLimitStrategy) Number

func (ConcurrencyLimitStrategy) String

func (x ConcurrencyLimitStrategy) String() string

func (ConcurrencyLimitStrategy) Type

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 (*CreateWorkflowVersionRequest) GetTasks

func (*CreateWorkflowVersionRequest) GetVersion

func (x *CreateWorkflowVersionRequest) GetVersion() string

func (*CreateWorkflowVersionRequest) ProtoMessage

func (*CreateWorkflowVersionRequest) ProtoMessage()

func (*CreateWorkflowVersionRequest) ProtoReflect

func (*CreateWorkflowVersionRequest) Reset

func (x *CreateWorkflowVersionRequest) Reset()

func (*CreateWorkflowVersionRequest) 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 (*CreateWorkflowVersionResponse) GetWorkflowId

func (x *CreateWorkflowVersionResponse) GetWorkflowId() string

func (*CreateWorkflowVersionResponse) ProtoMessage

func (*CreateWorkflowVersionResponse) ProtoMessage()

func (*CreateWorkflowVersionResponse) ProtoReflect

func (*CreateWorkflowVersionResponse) Reset

func (x *CreateWorkflowVersionResponse) Reset()

func (*CreateWorkflowVersionResponse) 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 (*DurableEventListenerConditions) Reset

func (x *DurableEventListenerConditions) Reset()

func (*DurableEventListenerConditions) 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 (*ListenForDurableEventRequest) Reset

func (x *ListenForDurableEventRequest) Reset()

func (*ListenForDurableEventRequest) 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 (*ParentOverrideMatchCondition) GetParentReadableId

func (x *ParentOverrideMatchCondition) GetParentReadableId() string

func (*ParentOverrideMatchCondition) ProtoMessage

func (*ParentOverrideMatchCondition) ProtoMessage()

func (*ParentOverrideMatchCondition) ProtoReflect

func (*ParentOverrideMatchCondition) Reset

func (x *ParentOverrideMatchCondition) Reset()

func (*ParentOverrideMatchCondition) 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) Enum

func (RateLimitDuration) EnumDescriptor deprecated

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

Deprecated: Use RateLimitDuration.Descriptor instead.

func (RateLimitDuration) Number

func (RateLimitDuration) String

func (x RateLimitDuration) String() string

func (RateLimitDuration) Type

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

func (x *RegisterDurableEventResponse) Reset()

func (*RegisterDurableEventResponse) 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
const (
	RunStatus_QUEUED    RunStatus = 0
	RunStatus_RUNNING   RunStatus = 1
	RunStatus_COMPLETED RunStatus = 2
	RunStatus_FAILED    RunStatus = 3
	RunStatus_CANCELLED RunStatus = 4
)

func (RunStatus) Descriptor added in v0.74.9

func (RunStatus) Descriptor() protoreflect.EnumDescriptor

func (RunStatus) Enum added in v0.74.9

func (x RunStatus) Enum() *RunStatus

func (RunStatus) EnumDescriptor deprecated added in v0.74.9

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

Deprecated: Use RunStatus.Descriptor instead.

func (RunStatus) Number added in v0.74.9

func (x RunStatus) Number() protoreflect.EnumNumber

func (RunStatus) String added in v0.74.9

func (x RunStatus) String() string

func (RunStatus) Type added in v0.74.9

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

func (x StickyStrategy) Enum() *StickyStrategy

func (StickyStrategy) EnumDescriptor deprecated

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

Deprecated: Use StickyStrategy.Descriptor instead.

func (StickyStrategy) Number

func (StickyStrategy) String

func (x StickyStrategy) String() string

func (StickyStrategy) Type

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 (*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 (*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) GetRunDetails added in v0.74.9

func (UnimplementedAdminServiceServer) ReplayTasks

func (UnimplementedAdminServiceServer) TriggerWorkflowRun

type UnimplementedV1DispatcherServer

type UnimplementedV1DispatcherServer struct {
}

UnimplementedV1DispatcherServer must be embedded to have forward compatible implementations.

func (UnimplementedV1DispatcherServer) ListenForDurableEvent

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 (*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.

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

func (WorkerLabelComparator) EnumDescriptor deprecated

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

Deprecated: Use WorkerLabelComparator.Descriptor instead.

func (WorkerLabelComparator) Number

func (WorkerLabelComparator) String

func (x WorkerLabelComparator) String() string

func (WorkerLabelComparator) Type

Jump to

Keyboard shortcuts

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