stack

package
v23.0.0-rc.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 179

Documentation

Index

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

func NewStackCommand(dockerCli command.Cli) *cobra.Command

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

func RunList

func RunList(cmd *cobra.Command, dockerCli command.Cli, opts options.List) error

RunList performs a stack list against the specified swarm cluster

func RunPs

func RunPs(dockerCli command.Cli, flags *pflag.FlagSet, opts options.PS)