Documentation
¶
Index ¶
- Constants
- func Break(_ context.Context, params *ActionParams) (*any, error)
- func Fail(_ context.Context, params *ActionParams) (*any, error)
- func GetProviders() map[string]cuexruntime.ProviderFn
- func GetTemplate() string
- func Message(_ context.Context, params *ActionParams) (*any, error)
- func Suspend(_ context.Context, params *SuspendParams) (*any, error)
- func Wait(_ context.Context, params *WaitParams) (*any, error)
- type ActionParams
- type ActionVars
- type SuspendParams
- type SuspendVars
- type VarParams
- type VarReturnVars
- type VarReturns
- type VarVars
- type WaitParams
- type WaitVars
Constants ¶
View Source
const ( // ProviderName is provider name. ProviderName = "builtin" // ResumeTimeStamp is resume time stamp. ResumeTimeStamp = "resumeTimeStamp" // SuspendTimeStamp is suspend time stamp. SuspendTimeStamp = "suspendTimeStamp" )
Variables ¶
This section is empty.
Functions ¶
func Break ¶
func Break(_ context.Context, params *ActionParams) (*any, error)
Break let workflow terminate.
func Fail ¶
func Fail(_ context.Context, params *ActionParams) (*any, error)
Fail let the step fail, its status is failed and reason is Action
func GetProviders ¶
func GetProviders() map[string]cuexruntime.ProviderFn
GetProviders returns the cue providers.
func Message ¶
func Message(_ context.Context, params *ActionParams) (*any, error)
Message writes message to step status, note that the message will be overwritten by the next message.
Types ¶
type SuspendVars ¶
type SuspendVars struct {
Duration string `json:"duration,omitempty"`
ActionVars
}
SuspendVars .
Click to show internal directories.
Click to hide internal directories.