Documentation ¶
Overview ¶
Package bosh is a generated GoMock package.
Index ¶
- func BestAddress(addresses []string) string
- type MockTargetDeployment
- func (m *MockTargetDeployment) Cleanup() error
- func (m *MockTargetDeployment) ConnectTo(arg0 director.VMInfo) remotemachine.RemoteMachine
- func (m *MockTargetDeployment) EXPECT() *MockTargetDeploymentMockRecorder
- func (m *MockTargetDeployment) Name() string
- func (m *MockTargetDeployment) Releases() []director.Release
- func (m *MockTargetDeployment) Setup() error
- func (m *MockTargetDeployment) VMs() []director.VMInfo
- type MockTargetDeploymentMockRecorder
- func (mr *MockTargetDeploymentMockRecorder) Cleanup() *gomock.Call
- func (mr *MockTargetDeploymentMockRecorder) ConnectTo(arg0 interface{}) *gomock.Call
- func (mr *MockTargetDeploymentMockRecorder) Name() *gomock.Call
- func (mr *MockTargetDeploymentMockRecorder) Releases() *gomock.Call
- func (mr *MockTargetDeploymentMockRecorder) Setup() *gomock.Call
- func (mr *MockTargetDeploymentMockRecorder) VMs() *gomock.Call
- type TargetDeployment
- type TargetDeploymentImpl
- func (d *TargetDeploymentImpl) Cleanup() error
- func (d *TargetDeploymentImpl) ConnectTo(vm boshdir.VMInfo) remotemachine.RemoteMachine
- func (d *TargetDeploymentImpl) Name() string
- func (d *TargetDeploymentImpl) Releases() []boshdir.Release
- func (d *TargetDeploymentImpl) Setup() error
- func (d *TargetDeploymentImpl) VMs() []boshdir.VMInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BestAddress ¶
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
func (m *MockTargetDeployment) ConnectTo(arg0 director.VMInfo) remotemachine.RemoteMachine
ConnectTo mocks base method
func (*MockTargetDeployment) EXPECT ¶ added in v0.5.0
func (m *MockTargetDeployment) EXPECT() *MockTargetDeploymentMockRecorder
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
func (m *MockTargetDeployment) VMs() []director.VMInfo
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
func (mr *MockTargetDeploymentMockRecorder) Cleanup() *gomock.Call
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
func (mr *MockTargetDeploymentMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockTargetDeploymentMockRecorder) Releases ¶ added in v0.5.0
func (mr *MockTargetDeploymentMockRecorder) Releases() *gomock.Call
Releases indicates an expected call of Releases
func (*MockTargetDeploymentMockRecorder) Setup ¶ added in v0.5.0
func (mr *MockTargetDeploymentMockRecorder) Setup() *gomock.Call
Setup indicates an expected call of Setup
func (*MockTargetDeploymentMockRecorder) VMs ¶ added in v0.5.0
func (mr *MockTargetDeploymentMockRecorder) VMs() *gomock.Call
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 (d *TargetDeploymentImpl) ConnectTo(vm boshdir.VMInfo) remotemachine.RemoteMachine
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