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
- 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 OverlapPolicyOptions
- type PayloadInputOptions
- type RawValue
- type ScheduleConfigurationOptions
- type ScheduleIdOptions
- type SharedWorkflowStartOptions
- type SingleWorkflowOrBatchOptions
- type StringEnum
- 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 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 TemporalWorkflowShowCommand
- type TemporalWorkflowSignalCommand
- type TemporalWorkflowStackCommand
- type TemporalWorkflowStartCommand
- type TemporalWorkflowTerminateCommand
- type TemporalWorkflowTraceCommand
- type TemporalWorkflowUpdateCommand
- type Timestamp
- type WorkflowReferenceOptions
- type WorkflowStartOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var DataConverterWithRawValue = converter.NewCompositeDataConverter( rawValuePayloadConverter{}, converter.NewNilPayloadConverter(), converter.NewByteSlicePayloadConverter(), converter.NewProtoJSONPayloadConverter(), converter.NewProtoPayloadConverter(), converter.NewJSONPayloadConverter(), )
View Source
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.
Types ¶
type ClientOptions ¶
type ClientOptions struct { Address string Namespace string ApiKey string GrpcMeta []string Tls bool TlsCertPath string TlsKeyPath string TlsCaPath string TlsCertData string TlsKeyData 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)
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 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 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 Identity string Result 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 string Output StringEnum TimeFormat StringEnum Color StringEnum NoJsonShorthandPayloads bool }
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 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 []string }
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 }
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 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 []string SelectBuildId []string SelectUnversioned bool SelectAllActive bool ReportReachability bool LegacyMode bool TaskQueueTypeLegacy StringEnum PartitionsLegacy int }
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 Yes bool Force 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 EventDetails 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 []string Type StringEnum BuildId string Query string Yes bool }
func NewTemporalWorkflowResetCommand ¶
func NewTemporalWorkflowResetCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowResetCommand
type TemporalWorkflowShowCommand ¶
type TemporalWorkflowShowCommand struct { Parent *TemporalWorkflowCommand Command cobra.Command WorkflowReferenceOptions Follow bool EventDetails bool }
func NewTemporalWorkflowShowCommand ¶
func NewTemporalWorkflowShowCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowShowCommand
type TemporalWorkflowSignalCommand ¶
type TemporalWorkflowSignalCommand struct { Parent *TemporalWorkflowCommand Command cobra.Command PayloadInputOptions Name string SingleWorkflowOrBatchOptions }
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 RunId string Query string Reason string Yes bool }
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 PayloadInputOptions Name string WorkflowId string UpdateId string RunId string FirstExecutionRunId string }
func NewTemporalWorkflowUpdateCommand ¶
func NewTemporalWorkflowUpdateCommand(cctx *CommandContext, parent *TemporalWorkflowCommand) *TemporalWorkflowUpdateCommand
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_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 commandsmd is built to read the markdown format described in temporalcli/commands.md and generate code from it.
|
Package commandsmd is built to read the markdown format described in temporalcli/commands.md and generate code from it. |
internal
|
|
Click to show internal directories.
Click to hide internal directories.