swarm

package
v28.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 22 Imported by: 117

Documentation

Index

Constants

View Source
const (
	ResolveImageAlways  = "always"
	ResolveImageChanged = "changed"
	ResolveImageNever   = "never"
)

Resolve image constants

Variables

This section is empty.

Functions

func GetServices deprecated

func GetServices(ctx context.Context, dockerCLI command.Cli, opts options.Services) ([]swarm.Service, error)

GetServices is the swarm implementation of listing stack services

Deprecated: this function was for internal use and will be removed in the next release.

func GetStacks deprecated

func GetStacks(ctx context.Context, apiClient client.ServiceAPIClient) ([]*formatter.Stack, error)

GetStacks lists the swarm stacks.

Deprecated: this function was for internal use and will be removed in the next release.

func RunDeploy deprecated

func RunDeploy(ctx context.Context, dockerCLI command.Cli, flags *pflag.FlagSet, opts *options.Deploy, cfg *composetypes.Config) error

RunDeploy is the swarm implementation of docker stack deploy

Deprecated: this function was for internal use and will be removed in the next release.

func RunPS deprecated

func RunPS(ctx context.Context, dockerCLI command.Cli, opts options.PS) error

RunPS is the swarm implementation of docker stack ps

Deprecated: this function was for internal use and will be removed in the next release.

func RunRemove deprecated

func RunRemove(ctx context.Context, dockerCli command.Cli, opts options.Remove) error

RunRemove is the swarm implementation of docker stack remove

Deprecated: this function was for internal use and will be removed in the next release.

Types

This section is empty.

Jump to

Keyboard shortcuts

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