Documentation ¶
Index ¶
- Constants
- func GetWFApiServerGRPCClient(conn *grpc.ClientConn) (workflow.WorkflowServiceClient, context.Context)
- func InitKubeClient() *kubernetes.Clientset
- func InitWorkflowClient(ns ...string) v1alpha1.WorkflowInterface
- func NewCommand() *cobra.Command
- func NewCompletionCommand() *cobra.Command
- func NewDeleteCommand() *cobra.Command
- func NewGetCommand() *cobra.Command
- func NewLintCommand() *cobra.Command
- func NewListCommand() *cobra.Command
- func NewLogsCommand() *cobra.Command
- func NewResubmitCommand() *cobra.Command
- func NewResumeCommand() *cobra.Command
- func NewRetryCommand() *cobra.Command
- func NewServerCommand() *cobra.Command
- func NewSubmitCommand() *cobra.Command
- func NewSuspendCommand() *cobra.Command
- func NewTerminateCommand() *cobra.Command
- func NewWaitCommand() *cobra.Command
- func NewWatchCommand() *cobra.Command
- func SubmitWorkflows(filePaths []string, submitOpts *util.SubmitOpts, cliOpts *cliSubmitOpts)
- func WaitWorkflows(workflowNames []string, ignoreNotFound, quiet bool)
- type LazyWorkflowTemplateGetter
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 InitWorkflowClient ¶
func InitWorkflowClient(ns ...string) v1alpha1.WorkflowInterface
InitWorkflowClient creates a new client for the Kubernetes Workflow CRD. DEPRECATED
func NewCommand ¶
NewCommand returns a new instance of an argo command
func NewCompletionCommand ¶
func NewDeleteCommand ¶
NewDeleteCommand returns a new instance of an `argo delete` command
func NewGetCommand ¶
func NewLintCommand ¶
func NewListCommand ¶
func NewLogsCommand ¶
func NewResubmitCommand ¶
func NewResumeCommand ¶
func NewRetryCommand ¶
func NewServerCommand ¶
func NewSubmitCommand ¶
func NewSuspendCommand ¶
func NewTerminateCommand ¶
func NewWaitCommand ¶
func NewWatchCommand ¶
func SubmitWorkflows ¶
func SubmitWorkflows(filePaths []string, submitOpts *util.SubmitOpts, cliOpts *cliSubmitOpts)
func WaitWorkflows ¶
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 ¶
func (c LazyWorkflowTemplateGetter) Get(name string) (*wfv1.WorkflowTemplate, error)
Get initializes it just before it's actually used and returns a retrieved workflow template. DEPRECATED
Source Files ¶
Click to show internal directories.
Click to hide internal directories.