commands

package
v2.5.0-rc8+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Bold      = 1
	FgBlack   = 30
	FgRed     = 31
	FgGreen   = 32
	FgYellow  = 33
	FgBlue    = 34
	FgMagenta = 35
	FgCyan    = 36
	FgWhite   = 37
	FgDefault = 39
)

ANSI escape codes

View Source
const (
	// CLIName is the name of the CLI
	CLIName = "argo"
)
View Source
const DefaultStatus = ""

Default status for printWorkflow

Variables

This section is empty.

Functions

func GetWFApiServerGRPCClient

func GetWFApiServerGRPCClient(conn *grpc.ClientConn) (workflow.WorkflowServiceClient, context.Context)

DEPRECATED

func InitKubeClient

func InitKubeClient() *kubernetes.Clientset

DEPRECATED

func InitWorkflowClient

func InitWorkflowClient(ns ...string) v1alpha1.WorkflowInterface

InitWorkflowClient creates a new client for the Kubernetes Workflow CRD. DEPRECATED

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a new instance of an argo command

func NewCompletionCommand

func NewCompletionCommand() *cobra.Command

func NewDeleteCommand

func NewDeleteCommand() *cobra.Command

NewDeleteCommand returns a new instance of an `argo delete` command

func NewGetCommand

func NewGetCommand() *cobra.Command

func NewLintCommand

func NewLintCommand() *cobra.Command

func NewListCommand

func NewListCommand() *cobra.Command

func NewLogsCommand

func NewLogsCommand() *cobra.Command

func NewResubmitCommand

func NewResubmitCommand() *cobra.Command

func NewResumeCommand

func NewResumeCommand() *cobra.Command

func NewRetryCommand

func NewRetryCommand() *cobra.Command

func NewServerCommand

func NewServerCommand() *cobra.Command

func NewSubmitCommand

func NewSubmitCommand() *cobra.Command

func NewSuspendCommand

func NewSuspendCommand() *cobra.Command

func NewTerminateCommand

func NewTerminateCommand() *cobra.Command

func NewTokenCommand

func NewTokenCommand() *cobra.Command

func NewWaitCommand

func NewWaitCommand() *cobra.Command

func NewWatchCommand

func NewWatchCommand() *cobra.Command

func ServerLintValidation

func ServerLintValidation(ctx context.Context, client workflow.WorkflowServiceClient, wf v1alpha1.Workflow, ns string) error

func ServerSideLint

func ServerSideLint(arg string, conn *grpc.ClientConn, strict bool) error

func SubmitWorkflows

func SubmitWorkflows(filePaths []string, submitOpts *util.SubmitOpts, cliOpts *cliSubmitOpts)

func WaitWorkflows

func WaitWorkflows(workflowNames []string, ignoreNotFound, quiet bool)

WaitWorkflows waits for the given workflowNames.

Types

type LazyWorkflowTemplateGetter

type LazyWorkflowTemplateGetter struct{}

LazyWorkflowTemplateGetter is a wrapper of v1alpha1.WorkflowTemplateInterface which supports lazy initialization. DEPRECATED

func (LazyWorkflowTemplateGetter) Get

Get initializes it just before it's actually used and returns a retrieved workflow template. DEPRECATED

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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