Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPowerVS
- func (m *MockPowerVS) CreateInstance(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
- func (m *MockPowerVS) DeleteInstance(id string) error
- func (m *MockPowerVS) EXPECT() *MockPowerVSMockRecorder
- func (m *MockPowerVS) GetAllImage() (*models.Images, error)
- func (m *MockPowerVS) GetAllInstance() (*models.PVMInstances, error)
- func (m *MockPowerVS) GetAllNetwork() (*models.Networks, error)
- type MockPowerVSMockRecorder
- func (mr *MockPowerVSMockRecorder) CreateInstance(body interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) DeleteInstance(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllImage() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllInstance() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllNetwork() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPowerVS ¶
type MockPowerVS struct {
// contains filtered or unexported fields
}
MockPowerVS is a mock of PowerVS interface.
func NewMockPowerVS ¶
func NewMockPowerVS(ctrl *gomock.Controller) *MockPowerVS
NewMockPowerVS creates a new mock instance.
func (*MockPowerVS) CreateInstance ¶
func (m *MockPowerVS) CreateInstance(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
CreateInstance mocks base method.
func (*MockPowerVS) DeleteInstance ¶
func (m *MockPowerVS) DeleteInstance(id string) error
DeleteInstance mocks base method.
func (*MockPowerVS) EXPECT ¶
func (m *MockPowerVS) EXPECT() *MockPowerVSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPowerVS) GetAllImage ¶
func (m *MockPowerVS) GetAllImage() (*models.Images, error)
GetAllImage mocks base method.
func (*MockPowerVS) GetAllInstance ¶
func (m *MockPowerVS) GetAllInstance() (*models.PVMInstances, error)
GetAllInstance mocks base method.
func (*MockPowerVS) GetAllNetwork ¶
func (m *MockPowerVS) GetAllNetwork() (*models.Networks, error)
GetAllNetwork mocks base method.
type MockPowerVSMockRecorder ¶
type MockPowerVSMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerVSMockRecorder is the mock recorder for MockPowerVS.
func (*MockPowerVSMockRecorder) CreateInstance ¶
func (mr *MockPowerVSMockRecorder) CreateInstance(body interface{}) *gomock.Call
CreateInstance indicates an expected call of CreateInstance.
func (*MockPowerVSMockRecorder) DeleteInstance ¶
func (mr *MockPowerVSMockRecorder) DeleteInstance(id interface{}) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance.
func (*MockPowerVSMockRecorder) GetAllImage ¶
func (mr *MockPowerVSMockRecorder) GetAllImage() *gomock.Call
GetAllImage indicates an expected call of GetAllImage.
func (*MockPowerVSMockRecorder) GetAllInstance ¶
func (mr *MockPowerVSMockRecorder) GetAllInstance() *gomock.Call
GetAllInstance indicates an expected call of GetAllInstance.
func (*MockPowerVSMockRecorder) GetAllNetwork ¶
func (mr *MockPowerVSMockRecorder) GetAllNetwork() *gomock.Call
GetAllNetwork indicates an expected call of GetAllNetwork.