mockbosh

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BoshContextIDHeader = "X-Bosh-Context-Id"
)

Variables

This section is empty.

Functions

func DeleteDeployment

func DeleteDeployment(deploymentName string) *deleteDeployMock

func Deploy

func Deploy() *deployMock

func Deployments

func Deployments() *deploymentsMock

func DeploysWithManifestAndRedirectsToTask added in v0.17.1

func DeploysWithManifestAndRedirectsToTask(manifest bosh.BoshManifest, taskID int) *deployMock

func Errand

func Errand(deploymentName, errandName, body string) *errandMock

func GetDeployment

func GetDeployment(deploymentName string) *deploymentMock

func Info

func Info() *infoMock

func Task

func Task(taskID int) *taskMock

func TaskOutput

func TaskOutput(taskId int) *taskOutputMock

func Tasks

func Tasks(deploymentName string) *tasksMock

func TasksByContext

func TasksByContext(deploymentName, contextID string) *tasksMock

func VMsForDeployment

func VMsForDeployment(deploymentName string) *vmsForDeploymentMock

Types

type DeploymentDiff

type DeploymentDiff struct {
	Diff [][]interface{} `json:"diff"`
}

type MockBOSH added in v0.17.2

type MockBOSH struct {
	*mockhttp.Server
	UAAURL string
}

func New

func New() *MockBOSH

func NewWithUAA added in v0.17.2

func NewWithUAA(uaaUrl string) *MockBOSH

Jump to

Keyboard shortcuts

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