actions

package
v0.0.2-0...-f822251 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ProxyAddress  = "localhost:61908"
	BasicDateTime = "2006-01-02 15:04:05"
)

Variables

View Source
var (
	DefaultComposer composer.Composer
)
View Source
var RequiredDockerAPIVersion = semver.MustParse("1.6.0")
View Source
var RequiredSwarmAPIVersion = semver.MustParse("0.3.0")

Functions

func Deploy

func Deploy(options Options) (prettycli.Output, error)

func List

func List(options Options) (prettycli.Output, error)

func Rollback

func Rollback(options Options) (prettycli.Output, error)

func Teardown

func Teardown(options Options) (prettycli.Output, error)

func Verify

func Verify(options Options) (prettycli.Output, error)

Types

type DeploymentManifest

type DeploymentManifest struct {
	Services   []Service
	DeployedAt string
	Message    string
}

type DeploymentManifests

type DeploymentManifests []DeploymentManifest

type Options

type Options struct {
	Args            []string
	Flags           map[string]string
	EndpointOptions endpoint.EndpointOptions
}

type Service

type Service struct {
	OriginalImage   string
	Name            string
	ContainerConfig endpoint.ContainerConfig
}

type Zodiaction

type Zodiaction func(Options) (prettycli.Output, error)

Jump to

Keyboard shortcuts

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