operation

package
v1.8.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

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

func TerminateWorkflow(ctx context.Context, kubecli client.Client, app *v1beta1.Application) error

TerminateWorkflow terminate workflow

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL