bosh

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package bosh is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BestAddress

func BestAddress(addresses []string) string

Types

type MockTargetDeployment added in v0.5.0

type MockTargetDeployment struct {
	// contains filtered or unexported fields
}

MockTargetDeployment is a mock of TargetDeployment interface

func NewMockTargetDeployment added in v0.5.0

func NewMockTargetDeployment(ctrl *gomock.Controller) *MockTargetDeployment

NewMockTargetDeployment creates a new mock instance

func (*MockTargetDeployment) Cleanup added in v0.5.0

func (m *MockTargetDeployment) Cleanup() error

Cleanup mocks base method

func (*MockTargetDeployment) ConnectTo added in v0.5.0

ConnectTo mocks base method

func (*MockTargetDeployment) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTargetDeployment) Name added in v0.5.0

func (m *MockTargetDeployment) Name() string

Name mocks base method

func (*MockTargetDeployment) Releases added in v0.5.0

func (m *MockTargetDeployment) Releases() []director.Release

Releases mocks base method

func (*MockTargetDeployment) Setup added in v0.5.0

func (m *MockTargetDeployment) Setup() error

Setup mocks base method

func (*MockTargetDeployment) VMs added in v0.5.0

VMs mocks base method

type MockTargetDeploymentMockRecorder added in v0.5.0

type MockTargetDeploymentMockRecorder struct {
	// contains filtered or unexported fields
}

MockTargetDeploymentMockRecorder is the mock recorder for MockTargetDeployment

func (*MockTargetDeploymentMockRecorder) Cleanup added in v0.5.0

Cleanup indicates an expected call of Cleanup

func (*MockTargetDeploymentMockRecorder) ConnectTo added in v0.5.0

func (mr *MockTargetDeploymentMockRecorder) ConnectTo(arg0 interface{}) *gomock.Call

ConnectTo indicates an expected call of ConnectTo

func (*MockTargetDeploymentMockRecorder) Name added in v0.5.0

Name indicates an expected call of Name

func (*MockTargetDeploymentMockRecorder) Releases added in v0.5.0

Releases indicates an expected call of Releases

func (*MockTargetDeploymentMockRecorder) Setup added in v0.5.0

Setup indicates an expected call of Setup

func (*MockTargetDeploymentMockRecorder) VMs added in v0.5.0

VMs indicates an expected call of VMs

type TargetDeployment added in v0.5.0

type TargetDeployment interface {
	Name() string
	VMs() []boshdir.VMInfo
	Releases() []boshdir.Release

	Setup() error
	ConnectTo(boshdir.VMInfo) remotemachine.RemoteMachine
	Cleanup() error
}

func GetDeployments added in v0.5.0

func GetDeployments(
	creds boshconfig.Creds,
	caCertPath string,
	deploymentNames []string,
	boshURL string,
	logger scanlog.Logger) ([]TargetDeployment, error)

type TargetDeploymentImpl added in v0.5.0

type TargetDeploymentImpl struct {
	// contains filtered or unexported fields
}

func (*TargetDeploymentImpl) Cleanup added in v0.5.0

func (d *TargetDeploymentImpl) Cleanup() error

func (*TargetDeploymentImpl) ConnectTo added in v0.5.0

func (*TargetDeploymentImpl) Name added in v0.5.0

func (d *TargetDeploymentImpl) Name() string

func (*TargetDeploymentImpl) Releases added in v0.5.0

func (d *TargetDeploymentImpl) Releases() []boshdir.Release

func (*TargetDeploymentImpl) Setup added in v0.5.0

func (d *TargetDeploymentImpl) Setup() error

func (*TargetDeploymentImpl) VMs added in v0.5.0

func (d *TargetDeploymentImpl) VMs() []boshdir.VMInfo

Jump to

Keyboard shortcuts

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