stack

package
v24.0.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServices deprecated

func GetServices(dockerCli command.Cli, _ *pflag.FlagSet, opts options.Services) ([]swarmtypes.Service, error)

GetServices returns the services for the specified swarm cluster.

Deprecated: use swarm.GetServices instead.

func NewStackCommand

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

NewStackCommand returns a cobra command for `stack` subcommands

func RunDeploy deprecated

func RunDeploy(dockerCli command.Cli, _ *pflag.FlagSet, config *composetypes.Config, opts options.Deploy) error

RunDeploy performs a stack deploy against the specified swarm cluster.

Deprecated: use swarm.RunDeploy instead.

func RunList

func RunList(dockerCli command.Cli, opts options.List) error

RunList performs a stack list against the specified swarm cluster

func RunPs deprecated

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

RunPs performs a stack ps against the specified swarm cluster.

Deprecated: use swarm.RunPS instead.

func RunRemove deprecated

func RunRemove(dockerCli command.Cli, _ *pflag.FlagSet, opts options.Remove) error

RunRemove performs a stack remove against the specified swarm cluster.

Deprecated: use swarm.RunRemove instead.

func RunServices

func RunServices(dockerCli command.Cli, opts options.Services) error

RunServices performs a stack services against the specified swarm cluster

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL