Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowOperator ¶
type WorkflowOperator interface {
Suspend(ctx context.Context, app *v1beta1.Application) error
Resume(ctx context.Context, app *v1beta1.Application) error
Rollback(ctx context.Context, app *v1beta1.Application) error
Restart(ctx context.Context, app *v1beta1.Application) error
Terminate(ctx context.Context, app *v1beta1.Application) error
}
WorkflowOperator is opratior handler for workflow's resume/rollback/restart
func NewWorkflowOperator ¶
func NewWorkflowOperator(cli client.Client, w io.Writer) WorkflowOperator
NewWorkflowOperator get an workflow operator with k8sClient and ioWriter(optional, useful for cli)
Click to show internal directories.
Click to hide internal directories.