stack

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 25 Imported by: 4

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func BuildEnvironment

func BuildEnvironment(env []string) (map[string]string, error)

func RunDeploy

func RunDeploy(dockerCli command.Cli, opts DeployOptions) error

func RunList

func RunList(dockerCli command.Cli, opts ListOptions) error

func RunRemove

func RunRemove(dockerCli command.Cli, opts RemoveOptions) error

func RunServices

func RunServices(dockerCli command.Cli, options ServicesOptions) error

Types

type DeployOptions

type DeployOptions struct {
	Bundlefile       string
	Composefile      string
	Namespace        string
	ResolveImage     string
	SendRegistryAuth bool
	Prune            bool
	Environment      []string
}

type ListOptions

type ListOptions struct {
	Format string
}

type RemoveOptions

type RemoveOptions struct {
	Namespaces []string
}

type ServicesOptions

type ServicesOptions struct {
	Quiet     bool
	Format    string
	Filter    opts.FilterOpt
	Namespace string
}

Jump to

Keyboard shortcuts

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