Documentation ¶
Index ¶
- func NewApplicationWorkflowOperator(cli client.Client, w io.Writer, app *v1beta1.Application) wfUtils.WorkflowOperator
- func NewApplicationWorkflowStepOperator(cli client.Client, w io.Writer, app *v1beta1.Application) wfUtils.WorkflowStepOperator
- func ResumeWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application, ...) error
- func SuspendWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application, ...) error
- func TerminateWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationWorkflowOperator ¶ added in v1.6.0
func NewApplicationWorkflowOperator(cli client.Client, w io.Writer, app *v1beta1.Application) wfUtils.WorkflowOperator
NewApplicationWorkflowOperator get an workflow operator with k8sClient, ioWriter(optional, useful for cli) and application
func NewApplicationWorkflowStepOperator ¶ added in v1.8.0
func NewApplicationWorkflowStepOperator(cli client.Client, w io.Writer, app *v1beta1.Application) wfUtils.WorkflowStepOperator
NewApplicationWorkflowStepOperator get an workflow step operator with k8sClient, ioWriter(optional, useful for cli) and application
func ResumeWorkflow ¶ added in v1.8.0
func ResumeWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application, stepName string) error
ResumeWorkflow resume workflow
func SuspendWorkflow ¶ added in v1.8.0
func SuspendWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application, stepName string) error
SuspendWorkflow suspend workflow
func TerminateWorkflow ¶ added in v1.8.0
TerminateWorkflow terminate workflow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.