mockbosh

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 9 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

func TaskOutputEvent(taskId int) *taskOutputMock

func Tasks

func Tasks(deploymentName string) *tasksMock

func TasksInProgress

func TasksInProgress(deploymentName string) *tasksMock

Types

type DeploymentDiff

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

type MockBOSH

type MockBOSH struct {
	*mockhttp.Server
	UAAURL string
}

func New

func New() *MockBOSH

func NewWithUAA

func NewWithUAA(uaaUrl string) *MockBOSH

Jump to

Keyboard shortcuts

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