Documentation ¶
Index ¶
- func CreateWorkflowTemplates(filePaths []string, cliOpts *cliCreateOpts)
- func GetWFtmplApiServerGRPCClient(conn *grpc.ClientConn) (workflowtemplate.WorkflowTemplateServiceClient, context.Context)
- func InitWorkflowTemplateClient(ns ...string) v1alpha1.WorkflowTemplateInterface
- func NewCreateCommand() *cobra.Command
- func NewDeleteCommand() *cobra.Command
- func NewGetCommand() *cobra.Command
- func NewLintCommand() *cobra.Command
- func NewListCommand() *cobra.Command
- func NewTemplateCommand() *cobra.Command
- func ServerLintValidation(ctx context.Context, client workflowtemplatepkg.WorkflowTemplateServiceClient, ...) error
- func ServerSideLint(args []string, conn *grpc.ClientConn, strict bool) error
- type LazyWorkflowTemplateGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWorkflowTemplates ¶
func CreateWorkflowTemplates(filePaths []string, cliOpts *cliCreateOpts)
func GetWFtmplApiServerGRPCClient ¶
func GetWFtmplApiServerGRPCClient(conn *grpc.ClientConn) (workflowtemplate.WorkflowTemplateServiceClient, context.Context)
DEPRECATED
func InitWorkflowTemplateClient ¶
func InitWorkflowTemplateClient(ns ...string) v1alpha1.WorkflowTemplateInterface
InitWorkflowTemplateClient creates a new client for the Kubernetes WorkflowTemplate CRD. DEPRECATED
func NewCreateCommand ¶
func NewDeleteCommand ¶
NewDeleteCommand returns a new instance of an `argo delete` command
func NewGetCommand ¶
func NewLintCommand ¶
func NewListCommand ¶
func NewTemplateCommand ¶
func ServerLintValidation ¶
func ServerLintValidation(ctx context.Context, client workflowtemplatepkg.WorkflowTemplateServiceClient, wfTmpl wfv1.WorkflowTemplate, ns string) error
func ServerSideLint ¶
func ServerSideLint(args []string, conn *grpc.ClientConn, strict bool) error
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
Click to show internal directories.
Click to hide internal directories.