{"modulePath":"github.com/rancher/docker-cli","version":"v0.0.0-20190201110649-896ff57b300c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package stack\n\n## Functions\n\n```go\nfunc NewStackCommand(dockerCli command.Cli) *cobra.Command\n```\nNewStackCommand returns a cobra command for \\`stack\\` subcommands\n\n```go\nfunc NewTopLevelDeployCommand(dockerCli command.Cli) *cobra.Command\n```\nNewTopLevelDeployCommand returns a command for \\`docker deploy\\`\n\n```go\nfunc RunDeploy(dockerCli command.Cli, flags *pflag.FlagSet, config *composetypes.Config, commonOrchestrator command.Orchestrator, opts options.Deploy) error\n```\nRunDeploy performs a stack deploy against the specified orchestrator\n\n```go\nfunc RunList(cmd *cobra.Command, dockerCli command.Cli, opts options.List, orchestrator command.Orchestrator) error\n```\nRunList performs a stack list against the specified orchestrator\n\n```go\nfunc RunPs(dockerCli command.Cli, flags *pflag.FlagSet, commonOrchestrator command.Orchestrator, opts options.PS) error\n```\nRunPs performs a stack ps against the specified orchestrator\n\n```go\nfunc RunRemove(dockerCli command.Cli, flags *pflag.FlagSet, commonOrchestrator command.Orchestrator, opts options.Remove) error\n```\nRunRemove performs a stack remove against the specified orchestrator\n\n```go\nfunc RunServices(dockerCli command.Cli, flags *pflag.FlagSet, commonOrchestrator command.Orchestrator, opts options.Services) error\n```\nRunServices performs a stack services against the specified orchestrator\n\n","path":"github.com/rancher/docker-cli/cli/command/stack","name":"stack","synopsis":"","isRedistributable":true}
