{"modulePath":"github.com/rancher/docker-cli","version":"v0.0.0-20190201110649-896ff57b300c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package swarm\n\n## Constants\n\n```go\nconst (\n\tResolveImageAlways  = \"always\"\n\tResolveImageChanged = \"changed\"\n\tResolveImageNever   = \"never\"\n)\n```\nResolve image constants\n\n## Functions\n\n```go\nfunc DeployBundle(ctx context.Context, dockerCli command.Cli, opts options.Deploy) error\n```\nDeployBundle deploy a bundlefile (dab) on a swarm.\n\n```go\nfunc GetStacks(dockerCli command.Cli) ([]*formatter.Stack, error)\n```\nGetStacks lists the swarm stacks.\n\n```go\nfunc RunDeploy(dockerCli command.Cli, opts options.Deploy, cfg *composetypes.Config) error\n```\nRunDeploy is the swarm implementation of docker stack deploy\n\n```go\nfunc RunPS(dockerCli command.Cli, opts options.PS) error\n```\nRunPS is the swarm implementation of docker stack ps\n\n```go\nfunc RunRemove(dockerCli command.Cli, opts options.Remove) error\n```\nRunRemove is the swarm implementation of docker stack remove\n\n```go\nfunc RunServices(dockerCli command.Cli, opts options.Services) error\n```\nRunServices is the swarm implementation of docker stack services\n\n","path":"github.com/rancher/docker-cli/cli/command/stack/swarm","name":"swarm","synopsis":"","isRedistributable":true}
