mockbosh

package
v0.17.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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 string) *errandMock

func GetDeployment

func GetDeployment(deploymentName string) *deploymentMock

func Info

func Info() *infoMock

func New

func New() *mockhttp.Server

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"`
}

Jump to

Keyboard shortcuts

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