Documentation ¶
Index ¶
- Constants
- func GetWFApiServerGRPCClient(conn *grpc.ClientConn) (wfApiServer.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 NewTokenCommand() *cobra.Command
- func NewWaitCommand() *cobra.Command
- func NewWatchCommand() *cobra.Command
- func ServerLintValidation(ctx context.Context, client apiServer.WorkflowServiceClient, ...) error
- func ServerSideLint(arg string, conn *grpc.ClientConn, strict bool) error
- 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 ARGO_SERVER_ENV = "ARGO_SERVER"
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) (wfApiServer.WorkflowServiceClient, context.Context)
func InitKubeClient ¶
func InitKubeClient() *kubernetes.Clientset
func InitWorkflowClient ¶
func InitWorkflowClient(ns ...string) v1alpha1.WorkflowInterface
InitWorkflowClient creates a new client for the Kubernetes Workflow CRD.
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 NewTokenCommand ¶
func NewWaitCommand ¶
func NewWatchCommand ¶
func ServerLintValidation ¶
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 ¶
WaitWorkflows waits for the given workflowNames.
Types ¶
type LazyWorkflowTemplateGetter ¶
type LazyWorkflowTemplateGetter struct{}
LazyWorkflowTemplateGetter is a wrapper of v1alpha1.WorkflowTemplateInterface which supports lazy initialization.
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.