Documentation
¶
Index ¶
- Variables
- func CreatePayloads(data [][]byte, metadata map[string][]byte, isBase64 bool) (*common.Payloads, error)
- func Execute(ctx context.Context, options CommandOptions)
- func UnmarshalProtoJSONWithOptions(b []byte, m proto.Message, jsonShorthandPayloads bool) error
- func VersionString() string
- type ClientOptions
- type CommandContext
- func (c *CommandContext) BindFlagEnvVar(flag *pflag.Flag, envVar string)
- func (c *CommandContext) MarshalFriendlyFailureBodyText(f *failure.Failure, indent string) (s string)
- func (c *CommandContext) MarshalFriendlyJSONPayloads(m *common.Payloads) (json.RawMessage, error)
- func (c *CommandContext) MarshalProtoJSON(m proto.Message) ([]byte, error)
- func (c *CommandContext) MarshalProtoJSONWithOptions(m proto.Message, jsonShorthandPayloads bool) ([]byte, error)
- func (c *CommandContext) UnmarshalProtoJSON(b []byte, m proto.Message) error
- func (c *CommandContext) WriteEnvConfigToFile() error
- type CommandOptions
- type Duration
- type NexusEndpointConfigOptions
- type NexusEndpointIdentityOptions
- type OverlapPolicyOptions
- type PayloadInputOptions
- type RawValue
- type ScheduleConfigurationOptions
- type ScheduleIdOptions
- type SharedWorkflowStartOptions
- type SingleWorkflowOrBatchOptions
- type StringEnum
- type StringEnumArray
- type TemporalActivityCommand
- type TemporalActivityCompleteCommand
- type TemporalActivityFailCommand
- type TemporalBatchCommand
- type TemporalBatchDescribeCommand
- type TemporalBatchListCommand
- type TemporalBatchTerminateCommand
- type TemporalCommand
- type TemporalEnvCommand
- type TemporalEnvDeleteCommand
- type TemporalEnvGetCommand
- type TemporalEnvListCommand
- type TemporalEnvSetCommand
- type TemporalOperatorClusterCommand
- type TemporalOperatorClusterDescribeCommand
- type TemporalOperatorClusterHealthCommand
- type TemporalOperatorClusterListCommand
- type TemporalOperatorClusterRemoveCommand
- type TemporalOperatorClusterSystemCommand
- type TemporalOperatorClusterUpsertCommand
- type TemporalOperatorCommand
- type TemporalOperatorNamespaceCommand
- type TemporalOperatorNamespaceCreateCommand
- type TemporalOperatorNamespaceDeleteCommand
- type TemporalOperatorNamespaceDescribeCommand
- type TemporalOperatorNamespaceListCommand
- type TemporalOperatorNamespaceUpdateCommand
- type TemporalOperatorNexusCommand
- type TemporalOperatorNexusEndpointCommand
- type TemporalOperatorNexusEndpointCreateCommand
- type TemporalOperatorNexusEndpointDeleteCommand
- type TemporalOperatorNexusEndpointGetCommand
- type TemporalOperatorNexusEndpointListCommand
- type TemporalOperatorNexusEndpointUpdateCommand
- type TemporalOperatorSearchAttributeCommand
- type TemporalOperatorSearchAttributeCreateCommand
- type TemporalOperatorSearchAttributeListCommand
- type TemporalOperatorSearchAttributeRemoveCommand
- type TemporalScheduleBackfillCommand
- type TemporalScheduleCommand
- type TemporalScheduleCreateCommand
- type TemporalScheduleDeleteCommand
- type TemporalScheduleDescribeCommand
- type TemporalScheduleListCommand
- type TemporalScheduleToggleCommand
- type TemporalScheduleTriggerCommand
- type TemporalScheduleUpdateCommand
- type TemporalServerCommand
- type TemporalServerStartDevCommand
- type TemporalTaskQueueCommand
- type TemporalTaskQueueDescribeCommand
- type TemporalTaskQueueGetBuildIdReachabilityCommand
- type TemporalTaskQueueGetBuildIdsCommand
- type TemporalTaskQueueListPartitionCommand
- type TemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand
- type TemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand
- type TemporalTaskQueueUpdateBuildIdsCommand
- type TemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand
- type TemporalTaskQueueUpdateBuildIdsPromoteSetCommand
- type TemporalTaskQueueVersioningAddRedirectRuleCommand
- type TemporalTaskQueueVersioningCommand
- type TemporalTaskQueueVersioningCommitBuildIdCommand
- type TemporalTaskQueueVersioningDeleteAssignmentRuleCommand
- type TemporalTaskQueueVersioningDeleteRedirectRuleCommand
- type TemporalTaskQueueVersioningGetRulesCommand
- type TemporalTaskQueueVersioningInsertAssignmentRuleCommand
- type TemporalTaskQueueVersioningReplaceAssignmentRuleCommand
- type TemporalTaskQueueVersioningReplaceRedirectRuleCommand
- type TemporalWorkflowCancelCommand
- type TemporalWorkflowCommand
- type TemporalWorkflowCountCommand
- type TemporalWorkflowDeleteCommand
- type TemporalWorkflowDescribeCommand
- type TemporalWorkflowExecuteCommand
- type TemporalWorkflowFixHistoryJsonCommand
- type TemporalWorkflowListCommand
- type TemporalWorkflowQueryCommand
- type TemporalWorkflowResetCommand
- type TemporalWorkflowResultCommand
- type TemporalWorkflowShowCommand
- type TemporalWorkflowSignalCommand
- type TemporalWorkflowStackCommand
- type TemporalWorkflowStartCommand
- type TemporalWorkflowTerminateCommand
- type TemporalWorkflowTraceCommand
- type TemporalWorkflowUpdateCommand
- type TemporalWorkflowUpdateDescribeCommand
- type TemporalWorkflowUpdateExecuteCommand
- type TemporalWorkflowUpdateResultCommand
- type TemporalWorkflowUpdateStartCommand
- type Timestamp
- type UpdateStartingOptions
- type UpdateTargetingOptions
- type WorkflowReferenceOptions
- type WorkflowStartOptions
Constants ¶
This section is empty.
Variables ¶
var DataConverterWithRawValue = converter.NewCompositeDataConverter( rawValuePayloadConverter{}, converter.NewNilPayloadConverter(), converter.NewByteSlicePayloadConverter(), converter.NewProtoJSONPayloadConverter(), converter.NewProtoPayloadConverter(), converter.NewJSONPayloadConverter(), )
var Version = "0.0.0-DEV"
Version is the value put as the default command version. This is often replaced at build time via ldflags.
Functions ¶
func CreatePayloads ¶
func Execute ¶
func Execute(ctx context.Context, options CommandOptions)
Execute runs the Temporal CLI with the given context and options. This intentionally does not return an error but rather invokes Fail on the options.
func VersionString ¶ added in v1.0.0
func VersionString() string
Types ¶
type ClientOptions ¶
type ClientOptions struct {
Address string
Namespace string
ApiKey string
GrpcMeta []string
Tls bool
TlsCertPath string
TlsCertData string
TlsKeyPath string
TlsKeyData string
TlsCaPath string
TlsCaData string
TlsDisableHostVerification bool
TlsServerName string
CodecEndpoint string
CodecAuth string
}
type CommandContext ¶
type CommandContext struct {
// This context is closed on interrupt
context.Context
Options CommandOptions
EnvConfigValues map[string]map[string]string
FlagsWithEnvVars []*pflag.Flag
// These values may not be available until after pre-run of main command
Printer *printer.Printer
Logger *slog.Logger
JSONOutput bool
JSONShorthandPayloads bool
// Is set to true if any command actually started running. This is a hack to workaround the fact
// that cobra does not properly exit nonzero if an unknown command/subcommand is given.
ActuallyRanCommand bool
}
func NewCommandContext ¶
func NewCommandContext(ctx context.Context, options CommandOptions) (*CommandContext, context.CancelFunc, error)
NewCommandContext creates a CommandContext for use by the rest of the CLI. Among other things, this parses the env config file and modifies options/flags according to the parameters set there.
A CommandContext and CancelFunc are always returned, even in the event of an error; this is so the CommandContext can be used to print an appropriate error message.
func (*CommandContext) BindFlagEnvVar ¶
func (c *CommandContext) BindFlagEnvVar(flag *pflag.Flag, envVar string)
func (*CommandContext) MarshalFriendlyFailureBodyText ¶
func (c *CommandContext) MarshalFriendlyFailureBodyText(f *failure.Failure, indent string) (s string)
Starts with newline
func (*CommandContext) MarshalFriendlyJSONPayloads ¶
func (c *CommandContext) MarshalFriendlyJSONPayloads(m *common.Payloads) (json.RawMessage, error)
func (*CommandContext) MarshalProtoJSON ¶
func (c *CommandContext) MarshalProtoJSON(m proto.Message) ([]byte, error)
Takes payload shorthand into account, can use MarshalProtoJSONNoPayloadShorthand if needed
func (*CommandContext) MarshalProtoJSONWithOptions ¶
func (*CommandContext) UnmarshalProtoJSON ¶
func (c *CommandContext) UnmarshalProtoJSON(b []byte, m proto.Message) error
func (*CommandContext) WriteEnvConfigToFile ¶
func (c *CommandContext) WriteEnvConfigToFile() error
type CommandOptions ¶
type CommandOptions struct {
// If empty, assumed to be os.Args[1:]
Args []string
// If unset, defaulted to $HOME/.config/temporalio/temporal.yaml
EnvConfigFile string
// If unset, attempts to extract --env from Args (which defaults to "default")
EnvConfigName string
// If true, does not do any env config reading
DisableEnvConfig bool
// If nil, os.LookupEnv is used. This is for environment variables and not
// related to env config stuff above.
LookupEnv func(string) (string, bool)
// These three fields below default to OS values
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
// Defaults to logging error then os.Exit(1)
Fail func(error)
AdditionalClientGRPCDialOptions []grpc.DialOption
}
type NexusEndpointConfigOptions ¶ added in v1.1.1
type NexusEndpointIdentityOptions ¶ added in v1.1.1
type NexusEndpointIdentityOptions struct {
Name string
}
type OverlapPolicyOptions ¶
type OverlapPolicyOptions struct {
OverlapPolicy StringEnum
}
type PayloadInputOptions ¶
type ScheduleConfigurationOptions ¶
type ScheduleConfigurationOptions struct {
Calendar []string
CatchupWindow Duration
Cron []string
EndTime Timestamp
Interval []string
Jitter Duration
Notes string
Paused bool
PauseOnFailure bool
RemainingActions int
StartTime Timestamp
TimeZone string
ScheduleSearchAttribute []string
ScheduleMemo []string
}
type ScheduleIdOptions ¶
type ScheduleIdOptions struct {
ScheduleId string
}
type SharedWorkflowStartOptions ¶
type SharedWorkflowStartOptions struct {
}
type StringEnum ¶
func NewStringEnum ¶
func NewStringEnum(allowed []string, value string) StringEnum
func (*StringEnum) Set ¶
func (s *StringEnum) Set(p string) error
func (*StringEnum) String ¶
func (s *StringEnum) String() string
func (*StringEnum) Type ¶
func (*StringEnum) Type() string
type StringEnumArray ¶ added in v1.1.1
type StringEnumArray struct {
// maps lower case value to original case
Allowed map[string]string
// values in original case
Values []string
}
func NewStringEnumArray ¶ added in v1.1.1
func NewStringEnumArray(allowed []string, values []string) StringEnumArray
func (*StringEnumArray) Set ¶ added in v1.1.1
func (s *StringEnumArray) Set(p string) error
func (*StringEnumArray) String ¶ added in v1.1.1
func (s *StringEnumArray) String() string
func (*StringEnumArray) Type ¶ added in v1.1.1
func (*StringEnumArray) Type() string
type TemporalActivityCommand ¶
type TemporalActivityCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalActivityCommand ¶
func NewTemporalActivityCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalActivityCommand
type TemporalActivityCompleteCommand ¶
type TemporalActivityCompleteCommand struct {
Parent *TemporalActivityCommand
Command cobra.Command
WorkflowReferenceOptions
ActivityId string
Result string
Identity string
}
func NewTemporalActivityCompleteCommand ¶
func NewTemporalActivityCompleteCommand(cctx *CommandContext, parent *TemporalActivityCommand) *TemporalActivityCompleteCommand
type TemporalActivityFailCommand ¶
type TemporalActivityFailCommand struct {
Parent *TemporalActivityCommand
Command cobra.Command
WorkflowReferenceOptions
ActivityId string
Detail string
Identity string
Reason string
}
func NewTemporalActivityFailCommand ¶
func NewTemporalActivityFailCommand(cctx *CommandContext, parent *TemporalActivityCommand) *TemporalActivityFailCommand
type TemporalBatchCommand ¶
type TemporalBatchCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalBatchCommand ¶
func NewTemporalBatchCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalBatchCommand
type TemporalBatchDescribeCommand ¶
type TemporalBatchDescribeCommand struct {
Parent *TemporalBatchCommand
Command cobra.Command
JobId string
}
func NewTemporalBatchDescribeCommand ¶
func NewTemporalBatchDescribeCommand(cctx *CommandContext, parent *TemporalBatchCommand) *TemporalBatchDescribeCommand
type TemporalBatchListCommand ¶
type TemporalBatchListCommand struct {
Parent *TemporalBatchCommand
Command cobra.Command
Limit int
}
func NewTemporalBatchListCommand ¶
func NewTemporalBatchListCommand(cctx *CommandContext, parent *TemporalBatchCommand) *TemporalBatchListCommand
type TemporalBatchTerminateCommand ¶
type TemporalBatchTerminateCommand struct {
Parent *TemporalBatchCommand
Command cobra.Command
JobId string
Reason string
}
func NewTemporalBatchTerminateCommand ¶
func NewTemporalBatchTerminateCommand(cctx *CommandContext, parent *TemporalBatchCommand) *TemporalBatchTerminateCommand
type TemporalCommand ¶
type TemporalCommand struct {
Command cobra.Command
Env string
EnvFile string
LogLevel StringEnum
LogFormat StringEnum
Output StringEnum
TimeFormat StringEnum
Color StringEnum
NoJsonShorthandPayloads bool
CommandTimeout Duration
}
func NewTemporalCommand ¶
func NewTemporalCommand(cctx *CommandContext) *TemporalCommand
type TemporalEnvCommand ¶
type TemporalEnvCommand struct {
Parent *TemporalCommand
Command cobra.Command
}
func NewTemporalEnvCommand ¶
func NewTemporalEnvCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalEnvCommand
type TemporalEnvDeleteCommand ¶
type TemporalEnvDeleteCommand struct {
Parent *TemporalEnvCommand
Command cobra.Command
Key string
}
func NewTemporalEnvDeleteCommand ¶
func NewTemporalEnvDeleteCommand(cctx *CommandContext, parent *TemporalEnvCommand) *TemporalEnvDeleteCommand
type TemporalEnvGetCommand ¶
type TemporalEnvGetCommand struct {
Parent *TemporalEnvCommand
Command cobra.Command
Key string
}
func NewTemporalEnvGetCommand ¶
func NewTemporalEnvGetCommand(cctx *CommandContext, parent *TemporalEnvCommand) *TemporalEnvGetCommand
type TemporalEnvListCommand ¶
type TemporalEnvListCommand struct {
Parent *TemporalEnvCommand
Command cobra.Command
}
func NewTemporalEnvListCommand ¶
func NewTemporalEnvListCommand(cctx *CommandContext, parent *TemporalEnvCommand) *TemporalEnvListCommand
type TemporalEnvSetCommand ¶
type TemporalEnvSetCommand struct {
Parent *TemporalEnvCommand
Command cobra.Command
Key string
Value string
}
func NewTemporalEnvSetCommand ¶
func NewTemporalEnvSetCommand(cctx *CommandContext, parent *TemporalEnvCommand) *TemporalEnvSetCommand
type TemporalOperatorClusterCommand ¶
type TemporalOperatorClusterCommand struct {
Parent *TemporalOperatorCommand
Command cobra.Command
}
func NewTemporalOperatorClusterCommand ¶
func NewTemporalOperatorClusterCommand(cctx *CommandContext, parent *TemporalOperatorCommand) *TemporalOperatorClusterCommand
type TemporalOperatorClusterDescribeCommand ¶
type TemporalOperatorClusterDescribeCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
Detail bool
}
func NewTemporalOperatorClusterDescribeCommand ¶
func NewTemporalOperatorClusterDescribeCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterDescribeCommand
type TemporalOperatorClusterHealthCommand ¶
type TemporalOperatorClusterHealthCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
}
func NewTemporalOperatorClusterHealthCommand ¶
func NewTemporalOperatorClusterHealthCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterHealthCommand
type TemporalOperatorClusterListCommand ¶
type TemporalOperatorClusterListCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
Limit int
}
func NewTemporalOperatorClusterListCommand ¶
func NewTemporalOperatorClusterListCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterListCommand
type TemporalOperatorClusterRemoveCommand ¶
type TemporalOperatorClusterRemoveCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
Name string
}
func NewTemporalOperatorClusterRemoveCommand ¶
func NewTemporalOperatorClusterRemoveCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterRemoveCommand
type TemporalOperatorClusterSystemCommand ¶
type TemporalOperatorClusterSystemCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
}
func NewTemporalOperatorClusterSystemCommand ¶
func NewTemporalOperatorClusterSystemCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterSystemCommand
type TemporalOperatorClusterUpsertCommand ¶
type TemporalOperatorClusterUpsertCommand struct {
Parent *TemporalOperatorClusterCommand
Command cobra.Command
FrontendAddress string
EnableConnection bool
}
func NewTemporalOperatorClusterUpsertCommand ¶
func NewTemporalOperatorClusterUpsertCommand(cctx *CommandContext, parent *TemporalOperatorClusterCommand) *TemporalOperatorClusterUpsertCommand
type TemporalOperatorCommand ¶
type TemporalOperatorCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalOperatorCommand ¶
func NewTemporalOperatorCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalOperatorCommand
type TemporalOperatorNamespaceCommand ¶
type TemporalOperatorNamespaceCommand struct {
Parent *TemporalOperatorCommand
Command cobra.Command
}
func NewTemporalOperatorNamespaceCommand ¶
func NewTemporalOperatorNamespaceCommand(cctx *CommandContext, parent *TemporalOperatorCommand) *TemporalOperatorNamespaceCommand
type TemporalOperatorNamespaceCreateCommand ¶
type TemporalOperatorNamespaceCreateCommand struct {
Parent *TemporalOperatorNamespaceCommand
Command cobra.Command
ActiveCluster string
Cluster []string
Data []string
Description string
Email string
Global bool
HistoryArchivalState StringEnum
HistoryUri string
Retention Duration
VisibilityArchivalState StringEnum
VisibilityUri string
}
func NewTemporalOperatorNamespaceCreateCommand ¶
func NewTemporalOperatorNamespaceCreateCommand(cctx *CommandContext, parent *TemporalOperatorNamespaceCommand) *TemporalOperatorNamespaceCreateCommand
type TemporalOperatorNamespaceDeleteCommand ¶
type TemporalOperatorNamespaceDeleteCommand struct {
Parent *TemporalOperatorNamespaceCommand
Command cobra.Command
Yes bool
}
func NewTemporalOperatorNamespaceDeleteCommand ¶
func NewTemporalOperatorNamespaceDeleteCommand(cctx *CommandContext, parent *TemporalOperatorNamespaceCommand) *TemporalOperatorNamespaceDeleteCommand
type TemporalOperatorNamespaceDescribeCommand ¶
type TemporalOperatorNamespaceDescribeCommand struct {
Parent *TemporalOperatorNamespaceCommand
Command cobra.Command
NamespaceId string
}
func NewTemporalOperatorNamespaceDescribeCommand ¶
func NewTemporalOperatorNamespaceDescribeCommand(cctx *CommandContext, parent *TemporalOperatorNamespaceCommand) *TemporalOperatorNamespaceDescribeCommand
type TemporalOperatorNamespaceListCommand ¶
type TemporalOperatorNamespaceListCommand struct {
Parent *TemporalOperatorNamespaceCommand
Command cobra.Command
}
func NewTemporalOperatorNamespaceListCommand ¶
func NewTemporalOperatorNamespaceListCommand(cctx *CommandContext, parent *TemporalOperatorNamespaceCommand) *TemporalOperatorNamespaceListCommand
type TemporalOperatorNamespaceUpdateCommand ¶
type TemporalOperatorNamespaceUpdateCommand struct {
Parent *TemporalOperatorNamespaceCommand
Command cobra.Command
ActiveCluster string
Cluster []string
Data []string
Description string
Email string
PromoteGlobal bool
HistoryArchivalState StringEnum
HistoryUri string
Retention Duration
VisibilityArchivalState StringEnum
VisibilityUri string
}
func NewTemporalOperatorNamespaceUpdateCommand ¶
func NewTemporalOperatorNamespaceUpdateCommand(cctx *CommandContext, parent *TemporalOperatorNamespaceCommand) *TemporalOperatorNamespaceUpdateCommand
type TemporalOperatorNexusCommand ¶ added in v1.1.0
type TemporalOperatorNexusCommand struct {
Parent *TemporalOperatorCommand
Command cobra.Command
}
func NewTemporalOperatorNexusCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusCommand(cctx *CommandContext, parent *TemporalOperatorCommand) *TemporalOperatorNexusCommand
type TemporalOperatorNexusEndpointCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointCommand struct {
Parent *TemporalOperatorNexusCommand
Command cobra.Command
}
func NewTemporalOperatorNexusEndpointCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointCommand(cctx *CommandContext, parent *TemporalOperatorNexusCommand) *TemporalOperatorNexusEndpointCommand
type TemporalOperatorNexusEndpointCreateCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointCreateCommand struct {
Parent *TemporalOperatorNexusEndpointCommand
Command cobra.Command
NexusEndpointIdentityOptions
NexusEndpointConfigOptions
}
func NewTemporalOperatorNexusEndpointCreateCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointCreateCommand(cctx *CommandContext, parent *TemporalOperatorNexusEndpointCommand) *TemporalOperatorNexusEndpointCreateCommand
type TemporalOperatorNexusEndpointDeleteCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointDeleteCommand struct {
Parent *TemporalOperatorNexusEndpointCommand
Command cobra.Command
NexusEndpointIdentityOptions
}
func NewTemporalOperatorNexusEndpointDeleteCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointDeleteCommand(cctx *CommandContext, parent *TemporalOperatorNexusEndpointCommand) *TemporalOperatorNexusEndpointDeleteCommand
type TemporalOperatorNexusEndpointGetCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointGetCommand struct {
Parent *TemporalOperatorNexusEndpointCommand
Command cobra.Command
NexusEndpointIdentityOptions
}
func NewTemporalOperatorNexusEndpointGetCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointGetCommand(cctx *CommandContext, parent *TemporalOperatorNexusEndpointCommand) *TemporalOperatorNexusEndpointGetCommand
type TemporalOperatorNexusEndpointListCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointListCommand struct {
Parent *TemporalOperatorNexusEndpointCommand
Command cobra.Command
}
func NewTemporalOperatorNexusEndpointListCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointListCommand(cctx *CommandContext, parent *TemporalOperatorNexusEndpointCommand) *TemporalOperatorNexusEndpointListCommand
type TemporalOperatorNexusEndpointUpdateCommand ¶ added in v1.1.0
type TemporalOperatorNexusEndpointUpdateCommand struct {
Parent *TemporalOperatorNexusEndpointCommand
Command cobra.Command
NexusEndpointIdentityOptions
NexusEndpointConfigOptions
UnsetDescription bool
}
func NewTemporalOperatorNexusEndpointUpdateCommand ¶ added in v1.1.0
func NewTemporalOperatorNexusEndpointUpdateCommand(cctx *CommandContext, parent *TemporalOperatorNexusEndpointCommand) *TemporalOperatorNexusEndpointUpdateCommand
type TemporalOperatorSearchAttributeCommand ¶
type TemporalOperatorSearchAttributeCommand struct {
Parent *TemporalOperatorCommand
Command cobra.Command
}
func NewTemporalOperatorSearchAttributeCommand ¶
func NewTemporalOperatorSearchAttributeCommand(cctx *CommandContext, parent *TemporalOperatorCommand) *TemporalOperatorSearchAttributeCommand
type TemporalOperatorSearchAttributeCreateCommand ¶
type TemporalOperatorSearchAttributeCreateCommand struct {
Parent *TemporalOperatorSearchAttributeCommand
Command cobra.Command
Name []string
Type StringEnumArray
}
func NewTemporalOperatorSearchAttributeCreateCommand ¶
func NewTemporalOperatorSearchAttributeCreateCommand(cctx *CommandContext, parent *TemporalOperatorSearchAttributeCommand) *TemporalOperatorSearchAttributeCreateCommand
type TemporalOperatorSearchAttributeListCommand ¶
type TemporalOperatorSearchAttributeListCommand struct {
Parent *TemporalOperatorSearchAttributeCommand
Command cobra.Command
}
func NewTemporalOperatorSearchAttributeListCommand ¶
func NewTemporalOperatorSearchAttributeListCommand(cctx *CommandContext, parent *TemporalOperatorSearchAttributeCommand) *TemporalOperatorSearchAttributeListCommand
type TemporalOperatorSearchAttributeRemoveCommand ¶
type TemporalOperatorSearchAttributeRemoveCommand struct {
Parent *TemporalOperatorSearchAttributeCommand
Command cobra.Command
Name []string
Yes bool
}
func NewTemporalOperatorSearchAttributeRemoveCommand ¶
func NewTemporalOperatorSearchAttributeRemoveCommand(cctx *CommandContext, parent *TemporalOperatorSearchAttributeCommand) *TemporalOperatorSearchAttributeRemoveCommand
type TemporalScheduleBackfillCommand ¶
type TemporalScheduleBackfillCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
OverlapPolicyOptions
ScheduleIdOptions
EndTime Timestamp
StartTime Timestamp
}
func NewTemporalScheduleBackfillCommand ¶
func NewTemporalScheduleBackfillCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleBackfillCommand
type TemporalScheduleCommand ¶
type TemporalScheduleCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalScheduleCommand ¶
func NewTemporalScheduleCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalScheduleCommand
type TemporalScheduleCreateCommand ¶
type TemporalScheduleCreateCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleConfigurationOptions
ScheduleIdOptions
OverlapPolicyOptions
PayloadInputOptions
}
func NewTemporalScheduleCreateCommand ¶
func NewTemporalScheduleCreateCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleCreateCommand
type TemporalScheduleDeleteCommand ¶
type TemporalScheduleDeleteCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleIdOptions
}
func NewTemporalScheduleDeleteCommand ¶
func NewTemporalScheduleDeleteCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleDeleteCommand
type TemporalScheduleDescribeCommand ¶
type TemporalScheduleDescribeCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleIdOptions
}
func NewTemporalScheduleDescribeCommand ¶
func NewTemporalScheduleDescribeCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleDescribeCommand
type TemporalScheduleListCommand ¶
type TemporalScheduleListCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
Long bool
ReallyLong bool
Query string
}
func NewTemporalScheduleListCommand ¶
func NewTemporalScheduleListCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleListCommand
type TemporalScheduleToggleCommand ¶
type TemporalScheduleToggleCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleIdOptions
Pause bool
Reason string
Unpause bool
}
func NewTemporalScheduleToggleCommand ¶
func NewTemporalScheduleToggleCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleToggleCommand
type TemporalScheduleTriggerCommand ¶
type TemporalScheduleTriggerCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleIdOptions
OverlapPolicyOptions
}
func NewTemporalScheduleTriggerCommand ¶
func NewTemporalScheduleTriggerCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleTriggerCommand
type TemporalScheduleUpdateCommand ¶
type TemporalScheduleUpdateCommand struct {
Parent *TemporalScheduleCommand
Command cobra.Command
ScheduleConfigurationOptions
ScheduleIdOptions
OverlapPolicyOptions
PayloadInputOptions
}
func NewTemporalScheduleUpdateCommand ¶
func NewTemporalScheduleUpdateCommand(cctx *CommandContext, parent *TemporalScheduleCommand) *TemporalScheduleUpdateCommand
type TemporalServerCommand ¶
type TemporalServerCommand struct {
Parent *TemporalCommand
Command cobra.Command
}
func NewTemporalServerCommand ¶
func NewTemporalServerCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalServerCommand
type TemporalServerStartDevCommand ¶
type TemporalServerStartDevCommand struct {
Parent *TemporalServerCommand
Command cobra.Command
DbFilename string
Namespace []string
Port int
HttpPort int
MetricsPort int
UiPort int
Headless bool
Ip string
UiIp string
UiPublicPath string
UiAssetPath string
UiCodecEndpoint string
SqlitePragma []string
DynamicConfigValue []string
LogConfig bool
SearchAttribute []string
}
func NewTemporalServerStartDevCommand ¶
func NewTemporalServerStartDevCommand(cctx *CommandContext, parent *TemporalServerCommand) *TemporalServerStartDevCommand
type TemporalTaskQueueCommand ¶
type TemporalTaskQueueCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalTaskQueueCommand ¶
func NewTemporalTaskQueueCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalTaskQueueCommand
type TemporalTaskQueueDescribeCommand ¶
type TemporalTaskQueueDescribeCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
TaskQueue string
TaskQueueType StringEnumArray
SelectBuildId []string
SelectUnversioned bool
SelectAllActive bool
ReportReachability bool
LegacyMode bool
TaskQueueTypeLegacy StringEnum
PartitionsLegacy int
DisableStats bool
}
func NewTemporalTaskQueueDescribeCommand ¶
func NewTemporalTaskQueueDescribeCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueDescribeCommand
type TemporalTaskQueueGetBuildIdReachabilityCommand ¶
type TemporalTaskQueueGetBuildIdReachabilityCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
BuildId []string
ReachabilityType StringEnum
TaskQueue []string
}
func NewTemporalTaskQueueGetBuildIdReachabilityCommand ¶
func NewTemporalTaskQueueGetBuildIdReachabilityCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueGetBuildIdReachabilityCommand
type TemporalTaskQueueGetBuildIdsCommand ¶
type TemporalTaskQueueGetBuildIdsCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
TaskQueue string
MaxSets int
}
func NewTemporalTaskQueueGetBuildIdsCommand ¶
func NewTemporalTaskQueueGetBuildIdsCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueGetBuildIdsCommand
type TemporalTaskQueueListPartitionCommand ¶
type TemporalTaskQueueListPartitionCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
TaskQueue string
}
func NewTemporalTaskQueueListPartitionCommand ¶
func NewTemporalTaskQueueListPartitionCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueListPartitionCommand
type TemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand ¶
type TemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand struct {
Parent *TemporalTaskQueueUpdateBuildIdsCommand
Command cobra.Command
BuildId string
TaskQueue string
ExistingCompatibleBuildId string
SetAsDefault bool
}
func NewTemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand ¶
func NewTemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand(cctx *CommandContext, parent *TemporalTaskQueueUpdateBuildIdsCommand) *TemporalTaskQueueUpdateBuildIdsAddNewCompatibleCommand
type TemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand ¶
type TemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand struct {
Parent *TemporalTaskQueueUpdateBuildIdsCommand
Command cobra.Command
BuildId string
TaskQueue string
}
func NewTemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand ¶
func NewTemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand(cctx *CommandContext, parent *TemporalTaskQueueUpdateBuildIdsCommand) *TemporalTaskQueueUpdateBuildIdsAddNewDefaultCommand
type TemporalTaskQueueUpdateBuildIdsCommand ¶
type TemporalTaskQueueUpdateBuildIdsCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
}
func NewTemporalTaskQueueUpdateBuildIdsCommand ¶
func NewTemporalTaskQueueUpdateBuildIdsCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueUpdateBuildIdsCommand
type TemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand ¶
type TemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand struct {
Parent *TemporalTaskQueueUpdateBuildIdsCommand
Command cobra.Command
BuildId string
TaskQueue string
}
func NewTemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand ¶
func NewTemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand(cctx *CommandContext, parent *TemporalTaskQueueUpdateBuildIdsCommand) *TemporalTaskQueueUpdateBuildIdsPromoteIdInSetCommand
type TemporalTaskQueueUpdateBuildIdsPromoteSetCommand ¶
type TemporalTaskQueueUpdateBuildIdsPromoteSetCommand struct {
Parent *TemporalTaskQueueUpdateBuildIdsCommand
Command cobra.Command
BuildId string
TaskQueue string
}
func NewTemporalTaskQueueUpdateBuildIdsPromoteSetCommand ¶
func NewTemporalTaskQueueUpdateBuildIdsPromoteSetCommand(cctx *CommandContext, parent *TemporalTaskQueueUpdateBuildIdsCommand) *TemporalTaskQueueUpdateBuildIdsPromoteSetCommand
type TemporalTaskQueueVersioningAddRedirectRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningAddRedirectRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
SourceBuildId string
TargetBuildId string
Yes bool
}
func NewTemporalTaskQueueVersioningAddRedirectRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningAddRedirectRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningAddRedirectRuleCommand
type TemporalTaskQueueVersioningCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningCommand struct {
Parent *TemporalTaskQueueCommand
Command cobra.Command
TaskQueue string
}
func NewTemporalTaskQueueVersioningCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningCommand(cctx *CommandContext, parent *TemporalTaskQueueCommand) *TemporalTaskQueueVersioningCommand
type TemporalTaskQueueVersioningCommitBuildIdCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningCommitBuildIdCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
BuildId string
Force bool
Yes bool
}
func NewTemporalTaskQueueVersioningCommitBuildIdCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningCommitBuildIdCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningCommitBuildIdCommand
type TemporalTaskQueueVersioningDeleteAssignmentRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningDeleteAssignmentRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
RuleIndex int
Force bool
Yes bool
}
func NewTemporalTaskQueueVersioningDeleteAssignmentRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningDeleteAssignmentRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningDeleteAssignmentRuleCommand
type TemporalTaskQueueVersioningDeleteRedirectRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningDeleteRedirectRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
SourceBuildId string
Yes bool
}
func NewTemporalTaskQueueVersioningDeleteRedirectRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningDeleteRedirectRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningDeleteRedirectRuleCommand
type TemporalTaskQueueVersioningGetRulesCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningGetRulesCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
}
func NewTemporalTaskQueueVersioningGetRulesCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningGetRulesCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningGetRulesCommand
type TemporalTaskQueueVersioningInsertAssignmentRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningInsertAssignmentRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
BuildId string
RuleIndex int
Percentage int
Yes bool
}
func NewTemporalTaskQueueVersioningInsertAssignmentRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningInsertAssignmentRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningInsertAssignmentRuleCommand
type TemporalTaskQueueVersioningReplaceAssignmentRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningReplaceAssignmentRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
BuildId string
RuleIndex int
Percentage int
Yes bool
Force bool
}
func NewTemporalTaskQueueVersioningReplaceAssignmentRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningReplaceAssignmentRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningReplaceAssignmentRuleCommand
type TemporalTaskQueueVersioningReplaceRedirectRuleCommand ¶ added in v0.13.1
type TemporalTaskQueueVersioningReplaceRedirectRuleCommand struct {
Parent *TemporalTaskQueueVersioningCommand
Command cobra.Command
SourceBuildId string
TargetBuildId string
Yes bool
}
func NewTemporalTaskQueueVersioningReplaceRedirectRuleCommand ¶ added in v0.13.1
func NewTemporalTaskQueueVersioningReplaceRedirectRuleCommand(cctx *CommandContext, parent *TemporalTaskQueueVersioningCommand) *TemporalTaskQueueVersioningReplaceRedirectRuleCommand
type TemporalWorkflowCancelCommand ¶
type TemporalWorkflowCancelCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
SingleWorkflowOrBatchOptions
}
func NewTemporalWorkflowCancelCommand ¶
func NewTemporalWorkflowCancelCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowCancelCommand
type TemporalWorkflowCommand ¶
type TemporalWorkflowCommand struct {
Parent *TemporalCommand
Command cobra.Command
ClientOptions
}
func NewTemporalWorkflowCommand ¶
func NewTemporalWorkflowCommand(cctx *CommandContext, parent *TemporalCommand) *TemporalWorkflowCommand
type TemporalWorkflowCountCommand ¶
type TemporalWorkflowCountCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
Query string
}
func NewTemporalWorkflowCountCommand ¶
func NewTemporalWorkflowCountCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowCountCommand
type TemporalWorkflowDeleteCommand ¶
type TemporalWorkflowDeleteCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
SingleWorkflowOrBatchOptions
}
func NewTemporalWorkflowDeleteCommand ¶
func NewTemporalWorkflowDeleteCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowDeleteCommand
type TemporalWorkflowDescribeCommand ¶
type TemporalWorkflowDescribeCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowReferenceOptions
ResetPoints bool
Raw bool
}
func NewTemporalWorkflowDescribeCommand ¶
func NewTemporalWorkflowDescribeCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowDescribeCommand
type TemporalWorkflowExecuteCommand ¶
type TemporalWorkflowExecuteCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowStartOptions
PayloadInputOptions
Detailed bool
}
func NewTemporalWorkflowExecuteCommand ¶
func NewTemporalWorkflowExecuteCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowExecuteCommand
type TemporalWorkflowFixHistoryJsonCommand ¶
type TemporalWorkflowFixHistoryJsonCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
Source string
Target string
}
func NewTemporalWorkflowFixHistoryJsonCommand ¶
func NewTemporalWorkflowFixHistoryJsonCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowFixHistoryJsonCommand
type TemporalWorkflowListCommand ¶
type TemporalWorkflowListCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
Query string
Archived bool
Limit int
}
func NewTemporalWorkflowListCommand ¶
func NewTemporalWorkflowListCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowListCommand
type TemporalWorkflowQueryCommand ¶
type TemporalWorkflowQueryCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
PayloadInputOptions
WorkflowReferenceOptions
Name string
RejectCondition StringEnum
}
func NewTemporalWorkflowQueryCommand ¶
func NewTemporalWorkflowQueryCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowQueryCommand
type TemporalWorkflowResetCommand ¶
type TemporalWorkflowResetCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowId string
RunId string
EventId int
Reason string
ReapplyType StringEnum
ReapplyExclude StringEnumArray
Type StringEnum
BuildId string
Query string
Yes bool
}
func NewTemporalWorkflowResetCommand ¶
func NewTemporalWorkflowResetCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowResetCommand
type TemporalWorkflowResultCommand ¶ added in v1.1.0
type TemporalWorkflowResultCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowReferenceOptions
}
func NewTemporalWorkflowResultCommand ¶ added in v1.1.0
func NewTemporalWorkflowResultCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowResultCommand
type TemporalWorkflowShowCommand ¶
type TemporalWorkflowShowCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowReferenceOptions
Follow bool
Detailed bool
}
func NewTemporalWorkflowShowCommand ¶
func NewTemporalWorkflowShowCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowShowCommand
type TemporalWorkflowSignalCommand ¶
type TemporalWorkflowSignalCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
SingleWorkflowOrBatchOptions
PayloadInputOptions
Name string
}
func NewTemporalWorkflowSignalCommand ¶
func NewTemporalWorkflowSignalCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowSignalCommand
type TemporalWorkflowStackCommand ¶
type TemporalWorkflowStackCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowReferenceOptions
RejectCondition StringEnum
}
func NewTemporalWorkflowStackCommand ¶
func NewTemporalWorkflowStackCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowStackCommand
type TemporalWorkflowStartCommand ¶
type TemporalWorkflowStartCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowStartOptions
PayloadInputOptions
}
func NewTemporalWorkflowStartCommand ¶
func NewTemporalWorkflowStartCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowStartCommand
type TemporalWorkflowTerminateCommand ¶
type TemporalWorkflowTerminateCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowId string
Query string
RunId string
Reason string
Yes bool
Rps float32
}
func NewTemporalWorkflowTerminateCommand ¶
func NewTemporalWorkflowTerminateCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowTerminateCommand
type TemporalWorkflowTraceCommand ¶
type TemporalWorkflowTraceCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
WorkflowReferenceOptions
Fold []string
NoFold bool
Depth int
Concurrency int
}
func NewTemporalWorkflowTraceCommand ¶
func NewTemporalWorkflowTraceCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowTraceCommand
type TemporalWorkflowUpdateCommand ¶
type TemporalWorkflowUpdateCommand struct {
Parent *TemporalWorkflowCommand
Command cobra.Command
}
func NewTemporalWorkflowUpdateCommand ¶
func NewTemporalWorkflowUpdateCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowUpdateCommand
type TemporalWorkflowUpdateDescribeCommand ¶ added in v1.1.0
type TemporalWorkflowUpdateDescribeCommand struct {
Parent *TemporalWorkflowUpdateCommand
Command cobra.Command
UpdateTargetingOptions
}
func NewTemporalWorkflowUpdateDescribeCommand ¶ added in v1.1.0
func NewTemporalWorkflowUpdateDescribeCommand(cctx *CommandContext, parent *TemporalWorkflowUpdateCommand) *TemporalWorkflowUpdateDescribeCommand
type TemporalWorkflowUpdateExecuteCommand ¶ added in v1.1.0
type TemporalWorkflowUpdateExecuteCommand struct {
Parent *TemporalWorkflowUpdateCommand
Command cobra.Command
UpdateStartingOptions
PayloadInputOptions
}
func NewTemporalWorkflowUpdateExecuteCommand ¶ added in v1.1.0
func NewTemporalWorkflowUpdateExecuteCommand(cctx *CommandContext, parent *TemporalWorkflowUpdateCommand) *TemporalWorkflowUpdateExecuteCommand
type TemporalWorkflowUpdateResultCommand ¶ added in v1.1.0
type TemporalWorkflowUpdateResultCommand struct {
Parent *TemporalWorkflowUpdateCommand
Command cobra.Command
UpdateTargetingOptions
}
func NewTemporalWorkflowUpdateResultCommand ¶ added in v1.1.0
func NewTemporalWorkflowUpdateResultCommand(cctx *CommandContext, parent *TemporalWorkflowUpdateCommand) *TemporalWorkflowUpdateResultCommand
type TemporalWorkflowUpdateStartCommand ¶ added in v1.1.0
type TemporalWorkflowUpdateStartCommand struct {
Parent *TemporalWorkflowUpdateCommand
Command cobra.Command
UpdateStartingOptions
PayloadInputOptions
WaitForStage StringEnum
}
func NewTemporalWorkflowUpdateStartCommand ¶ added in v1.1.0
func NewTemporalWorkflowUpdateStartCommand(cctx *CommandContext, parent *TemporalWorkflowUpdateCommand) *TemporalWorkflowUpdateStartCommand
type UpdateStartingOptions ¶ added in v1.1.0
type UpdateTargetingOptions ¶ added in v1.1.0
type WorkflowStartOptions ¶
type WorkflowStartOptions struct {
Cron string
FailExisting bool
StartDelay Duration
IdReusePolicy StringEnum
IdConflictPolicy StringEnum
}
Source Files
¶
- client.go
- commands.activity.go
- commands.batch.go
- commands.env.go
- commands.gen.go
- commands.go
- commands.operator_cluster.go
- commands.operator_namespace.go
- commands.operator_nexus.go
- commands.operator_search_attribute.go
- commands.schedule.go
- commands.server.go
- commands.taskqueue.go
- commands.taskqueue_get_build_id.go
- commands.taskqueue_update_build_ids.go
- commands.taskqueue_versioning_rules.go
- commands.workflow.go
- commands.workflow_exec.go
- commands.workflow_fix.go
- commands.workflow_reset.go
- commands.workflow_trace.go
- commands.workflow_view.go
- duration.go
- payload.go
- strings.go
- timestamp.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package commandsgen is built to read the YAML format described in temporalcli/commandsgen/commands.yml and generate code from it.
|
Package commandsgen is built to read the YAML format described in temporalcli/commandsgen/commands.yml and generate code from it. |
|
internal
|
|
|
cmd/gen-commands
command
|
|
|
cmd/gen-docs
command
|
|
|
printer/test
command
|
|