swarm

package
v0.0.0-...-896ff57 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

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

Resolve image constants

Variables

This section is empty.

Functions

func DeployBundle

func DeployBundle(ctx context.Context, dockerCli command.Cli, opts options.Deploy) error

DeployBundle deploy a bundlefile (dab) on a swarm.

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

func RunServices

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

RunServices is the swarm implementation of docker stack services

Types

This section is empty.

Jump to

Keyboard shortcuts

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