Discover Packages
github.com/docker/CLI
cli
command
stack
swarm
package
Version:
v28.5.1+incompatible
Opens a new window with list of versions in this module.
Published: Oct 8, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
GetServices(ctx, dockerCLI, opts)
GetStacks(ctx, apiClient)
RunDeploy(ctx, dockerCLI, flags, opts, cfg)
RunPS(ctx, dockerCLI, opts)
RunRemove(ctx, dockerCli, opts)
Types
Source Files
Documentation
Documentation
¶
Constants
func GetServices(ctx context.Context, dockerCLI command.Cli, opts options.Services) ([]swarm.Service, error) deprecated
func GetStacks(ctx context.Context, apiClient client.ServiceAPIClient) ([]*formatter.Stack, error) deprecated
func RunDeploy(ctx context.Context, dockerCLI command.Cli, flags *pflag.FlagSet, ...) error deprecated
func RunPS(ctx context.Context, dockerCLI command.Cli, opts options.PS) error deprecated
func RunRemove(ctx context.Context, dockerCli command.Cli, opts options.Remove) error deprecated
View Source
const (
ResolveImageAlways = "always"
ResolveImageChanged = "changed"
ResolveImageNever = "never"
)
Resolve image constants
GetServices is the swarm implementation of listing stack services
Deprecated: this function was for internal use and will be removed in the next release.
GetStacks lists the swarm stacks.
Deprecated: this function was for internal use and will be removed in the next release.
RunDeploy is the swarm implementation of docker stack deploy
Deprecated: this function was for internal use and will be removed in the next release.
RunPS is the swarm implementation of docker stack ps
Deprecated: this function was for internal use and will be removed in the next release.
RunRemove is the swarm implementation of docker stack remove
Deprecated: this function was for internal use and will be removed in the next release.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.