Documentation ¶
Index ¶
- type MockCloud
- func (_m *MockCloud) AttachDisk(_param0 string, _param1 string) error
- func (_m *MockCloud) CreateDisk(_param0 int, _param1 property.Map, _param2 string) (string, error)
- func (_m *MockCloud) CreateStemcell(_param0 string, _param1 property.Map) (string, error)
- func (_m *MockCloud) CreateVM(_param0 string, _param1 string, _param2 property.Map, ...) (string, error)
- func (_m *MockCloud) DeleteDisk(_param0 string) error
- func (_m *MockCloud) DeleteStemcell(_param0 string) error
- func (_m *MockCloud) DeleteVM(_param0 string) error
- func (_m *MockCloud) DetachDisk(_param0 string, _param1 string) error
- func (_m *MockCloud) EXPECT() *_MockCloudRecorder
- func (_m *MockCloud) HasVM(_param0 string) (bool, error)
- func (_m *MockCloud) SetDiskMetadata(_param0 string, _param1 cloud.DiskMetadata) error
- func (_m *MockCloud) SetVMMetadata(_param0 string, _param1 cloud.VMMetadata) error
- func (_m *MockCloud) String() string
- type MockFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloud ¶
type MockCloud struct {
// contains filtered or unexported fields
}
Mock of Cloud interface
func NewMockCloud ¶
func NewMockCloud(ctrl *gomock.Controller) *MockCloud
func (*MockCloud) AttachDisk ¶
func (*MockCloud) CreateDisk ¶
func (*MockCloud) CreateStemcell ¶
func (*MockCloud) DeleteDisk ¶
func (*MockCloud) DeleteStemcell ¶
func (*MockCloud) DetachDisk ¶
func (*MockCloud) SetDiskMetadata ¶
func (_m *MockCloud) SetDiskMetadata(_param0 string, _param1 cloud.DiskMetadata) error
func (*MockCloud) SetVMMetadata ¶
func (_m *MockCloud) SetVMMetadata(_param0 string, _param1 cloud.VMMetadata) error
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
Mock of Factory interface
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
func (*MockFactory) EXPECT ¶
func (_m *MockFactory) EXPECT() *_MockFactoryRecorder
func (*MockFactory) NewCloud ¶
func (_m *MockFactory) NewCloud(_param0 installation.Installation, _param1 string) (cloud.Cloud, error)
Click to show internal directories.
Click to hide internal directories.