swarm

package
v24.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 20 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.

Documentation

Index

Constants

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

Resolve image constants

Variables

This section is empty.

Functions

func GetServices

func GetServices(dockerCli command.Cli, opts options.Services) ([]swarm.Service, error)

GetServices is the swarm implementation of listing stack services

func GetStacks

func GetStacks(dockerCli command.Cli) ([]*formatter.Stack, error)

GetStacks lists the swarm stacks.

func RunDeploy

func RunDeploy(dockerCli command.Cli, opts options.Deploy, cfg *composetypes.Config) error

RunDeploy is the swarm implementation of docker stack deploy

func RunPS

func RunPS(dockerCli command.Cli, opts options.PS) error

RunPS is the swarm implementation of docker stack ps

func RunRemove

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

RunRemove is the swarm implementation of docker stack remove

Types

This section is empty.

Jump to

Keyboard shortcuts

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