From 241326a9a8c20ad7f2bcf651416b836e7778e090 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 16 Apr 2020 12:25:26 -0500 Subject: Podman V2 birth remote podman v1 and replace with podman v2. Signed-off-by: Brent Baude --- cmd/podman/generate.go | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 cmd/podman/generate.go (limited to 'cmd/podman/generate.go') diff --git a/cmd/podman/generate.go b/cmd/podman/generate.go deleted file mode 100644 index 196556bc5..000000000 --- a/cmd/podman/generate.go +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "github.com/containers/libpod/cmd/podman/cliconfig" - "github.com/spf13/cobra" -) - -var ( - generateCommand cliconfig.PodmanCommand - generateDescription = "Generate structured data based for a containers and pods" - _generateCommand = &cobra.Command{ - Use: "generate", - Short: "Generated structured data", - Long: generateDescription, - RunE: commandRunE(), - } - - // Commands that are universally implemented - generateCommands = []*cobra.Command{ - _containerKubeCommand, - } -) - -func init() { - // Systemd-service generation is not supported for remote-clients. - if !remoteclient { - generateCommands = append(generateCommands, _containerSystemdCommand) - } - generateCommand.Command = _generateCommand - generateCommand.AddCommand(generateCommands...) - generateCommand.SetUsageTemplate(UsageTemplate()) -} -- cgit v1.2.3-54-g00ecf