Documentation ¶
Index ¶
- func GetServices(dockerCli command.Cli, flags *pflag.FlagSet, opts options.Services) ([]swarmtypes.Service, error)
- func NewStackCommand(dockerCli command.Cli) *cobra.Command
- func RunDeploy(dockerCli command.Cli, flags *pflag.FlagSet, config *composetypes.Config, ...) error
- func RunList(cmd *cobra.Command, dockerCli command.Cli, opts options.List) error
- func RunPs(dockerCli command.Cli, flags *pflag.FlagSet, opts options.PS) error
- func RunRemove(dockerCli command.Cli, flags *pflag.FlagSet, opts options.Remove) error
- func RunServices(dockerCli command.Cli, flags *pflag.FlagSet, opts options.Services) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServices ¶
func GetServices(dockerCli command.Cli, flags *pflag.FlagSet, opts options.Services) ([]swarmtypes.Service, error)
GetServices returns the services for the specified swarm cluster
func NewStackCommand ¶
NewStackCommand returns a cobra command for `stack` subcommands
func RunDeploy ¶
func RunDeploy(dockerCli command.Cli, flags *pflag.FlagSet, config *composetypes.Config, opts options.Deploy) error
RunDeploy performs a stack deploy against the specified swarm cluster
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.