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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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