bosh

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Preparing     = "preparing"
	Deploying     = "deploying"
	RunningErrand = "running-errand"
)

Variables

This section is empty.

Functions

func Envs added in v0.0.13

func Envs(cfg config.Config) []string

func EnvsMapping added in v0.0.14

func EnvsMapping(cfg config.Config) map[string]string

Types

type Bosh

type Bosh struct {
	Runner Runner
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config) *Bosh

func (*Bosh) GetVMProgress

func (b *Bosh) GetVMProgress(start time.Time, deploymentName string, isErrand bool) VMProgress

type Instance added in v0.0.14

type Instance struct {
	ID           string `json:"instance"`
	Process      string `json:"process"`
	ProcessState string `json:"process_state"`
}

type Runner added in v0.0.14

type Runner interface {
	Output(cmd *exec.Cmd) ([]byte, error)
}

type VMProgress

type VMProgress struct {
	State    string
	Total    int
	Done     int
	Duration time.Duration
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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