Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCloud
- func (m *MockCloud) AttachDisk(arg0, arg1 string) (interface{}, error)
- func (m *MockCloud) CreateDisk(arg0 int, arg1 property.Map, arg2 string) (string, error)
- func (m *MockCloud) CreateStemcell(arg0 string, arg1 property.Map) (string, error)
- func (m *MockCloud) CreateVM(arg0, arg1 string, arg2 property.Map, arg3 map[string]property.Map, ...) (string, error)
- func (m *MockCloud) DeleteDisk(arg0 string) error
- func (m *MockCloud) DeleteStemcell(arg0 string) error
- func (m *MockCloud) DeleteVM(arg0 string) error
- func (m *MockCloud) DetachDisk(arg0, arg1 string) error
- func (m *MockCloud) EXPECT() *MockCloudMockRecorder
- func (m *MockCloud) HasVM(arg0 string) (bool, error)
- func (m *MockCloud) Info() (cloud.CpiInfo, error)
- func (m *MockCloud) SetDiskMetadata(arg0 string, arg1 cloud.DiskMetadata) error
- func (m *MockCloud) SetVMMetadata(arg0 string, arg1 cloud.VMMetadata) error
- func (m *MockCloud) String() string
- type MockCloudMockRecorder
- func (mr *MockCloudMockRecorder) AttachDisk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) CreateDisk(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) CreateStemcell(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) CreateVM(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DeleteDisk(arg0 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DeleteStemcell(arg0 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DeleteVM(arg0 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DetachDisk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) HasVM(arg0 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) Info() *gomock.Call
- func (mr *MockCloudMockRecorder) SetDiskMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) SetVMMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) String() *gomock.Call
- type MockFactory
- type MockFactoryMockRecorder
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
}
MockCloud is a mock of Cloud interface
func NewMockCloud ¶
func NewMockCloud(ctrl *gomock.Controller) *MockCloud
NewMockCloud creates a new mock instance
func (*MockCloud) AttachDisk ¶
AttachDisk mocks base method
func (*MockCloud) CreateDisk ¶
CreateDisk mocks base method
func (*MockCloud) CreateStemcell ¶
CreateStemcell mocks base method
func (*MockCloud) CreateVM ¶
func (m *MockCloud) CreateVM(arg0, arg1 string, arg2 property.Map, arg3 map[string]property.Map, arg4 property.Map) (string, error)
CreateVM mocks base method
func (*MockCloud) DeleteDisk ¶
DeleteDisk mocks base method
func (*MockCloud) DeleteStemcell ¶
DeleteStemcell mocks base method
func (*MockCloud) DetachDisk ¶
DetachDisk mocks base method
func (*MockCloud) EXPECT ¶
func (m *MockCloud) EXPECT() *MockCloudMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCloud) SetDiskMetadata ¶
func (m *MockCloud) SetDiskMetadata(arg0 string, arg1 cloud.DiskMetadata) error
SetDiskMetadata mocks base method
func (*MockCloud) SetVMMetadata ¶
func (m *MockCloud) SetVMMetadata(arg0 string, arg1 cloud.VMMetadata) error
SetVMMetadata mocks base method
type MockCloudMockRecorder ¶
type MockCloudMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudMockRecorder is the mock recorder for MockCloud
func (*MockCloudMockRecorder) AttachDisk ¶
func (mr *MockCloudMockRecorder) AttachDisk(arg0, arg1 interface{}) *gomock.Call
AttachDisk indicates an expected call of AttachDisk
func (*MockCloudMockRecorder) CreateDisk ¶
func (mr *MockCloudMockRecorder) CreateDisk(arg0, arg1, arg2 interface{}) *gomock.Call
CreateDisk indicates an expected call of CreateDisk
func (*MockCloudMockRecorder) CreateStemcell ¶
func (mr *MockCloudMockRecorder) CreateStemcell(arg0, arg1 interface{}) *gomock.Call
CreateStemcell indicates an expected call of CreateStemcell
func (*MockCloudMockRecorder) CreateVM ¶
func (mr *MockCloudMockRecorder) CreateVM(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateVM indicates an expected call of CreateVM
func (*MockCloudMockRecorder) DeleteDisk ¶
func (mr *MockCloudMockRecorder) DeleteDisk(arg0 interface{}) *gomock.Call
DeleteDisk indicates an expected call of DeleteDisk
func (*MockCloudMockRecorder) DeleteStemcell ¶
func (mr *MockCloudMockRecorder) DeleteStemcell(arg0 interface{}) *gomock.Call
DeleteStemcell indicates an expected call of DeleteStemcell
func (*MockCloudMockRecorder) DeleteVM ¶
func (mr *MockCloudMockRecorder) DeleteVM(arg0 interface{}) *gomock.Call
DeleteVM indicates an expected call of DeleteVM
func (*MockCloudMockRecorder) DetachDisk ¶
func (mr *MockCloudMockRecorder) DetachDisk(arg0, arg1 interface{}) *gomock.Call
DetachDisk indicates an expected call of DetachDisk
func (*MockCloudMockRecorder) HasVM ¶
func (mr *MockCloudMockRecorder) HasVM(arg0 interface{}) *gomock.Call
HasVM indicates an expected call of HasVM
func (*MockCloudMockRecorder) Info ¶
func (mr *MockCloudMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info
func (*MockCloudMockRecorder) SetDiskMetadata ¶
func (mr *MockCloudMockRecorder) SetDiskMetadata(arg0, arg1 interface{}) *gomock.Call
SetDiskMetadata indicates an expected call of SetDiskMetadata
func (*MockCloudMockRecorder) SetVMMetadata ¶
func (mr *MockCloudMockRecorder) SetVMMetadata(arg0, arg1 interface{}) *gomock.Call
SetVMMetadata indicates an expected call of SetVMMetadata
func (*MockCloudMockRecorder) String ¶
func (mr *MockCloudMockRecorder) String() *gomock.Call
String indicates an expected call of String
type MockFactory ¶
type MockFactory struct {
// contains filtered or unexported fields
}
MockFactory is a mock of Factory interface
func NewMockFactory ¶
func NewMockFactory(ctrl *gomock.Controller) *MockFactory
NewMockFactory creates a new mock instance
func (*MockFactory) EXPECT ¶
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFactory) NewCloud ¶
func (m *MockFactory) NewCloud(arg0 installation.Installation, arg1 string, arg2 int) (cloud.Cloud, error)
NewCloud mocks base method
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory
func (*MockFactoryMockRecorder) NewCloud ¶
func (mr *MockFactoryMockRecorder) NewCloud(arg0, arg1, arg2 interface{}) *gomock.Call
NewCloud indicates an expected call of NewCloud