mockbosh

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 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 Deploy

func Deploy() *deployMock

func Deployments

func Deployments() *deploymentsMock

func Info

func Info() *infoMock

func Task

func Task(taskID int) *taskMock

func TaskOutput

func TaskOutput(taskId int) *taskOutputMock

func TaskOutputEvent added in v0.20.0

func TaskOutputEvent(taskId int) *taskOutputMock

func Tasks

func Tasks(deploymentName string) *tasksMock

func TasksWithLimit added in v0.20.0

func TasksWithLimit(deploymentName string, limit int) *tasksMock

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