package stack

import "github.com/docker/cli/cli/command/stack"

Index

Functions

func NewStackCommand

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

NewStackCommand returns a cobra command for `stack` subcommands

func RunList

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

RunList performs a stack list against the specified swarm cluster

func RunServices

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

RunServices performs a stack services against the specified swarm cluster

Source Files

cmd.go common.go config.go deploy.go list.go ps.go remove.go services.go

Directories

PathSynopsis
cli/command/stack/formatter
cli/command/stack/loader
cli/command/stack/options
cli/command/stack/swarm
Version
v25.0.0-rc.2+incompatible
Published
Jan 12, 2024
Platform
windows/amd64
Imports
21 packages
Last checked
1 second ago

Tools for package owners.