diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-07 07:46:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 07:46:52 -0800 |
commit | 49d9a8f9518dd3d38219f5ead6782d4919433cfc (patch) | |
tree | aade825b40e982202a231524543b99181ebd6db7 /cmd/podman/generate.go | |
parent | d4af59d57ce23747b255a466e1970f90d3e687fc (diff) | |
parent | c8436b4912656766df79c37aed3479afe72ca111 (diff) | |
download | podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.gz podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.bz2 podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.zip |
Merge pull request #1928 from baude/podtokube
generate kube
Diffstat (limited to 'cmd/podman/generate.go')
-rw-r--r-- | cmd/podman/generate.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cmd/podman/generate.go b/cmd/podman/generate.go new file mode 100644 index 000000000..765d0ee70 --- /dev/null +++ b/cmd/podman/generate.go @@ -0,0 +1,23 @@ +package main + +import ( + "github.com/urfave/cli" +) + +var ( + generateSubCommands = []cli.Command{ + containerKubeCommand, + } + + generateDescription = "generate structured data based for a containers and pods" + kubeCommand = cli.Command{ + Name: "generate", + Usage: "generated structured data", + Description: generateDescription, + ArgsUsage: "", + Subcommands: generateSubCommands, + UseShortOptionHandling: true, + OnUsageError: usageErrorHandler, + Hidden: true, + } +) |