cmd

package
v0.0.0-...-58a0043 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerRegexCmd = &cobra.Command{
	Use:   "docker-regex",
	Short: "docker utility based on regexes",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}
View Source
var DockerRegexImagesCmd = &cobra.Command{
	Use:  "images <REGEX>",
	Args: cobra.ExactArgs(1),
	RunE: listImages,
}
View Source
var DockerRegexLabelImagesCmd = &cobra.Command{
	Use:  "label-images <REGEX>",
	Args: cobra.ExactArgs(1),
	RunE: labelImages,
}
View Source
var DockerRegexPushCmd = &cobra.Command{
	Use:  "push <REGEX>",
	Args: cobra.ExactArgs(1),
	RunE: pushWrapper,
}
View Source
var DockerRegexSetPathPrefixCmd = &cobra.Command{
	Use:  "set-path-prefix <REGEX> <PATH_PREFIX>",
	Args: cobra.ExactArgs(2),
	RunE: setRegistryWrapper,
}
View Source
var DockerRegexTagSuffixAppendCmd = &cobra.Command{
	Use:  "append <REGEX> <TAG_SUFFIX>",
	Args: cobra.ExactArgs(2),
	RunE: appendTagSuffixWrapper,
}
View Source
var DockerRegexTagSuffixCmd = &cobra.Command{
	Use: "tag-suffix",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}
View Source
var DockerRegexTagSuffixRemoveCmd = &cobra.Command{
	Use:  "remove <REGEX> <TAG_SUFFIX>",
	Args: cobra.ExactArgs(2),
	RunE: removeTagSuffixWrapper,
}
View Source
var GitCloneCmd = &cobra.Command{
	Use:  "clone <REPO_URL>",
	Args: cobra.ExactArgs(1),
	RunE: cloneAndCheckout,
}
View Source
var GitCmd = &cobra.Command{
	Use:   "git",
	Short: "git utility",
	Run: func(cmd *cobra.Command, args []string) {
		cmd.Help()
	},
}
View Source
var Labels []string
View Source
var PlyCmd = &cobra.Command{
	Use:   "ply",
	Short: "utility for k8s-addon-builder",
}

PlyCmd represents the base command when called without any subcommands

View Source
var VersionDate = "???"
View Source
var VersionGit = "???"

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the PlyCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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