commands

package
v2.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	// Global CLI flags
	GlobalArgs globalFlags
)
View Source
var RootCmd = &cobra.Command{
	Use:   CLIName,
	Short: "argoexec is executor sidekick to workflow containers",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.HelpFunc()(cmd, args)
	},
}

RootCmd is the argo root level command

Functions

func GetTemplateFromPodAnnotations

func GetTemplateFromPodAnnotations(annotationsPath string, template *wfv1.Template) error

Open the Kubernetes downward api file and read the pod annotation file that contains template and then unmarshal the template

Types

This section is empty.

Jump to

Keyboard shortcuts

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