mirror of https://github.com/containers/podman.git
36 lines
743 B
Go
36 lines
743 B
Go
package main
|
|
|
|
import (
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var (
|
|
podDescription = `Manage container pods.
|
|
|
|
Pods are a group of one or more containers sharing the same network, pid and ipc namespaces.
|
|
`
|
|
podSubCommands = []cli.Command{
|
|
podCreateCommand,
|
|
podExistsCommand,
|
|
podInspectCommand,
|
|
podKillCommand,
|
|
podPauseCommand,
|
|
podPsCommand,
|
|
podRestartCommand,
|
|
podRmCommand,
|
|
podStartCommand,
|
|
podStatsCommand,
|
|
podStopCommand,
|
|
podTopCommand,
|
|
podUnpauseCommand,
|
|
}
|
|
podCommand = cli.Command{
|
|
Name: "pod",
|
|
Usage: "Manage pods",
|
|
Description: podDescription,
|
|
UseShortOptionHandling: true,
|
|
Subcommands: podSubCommands,
|
|
OnUsageError: usageErrorHandler,
|
|
}
|
|
)
|