run

package
v1.0.0-alpha-74 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2016 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WeDeployImage = "wedeploy/local:" + defaults.WeDeployImageTag

WeDeployImage is the docker image for the WeDeploy infrastructure

Functions

func GetWeDeployHost

func GetWeDeployHost() (string, error)

GetWeDeployHost gets the WeDeploy infrastructure host This is a temporary solution and it is NOT reliable

func Run

func Run(flags Flags) error

Run runs the WeDeploy infrastructure

func Stop

func Stop() error

Stop stops the WeDeploy infrastructure

func StopOutdatedImage

func StopOutdatedImage(nextImage string) error

StopOutdatedImage stops the WeDeploy infrastructure if outdated

Types

type DockerMachine

type DockerMachine struct {
	Container   string
	Image       string
	Flags       Flags
	WaitLiveMsg *waitlivemsg.WaitLiveMsg
	// contains filtered or unexported fields
}

DockerMachine for the run command

func (*DockerMachine) LoadDockerInfo

func (dm *DockerMachine) LoadDockerInfo() error

LoadDockerInfo loads the docker info on the DockerMachine object

func (*DockerMachine) Run

func (dm *DockerMachine) Run() (err error)

Run executes the WeDeploy infraestruture

func (*DockerMachine) Stop

func (dm *DockerMachine) Stop() error

Stop stops the machine

type Flags

type Flags struct {
	Debug  bool
	Detach bool
	DryRun bool
}

Flags modifiers

Jump to

Keyboard shortcuts

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