Documentation ¶
Index ¶
- Variables
- type ArchivalStatus
- type CancelExternalWorkflowExecutionFailedCause
- type ContinueAsNewInitiator
- type DecisionTaskFailedCause
- type DecisionType
- type EncodingType
- type EventType
- type HistoryEventFilterType
- type IndexedValueType
- type NamespaceStatus
- type ParentClosePolicy
- type PendingActivityState
- type QueryRejectCondition
- type QueryResultType
- type RetryStatus
- type SignalExternalWorkflowExecutionFailedCause
- type StartChildWorkflowExecutionFailedCause
- type TaskListKind
- type TaskListType
- type TimeoutType
- type WorkflowExecutionStatus
- type WorkflowIdReusePolicy
Constants ¶
This section is empty.
Variables ¶
View Source
var ArchivalStatus_name = map[int32]string{
0: "Unspecified",
1: "Disabled",
2: "Enabled",
}
View Source
var ArchivalStatus_value = map[string]int32{
"Unspecified": 0,
"Disabled": 1,
"Enabled": 2,
}
View Source
var CancelExternalWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "ExternalWorkflowExecutionNotFound",
}
View Source
var CancelExternalWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"ExternalWorkflowExecutionNotFound": 1,
}
View Source
var ContinueAsNewInitiator_name = map[int32]string{
0: "Unspecified",
1: "Decider",
2: "Retry",
3: "CronSchedule",
}
View Source
var ContinueAsNewInitiator_value = map[string]int32{
"Unspecified": 0,
"Decider": 1,
"Retry": 2,
"CronSchedule": 3,
}
View Source
var DecisionTaskFailedCause_name = map[int32]string{
0: "Unspecified",
1: "UnhandledDecision",
2: "BadScheduleActivityAttributes",
3: "BadRequestCancelActivityAttributes",
4: "BadStartTimerAttributes",
5: "BadCancelTimerAttributes",
6: "BadRecordMarkerAttributes",
7: "BadCompleteWorkflowExecutionAttributes",
8: "BadFailWorkflowExecutionAttributes",
9: "BadCancelWorkflowExecutionAttributes",
10: "BadRequestCancelExternalWorkflowExecutionAttributes",
11: "BadContinueAsNewAttributes",
12: "StartTimerDuplicateId",
13: "ResetStickyTasklist",
14: "WorkflowWorkerUnhandledFailure",
15: "BadSignalWorkflowExecutionAttributes",
16: "BadStartChildExecutionAttributes",
17: "ForceCloseDecision",
18: "FailoverCloseDecision",
19: "BadSignalInputSize",
20: "ResetWorkflow",
21: "BadBinary",
22: "ScheduleActivityDuplicateId",
23: "BadSearchAttributes",
}
View Source
var DecisionTaskFailedCause_value = map[string]int32{
"Unspecified": 0,
"UnhandledDecision": 1,
"BadScheduleActivityAttributes": 2,
"BadRequestCancelActivityAttributes": 3,
"BadStartTimerAttributes": 4,
"BadCancelTimerAttributes": 5,
"BadRecordMarkerAttributes": 6,
"BadCompleteWorkflowExecutionAttributes": 7,
"BadFailWorkflowExecutionAttributes": 8,
"BadCancelWorkflowExecutionAttributes": 9,
"BadRequestCancelExternalWorkflowExecutionAttributes": 10,
"BadContinueAsNewAttributes": 11,
"StartTimerDuplicateId": 12,
"ResetStickyTasklist": 13,
"WorkflowWorkerUnhandledFailure": 14,
"BadSignalWorkflowExecutionAttributes": 15,
"BadStartChildExecutionAttributes": 16,
"ForceCloseDecision": 17,
"FailoverCloseDecision": 18,
"BadSignalInputSize": 19,
"ResetWorkflow": 20,
"BadBinary": 21,
"ScheduleActivityDuplicateId": 22,
"BadSearchAttributes": 23,
}
View Source
var DecisionType_name = map[int32]string{
0: "Unspecified",
1: "ScheduleActivityTask",
2: "RequestCancelActivityTask",
3: "StartTimer",
4: "CompleteWorkflowExecution",
5: "FailWorkflowExecution",
6: "CancelTimer",
7: "CancelWorkflowExecution",
8: "RequestCancelExternalWorkflowExecution",
9: "RecordMarker",
10: "ContinueAsNewWorkflowExecution",
11: "StartChildWorkflowExecution",
12: "SignalExternalWorkflowExecution",
13: "UpsertWorkflowSearchAttributes",
}
View Source
var DecisionType_value = map[string]int32{
"Unspecified": 0,
"ScheduleActivityTask": 1,
"RequestCancelActivityTask": 2,
"StartTimer": 3,
"CompleteWorkflowExecution": 4,
"FailWorkflowExecution": 5,
"CancelTimer": 6,
"CancelWorkflowExecution": 7,
"RequestCancelExternalWorkflowExecution": 8,
"RecordMarker": 9,
"ContinueAsNewWorkflowExecution": 10,
"StartChildWorkflowExecution": 11,
"SignalExternalWorkflowExecution": 12,
"UpsertWorkflowSearchAttributes": 13,
}
View Source
var EventType_name = map[int32]string{
0: "Unspecified",
1: "WorkflowExecutionStarted",
2: "WorkflowExecutionCompleted",
3: "WorkflowExecutionFailed",
4: "WorkflowExecutionTimedOut",
5: "DecisionTaskScheduled",
6: "DecisionTaskStarted",
7: "DecisionTaskCompleted",
8: "DecisionTaskTimedOut",
9: "DecisionTaskFailed",
10: "ActivityTaskScheduled",
11: "ActivityTaskStarted",
12: "ActivityTaskCompleted",
13: "ActivityTaskFailed",
14: "ActivityTaskTimedOut",
15: "ActivityTaskCancelRequested",
16: "RequestCancelActivityTaskFailed",
17: "ActivityTaskCanceled",
18: "TimerStarted",
19: "TimerFired",
20: "CancelTimerFailed",
21: "TimerCanceled",
22: "WorkflowExecutionCancelRequested",
23: "WorkflowExecutionCanceled",
24: "RequestCancelExternalWorkflowExecutionInitiated",
25: "RequestCancelExternalWorkflowExecutionFailed",
26: "ExternalWorkflowExecutionCancelRequested",
27: "MarkerRecorded",
28: "WorkflowExecutionSignaled",
29: "WorkflowExecutionTerminated",
30: "WorkflowExecutionContinuedAsNew",
31: "StartChildWorkflowExecutionInitiated",
32: "StartChildWorkflowExecutionFailed",
33: "ChildWorkflowExecutionStarted",
34: "ChildWorkflowExecutionCompleted",
35: "ChildWorkflowExecutionFailed",
36: "ChildWorkflowExecutionCanceled",
37: "ChildWorkflowExecutionTimedOut",
38: "ChildWorkflowExecutionTerminated",
39: "SignalExternalWorkflowExecutionInitiated",
40: "SignalExternalWorkflowExecutionFailed",
41: "ExternalWorkflowExecutionSignaled",
42: "UpsertWorkflowSearchAttributes",
}
View Source
var EventType_value = map[string]int32{
"Unspecified": 0,
"WorkflowExecutionStarted": 1,
"WorkflowExecutionCompleted": 2,
"WorkflowExecutionFailed": 3,
"WorkflowExecutionTimedOut": 4,
"DecisionTaskScheduled": 5,
"DecisionTaskStarted": 6,
"DecisionTaskCompleted": 7,
"DecisionTaskTimedOut": 8,
"DecisionTaskFailed": 9,
"ActivityTaskScheduled": 10,
"ActivityTaskStarted": 11,
"ActivityTaskCompleted": 12,
"ActivityTaskFailed": 13,
"ActivityTaskTimedOut": 14,
"ActivityTaskCancelRequested": 15,
"RequestCancelActivityTaskFailed": 16,
"ActivityTaskCanceled": 17,
"TimerStarted": 18,
"TimerFired": 19,
"CancelTimerFailed": 20,
"TimerCanceled": 21,
"WorkflowExecutionCancelRequested": 22,
"WorkflowExecutionCanceled": 23,
"RequestCancelExternalWorkflowExecutionInitiated": 24,
"RequestCancelExternalWorkflowExecutionFailed": 25,
"ExternalWorkflowExecutionCancelRequested": 26,
"MarkerRecorded": 27,
"WorkflowExecutionSignaled": 28,
"WorkflowExecutionTerminated": 29,
"WorkflowExecutionContinuedAsNew": 30,
"StartChildWorkflowExecutionInitiated": 31,
"StartChildWorkflowExecutionFailed": 32,
"ChildWorkflowExecutionStarted": 33,
"ChildWorkflowExecutionCompleted": 34,
"ChildWorkflowExecutionFailed": 35,
"ChildWorkflowExecutionCanceled": 36,
"ChildWorkflowExecutionTimedOut": 37,
"ChildWorkflowExecutionTerminated": 38,
"SignalExternalWorkflowExecutionInitiated": 39,
"SignalExternalWorkflowExecutionFailed": 40,
"ExternalWorkflowExecutionSignaled": 41,
"UpsertWorkflowSearchAttributes": 42,
}
View Source
var HistoryEventFilterType_name = map[int32]string{
0: "Unspecified",
1: "AllEvent",
2: "CloseEvent",
}
View Source
var HistoryEventFilterType_value = map[string]int32{
"Unspecified": 0,
"AllEvent": 1,
"CloseEvent": 2,
}
View Source
var IndexedValueType_name = map[int32]string{
0: "Unspecified",
1: "String",
2: "Keyword",
3: "Int",
4: "Double",
5: "Bool",
6: "Datetime",
}
View Source
var IndexedValueType_value = map[string]int32{
"Unspecified": 0,
"String": 1,
"Keyword": 2,
"Int": 3,
"Double": 4,
"Bool": 5,
"Datetime": 6,
}
View Source
var NamespaceStatus_name = map[int32]string{
0: "Unspecified",
1: "Registered",
2: "Deprecated",
3: "Deleted",
}
View Source
var NamespaceStatus_value = map[string]int32{
"Unspecified": 0,
"Registered": 1,
"Deprecated": 2,
"Deleted": 3,
}
View Source
var ParentClosePolicy_name = map[int32]string{
0: "Unspecified",
1: "Abandon",
2: "RequestCancel",
3: "Terminate",
}
View Source
var ParentClosePolicy_value = map[string]int32{
"Unspecified": 0,
"Abandon": 1,
"RequestCancel": 2,
"Terminate": 3,
}
View Source
var PendingActivityState_name = map[int32]string{
0: "Unspecified",
1: "Scheduled",
2: "Started",
3: "CancelRequested",
}
View Source
var PendingActivityState_value = map[string]int32{
"Unspecified": 0,
"Scheduled": 1,
"Started": 2,
"CancelRequested": 3,
}
View Source
var QueryRejectCondition_name = map[int32]string{
0: "Unspecified",
1: "NotOpen",
2: "NotCompletedCleanly",
}
View Source
var QueryRejectCondition_value = map[string]int32{
"Unspecified": 0,
"NotOpen": 1,
"NotCompletedCleanly": 2,
}
View Source
var QueryResultType_name = map[int32]string{
0: "Unspecified",
1: "Answered",
2: "Failed",
}
View Source
var QueryResultType_value = map[string]int32{
"Unspecified": 0,
"Answered": 1,
"Failed": 2,
}
View Source
var RetryStatus_name = map[int32]string{
0: "Unspecified",
1: "InProgress",
2: "NonRetryableFailure",
3: "Timeout",
4: "MaximumAttemptsReached",
5: "RetryPolicyNotSet",
6: "InternalServerError",
7: "CancelRequested",
}
View Source
var RetryStatus_value = map[string]int32{
"Unspecified": 0,
"InProgress": 1,
"NonRetryableFailure": 2,
"Timeout": 3,
"MaximumAttemptsReached": 4,
"RetryPolicyNotSet": 5,
"InternalServerError": 6,
"CancelRequested": 7,
}
View Source
var SignalExternalWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "ExternalWorkflowExecutionNotFound",
}
View Source
var SignalExternalWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"ExternalWorkflowExecutionNotFound": 1,
}
View Source
var StartChildWorkflowExecutionFailedCause_name = map[int32]string{
0: "Unspecified",
1: "WorkflowAlreadyExists",
}
View Source
var StartChildWorkflowExecutionFailedCause_value = map[string]int32{
"Unspecified": 0,
"WorkflowAlreadyExists": 1,
}
View Source
var TaskListKind_value = map[string]int32{
"Unspecified": 0,
"Normal": 1,
"Sticky": 2,
}
View Source
var TaskListType_name = map[int32]string{
0: "Unspecified",
1: "Decision",
2: "Activity",
}
View Source
var TaskListType_value = map[string]int32{
"Unspecified": 0,
"Decision": 1,
"Activity": 2,
}
View Source
var TimeoutType_name = map[int32]string{
0: "Unspecified",
1: "StartToClose",
2: "ScheduleToStart",
3: "ScheduleToClose",
4: "Heartbeat",
}
View Source
var TimeoutType_value = map[string]int32{
"Unspecified": 0,
"StartToClose": 1,
"ScheduleToStart": 2,
"ScheduleToClose": 3,
"Heartbeat": 4,
}
View Source
var WorkflowExecutionStatus_name = map[int32]string{
0: "Unspecified",
1: "Running",
2: "Completed",
3: "Failed",
4: "Canceled",
5: "Terminated",
6: "ContinuedAsNew",
7: "TimedOut",
}
View Source
var WorkflowExecutionStatus_value = map[string]int32{
"Unspecified": 0,
"Running": 1,
"Completed": 2,
"Failed": 3,
"Canceled": 4,
"Terminated": 5,
"ContinuedAsNew": 6,
"TimedOut": 7,
}
Functions ¶
This section is empty.
Types ¶
type ArchivalStatus ¶
type ArchivalStatus int32
const ( ARCHIVAL_STATUS_UNSPECIFIED ArchivalStatus = 0 ARCHIVAL_STATUS_DISABLED ArchivalStatus = 1 ARCHIVAL_STATUS_ENABLED ArchivalStatus = 2 )
func (ArchivalStatus) EnumDescriptor ¶
func (ArchivalStatus) EnumDescriptor() ([]byte, []int)
func (ArchivalStatus) String ¶
func (x ArchivalStatus) String() string
type CancelExternalWorkflowExecutionFailedCause ¶
type CancelExternalWorkflowExecutionFailedCause int32
const ( CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED CancelExternalWorkflowExecutionFailedCause = 0 CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND CancelExternalWorkflowExecutionFailedCause = 1 )
func (CancelExternalWorkflowExecutionFailedCause) EnumDescriptor ¶
func (CancelExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int)
func (CancelExternalWorkflowExecutionFailedCause) String ¶
func (x CancelExternalWorkflowExecutionFailedCause) String() string
type ContinueAsNewInitiator ¶
type ContinueAsNewInitiator int32
const ( CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED ContinueAsNewInitiator = 0 CONTINUE_AS_NEW_INITIATOR_DECIDER ContinueAsNewInitiator = 1 CONTINUE_AS_NEW_INITIATOR_RETRY ContinueAsNewInitiator = 2 CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE ContinueAsNewInitiator = 3 )
func (ContinueAsNewInitiator) EnumDescriptor ¶
func (ContinueAsNewInitiator) EnumDescriptor() ([]byte, []int)
func (ContinueAsNewInitiator) String ¶
func (x ContinueAsNewInitiator) String() string
type DecisionTaskFailedCause ¶
type DecisionTaskFailedCause int32
const ( DECISION_TASK_FAILED_CAUSE_UNSPECIFIED DecisionTaskFailedCause = 0 DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION DecisionTaskFailedCause = 1 DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES DecisionTaskFailedCause = 2 DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES DecisionTaskFailedCause = 3 DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES DecisionTaskFailedCause = 4 DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES DecisionTaskFailedCause = 5 DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES DecisionTaskFailedCause = 6 DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 7 DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 8 DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 9 DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 10 DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES DecisionTaskFailedCause = 11 DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID DecisionTaskFailedCause = 12 DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASKLIST DecisionTaskFailedCause = 13 DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE DecisionTaskFailedCause = 14 DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 15 DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 16 DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION DecisionTaskFailedCause = 17 DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION DecisionTaskFailedCause = 18 DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE DecisionTaskFailedCause = 19 DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW DecisionTaskFailedCause = 20 DECISION_TASK_FAILED_CAUSE_BAD_BINARY DecisionTaskFailedCause = 21 DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID DecisionTaskFailedCause = 22 DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES DecisionTaskFailedCause = 23 )
func (DecisionTaskFailedCause) EnumDescriptor ¶
func (DecisionTaskFailedCause) EnumDescriptor() ([]byte, []int)
func (DecisionTaskFailedCause) String ¶
func (x DecisionTaskFailedCause) String() string
type DecisionType ¶
type DecisionType int32
Whenever this list of decision is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering.
const ( DECISION_TYPE_UNSPECIFIED DecisionType = 0 DECISION_TYPE_SCHEDULE_ACTIVITY_TASK DecisionType = 1 DECISION_TYPE_REQUEST_CANCEL_ACTIVITY_TASK DecisionType = 2 DECISION_TYPE_START_TIMER DecisionType = 3 DECISION_TYPE_COMPLETE_WORKFLOW_EXECUTION DecisionType = 4 DECISION_TYPE_FAIL_WORKFLOW_EXECUTION DecisionType = 5 DECISION_TYPE_CANCEL_TIMER DecisionType = 6 DECISION_TYPE_CANCEL_WORKFLOW_EXECUTION DecisionType = 7 DECISION_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION DecisionType = 8 DECISION_TYPE_RECORD_MARKER DecisionType = 9 DECISION_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION DecisionType = 10 DECISION_TYPE_START_CHILD_WORKFLOW_EXECUTION DecisionType = 11 DECISION_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION DecisionType = 12 DECISION_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES DecisionType = 13 )
func (DecisionType) EnumDescriptor ¶
func (DecisionType) EnumDescriptor() ([]byte, []int)
func (DecisionType) String ¶
func (x DecisionType) String() string
type EncodingType ¶
type EncodingType int32
const ( ENCODING_TYPE_UNSPECIFIED EncodingType = 0 ENCODING_TYPE_PROTO3 EncodingType = 1 ENCODING_TYPE_JSON EncodingType = 2 )
func (EncodingType) EnumDescriptor ¶
func (EncodingType) EnumDescriptor() ([]byte, []int)
func (EncodingType) String ¶
func (x EncodingType) String() string
type EventType ¶
type EventType int32
Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering.
const ( EVENT_TYPE_UNSPECIFIED EventType = 0 EVENT_TYPE_WORKFLOW_EXECUTION_STARTED EventType = 1 EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED EventType = 2 EVENT_TYPE_WORKFLOW_EXECUTION_FAILED EventType = 3 EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT EventType = 4 EVENT_TYPE_DECISION_TASK_SCHEDULED EventType = 5 EVENT_TYPE_DECISION_TASK_STARTED EventType = 6 EVENT_TYPE_DECISION_TASK_COMPLETED EventType = 7 EVENT_TYPE_DECISION_TASK_TIMED_OUT EventType = 8 EVENT_TYPE_DECISION_TASK_FAILED EventType = 9 EVENT_TYPE_ACTIVITY_TASK_SCHEDULED EventType = 10 EVENT_TYPE_ACTIVITY_TASK_STARTED EventType = 11 EVENT_TYPE_ACTIVITY_TASK_COMPLETED EventType = 12 EVENT_TYPE_ACTIVITY_TASK_FAILED EventType = 13 EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT EventType = 14 EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED EventType = 15 EVENT_TYPE_REQUEST_CANCEL_ACTIVITY_TASK_FAILED EventType = 16 EVENT_TYPE_ACTIVITY_TASK_CANCELED EventType = 17 EVENT_TYPE_TIMER_STARTED EventType = 18 EVENT_TYPE_TIMER_FIRED EventType = 19 EVENT_TYPE_CANCEL_TIMER_FAILED EventType = 20 EVENT_TYPE_TIMER_CANCELED EventType = 21 EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED EventType = 22 EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED EventType = 23 EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED EventType = 24 EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED EventType = 25 EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED EventType = 26 EVENT_TYPE_MARKER_RECORDED EventType = 27 EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED EventType = 28 EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED EventType = 29 EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW EventType = 30 EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED EventType = 31 EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED EventType = 32 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED EventType = 33 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED EventType = 34 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED EventType = 35 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED EventType = 36 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT EventType = 37 EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED EventType = 38 EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED EventType = 39 EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED EventType = 40 EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED EventType = 41 EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES EventType = 42 )
type HistoryEventFilterType ¶
type HistoryEventFilterType int32
const ( HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED HistoryEventFilterType = 0 HISTORY_EVENT_FILTER_TYPE_ALL_EVENT HistoryEventFilterType = 1 HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT HistoryEventFilterType = 2 )
func (HistoryEventFilterType) EnumDescriptor ¶
func (HistoryEventFilterType) EnumDescriptor() ([]byte, []int)
func (HistoryEventFilterType) String ¶
func (x HistoryEventFilterType) String() string
type IndexedValueType ¶
type IndexedValueType int32
const ( INDEXED_VALUE_TYPE_UNSPECIFIED IndexedValueType = 0 INDEXED_VALUE_TYPE_STRING IndexedValueType = 1 INDEXED_VALUE_TYPE_KEYWORD IndexedValueType = 2 INDEXED_VALUE_TYPE_INT IndexedValueType = 3 INDEXED_VALUE_TYPE_DOUBLE IndexedValueType = 4 INDEXED_VALUE_TYPE_BOOL IndexedValueType = 5 INDEXED_VALUE_TYPE_DATETIME IndexedValueType = 6 )
func (IndexedValueType) EnumDescriptor ¶
func (IndexedValueType) EnumDescriptor() ([]byte, []int)
func (IndexedValueType) String ¶
func (x IndexedValueType) String() string
type NamespaceStatus ¶
type NamespaceStatus int32
const ( NAMESPACE_STATUS_UNSPECIFIED NamespaceStatus = 0 NAMESPACE_STATUS_REGISTERED NamespaceStatus = 1 NAMESPACE_STATUS_DEPRECATED NamespaceStatus = 2 NAMESPACE_STATUS_DELETED NamespaceStatus = 3 )
func (NamespaceStatus) EnumDescriptor ¶
func (NamespaceStatus) EnumDescriptor() ([]byte, []int)
func (NamespaceStatus) String ¶
func (x NamespaceStatus) String() string
type ParentClosePolicy ¶
type ParentClosePolicy int32
const ( PARENT_CLOSE_POLICY_UNSPECIFIED ParentClosePolicy = 0 PARENT_CLOSE_POLICY_ABANDON ParentClosePolicy = 1 PARENT_CLOSE_POLICY_REQUEST_CANCEL ParentClosePolicy = 2 PARENT_CLOSE_POLICY_TERMINATE ParentClosePolicy = 3 )
func (ParentClosePolicy) EnumDescriptor ¶
func (ParentClosePolicy) EnumDescriptor() ([]byte, []int)
func (ParentClosePolicy) String ¶
func (x ParentClosePolicy) String() string
type PendingActivityState ¶
type PendingActivityState int32
const ( PENDING_ACTIVITY_STATE_UNSPECIFIED PendingActivityState = 0 PENDING_ACTIVITY_STATE_SCHEDULED PendingActivityState = 1 PENDING_ACTIVITY_STATE_STARTED PendingActivityState = 2 PENDING_ACTIVITY_STATE_CANCEL_REQUESTED PendingActivityState = 3 )
func (PendingActivityState) EnumDescriptor ¶
func (PendingActivityState) EnumDescriptor() ([]byte, []int)
func (PendingActivityState) String ¶
func (x PendingActivityState) String() string
type QueryRejectCondition ¶
type QueryRejectCondition int32
const ( // Unspecified indicates that query should not be rejected. QUERY_REJECT_CONDITION_UNSPECIFIED QueryRejectCondition = 0 // NotOpen indicates that query should be rejected if workflow is not open. QUERY_REJECT_CONDITION_NOT_OPEN QueryRejectCondition = 1 // NotCompletedCleanly indicates that query should be rejected if workflow did not complete cleanly. QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY QueryRejectCondition = 2 )
func (QueryRejectCondition) EnumDescriptor ¶
func (QueryRejectCondition) EnumDescriptor() ([]byte, []int)
func (QueryRejectCondition) String ¶
func (x QueryRejectCondition) String() string
type QueryResultType ¶
type QueryResultType int32
const ( QUERY_RESULT_TYPE_UNSPECIFIED QueryResultType = 0 QUERY_RESULT_TYPE_ANSWERED QueryResultType = 1 QUERY_RESULT_TYPE_FAILED QueryResultType = 2 )
func (QueryResultType) EnumDescriptor ¶
func (QueryResultType) EnumDescriptor() ([]byte, []int)
func (QueryResultType) String ¶
func (x QueryResultType) String() string
type RetryStatus ¶
type RetryStatus int32
const ( RETRY_STATUS_UNSPECIFIED RetryStatus = 0 RETRY_STATUS_IN_PROGRESS RetryStatus = 1 RETRY_STATUS_NON_RETRYABLE_FAILURE RetryStatus = 2 RETRY_STATUS_TIMEOUT RetryStatus = 3 RETRY_STATUS_MAXIMUM_ATTEMPTS_REACHED RetryStatus = 4 RETRY_STATUS_RETRY_POLICY_NOT_SET RetryStatus = 5 RETRY_STATUS_INTERNAL_SERVER_ERROR RetryStatus = 6 RETRY_STATUS_CANCEL_REQUESTED RetryStatus = 7 )
func (RetryStatus) EnumDescriptor ¶
func (RetryStatus) EnumDescriptor() ([]byte, []int)
func (RetryStatus) String ¶
func (x RetryStatus) String() string
type SignalExternalWorkflowExecutionFailedCause ¶
type SignalExternalWorkflowExecutionFailedCause int32
const ( SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED SignalExternalWorkflowExecutionFailedCause = 0 SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND SignalExternalWorkflowExecutionFailedCause = 1 )
func (SignalExternalWorkflowExecutionFailedCause) EnumDescriptor ¶
func (SignalExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int)
func (SignalExternalWorkflowExecutionFailedCause) String ¶
func (x SignalExternalWorkflowExecutionFailedCause) String() string
type StartChildWorkflowExecutionFailedCause ¶
type StartChildWorkflowExecutionFailedCause int32
const ( START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED StartChildWorkflowExecutionFailedCause = 0 START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS StartChildWorkflowExecutionFailedCause = 1 )
func (StartChildWorkflowExecutionFailedCause) EnumDescriptor ¶
func (StartChildWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int)
func (StartChildWorkflowExecutionFailedCause) String ¶
func (x StartChildWorkflowExecutionFailedCause) String() string
type TaskListKind ¶
type TaskListKind int32
const ( TASK_LIST_KIND_UNSPECIFIED TaskListKind = 0 TASK_LIST_KIND_NORMAL TaskListKind = 1 TASK_LIST_KIND_STICKY TaskListKind = 2 )
func (TaskListKind) EnumDescriptor ¶
func (TaskListKind) EnumDescriptor() ([]byte, []int)
func (TaskListKind) String ¶
func (x TaskListKind) String() string
type TaskListType ¶
type TaskListType int32
const ( TASK_LIST_TYPE_UNSPECIFIED TaskListType = 0 // Decision type of task list. TASK_LIST_TYPE_DECISION TaskListType = 1 // Activity type of task list. TASK_LIST_TYPE_ACTIVITY TaskListType = 2 )
func (TaskListType) EnumDescriptor ¶
func (TaskListType) EnumDescriptor() ([]byte, []int)
func (TaskListType) String ¶
func (x TaskListType) String() string
type TimeoutType ¶
type TimeoutType int32
const ( TIMEOUT_TYPE_UNSPECIFIED TimeoutType = 0 TIMEOUT_TYPE_START_TO_CLOSE TimeoutType = 1 TIMEOUT_TYPE_SCHEDULE_TO_START TimeoutType = 2 TIMEOUT_TYPE_SCHEDULE_TO_CLOSE TimeoutType = 3 TIMEOUT_TYPE_HEARTBEAT TimeoutType = 4 )
func (TimeoutType) EnumDescriptor ¶
func (TimeoutType) EnumDescriptor() ([]byte, []int)
func (TimeoutType) String ¶
func (x TimeoutType) String() string
type WorkflowExecutionStatus ¶
type WorkflowExecutionStatus int32
const ( WORKFLOW_EXECUTION_STATUS_UNSPECIFIED WorkflowExecutionStatus = 0 WORKFLOW_EXECUTION_STATUS_RUNNING WorkflowExecutionStatus = 1 WORKFLOW_EXECUTION_STATUS_COMPLETED WorkflowExecutionStatus = 2 WORKFLOW_EXECUTION_STATUS_FAILED WorkflowExecutionStatus = 3 WORKFLOW_EXECUTION_STATUS_CANCELED WorkflowExecutionStatus = 4 WORKFLOW_EXECUTION_STATUS_TERMINATED WorkflowExecutionStatus = 5 WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW WorkflowExecutionStatus = 6 WORKFLOW_EXECUTION_STATUS_TIMED_OUT WorkflowExecutionStatus = 7 )
func (WorkflowExecutionStatus) EnumDescriptor ¶
func (WorkflowExecutionStatus) EnumDescriptor() ([]byte, []int)
func (WorkflowExecutionStatus) String ¶
func (x WorkflowExecutionStatus) String() string
type WorkflowIdReusePolicy ¶
type WorkflowIdReusePolicy int32
const ( WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED WorkflowIdReusePolicy = 0 // Allow start a workflow execution using the same workflow Id, when workflow not running. WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE WorkflowIdReusePolicy = 1 // Allow start a workflow execution using the same workflow Id, when workflow not running, and the last execution close state is in // [terminated, cancelled, timed out, failed]. WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY WorkflowIdReusePolicy = 2 // Do not allow start a workflow execution using the same workflow Id at all. WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE WorkflowIdReusePolicy = 3 )
func (WorkflowIdReusePolicy) EnumDescriptor ¶
func (WorkflowIdReusePolicy) EnumDescriptor() ([]byte, []int)
func (WorkflowIdReusePolicy) String ¶
func (x WorkflowIdReusePolicy) String() string
Click to show internal directories.
Click to hide internal directories.