Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPowerVS
- func (m *MockPowerVS) CreateCosImage(body *models.CreateCosImageImportJob) (*models.JobReference, error)
- func (m *MockPowerVS) CreateInstance(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
- func (m *MockPowerVS) DeleteImage(id string) error
- func (m *MockPowerVS) DeleteInstance(id string) error
- func (m *MockPowerVS) DeleteJob(id string) error
- func (m *MockPowerVS) EXPECT() *MockPowerVSMockRecorder
- func (m *MockPowerVS) GetAllDHCPServers() (models.DHCPServers, error)
- func (m *MockPowerVS) GetAllImage() (*models.Images, error)
- func (m *MockPowerVS) GetAllInstance() (*models.PVMInstances, error)
- func (m *MockPowerVS) GetAllNetwork() (*models.Networks, error)
- func (m *MockPowerVS) GetCosImages(id string) (*models.Job, error)
- func (m *MockPowerVS) GetDHCPServer(id string) (*models.DHCPServerDetail, error)
- func (m *MockPowerVS) GetImage(id string) (*models.Image, error)
- func (m *MockPowerVS) GetInstance(id string) (*models.PVMInstance, error)
- func (m *MockPowerVS) GetJob(id string) (*models.Job, error)
- type MockPowerVSMockRecorder
- func (mr *MockPowerVSMockRecorder) CreateCosImage(body interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) CreateInstance(body interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) DeleteImage(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) DeleteInstance(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) DeleteJob(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllDHCPServers() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllImage() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllInstance() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetAllNetwork() *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetCosImages(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetDHCPServer(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetImage(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetInstance(id interface{}) *gomock.Call
- func (mr *MockPowerVSMockRecorder) GetJob(id interface{}) *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) CreateCosImage ¶
func (m *MockPowerVS) CreateCosImage(body *models.CreateCosImageImportJob) (*models.JobReference, error)
CreateCosImage mocks base method.
func (*MockPowerVS) CreateInstance ¶
func (m *MockPowerVS) CreateInstance(body *models.PVMInstanceCreate) (*models.PVMInstanceList, error)
CreateInstance mocks base method.
func (*MockPowerVS) DeleteImage ¶
func (m *MockPowerVS) DeleteImage(id string) error
DeleteImage mocks base method.
func (*MockPowerVS) DeleteInstance ¶
func (m *MockPowerVS) DeleteInstance(id string) error
DeleteInstance mocks base method.
func (*MockPowerVS) DeleteJob ¶
func (m *MockPowerVS) DeleteJob(id string) error
DeleteJob 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) GetAllDHCPServers ¶ added in v0.2.4
func (m *MockPowerVS) GetAllDHCPServers() (models.DHCPServers, error)
GetAllDHCPServers mocks base method.
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.
func (*MockPowerVS) GetCosImages ¶
func (m *MockPowerVS) GetCosImages(id string) (*models.Job, error)
GetCosImages mocks base method.
func (*MockPowerVS) GetDHCPServer ¶ added in v0.2.4
func (m *MockPowerVS) GetDHCPServer(id string) (*models.DHCPServerDetail, error)
GetDHCPServer mocks base method.
func (*MockPowerVS) GetImage ¶
func (m *MockPowerVS) GetImage(id string) (*models.Image, error)
GetImage mocks base method.
func (*MockPowerVS) GetInstance ¶
func (m *MockPowerVS) GetInstance(id string) (*models.PVMInstance, error)
GetInstance mocks base method.
type MockPowerVSMockRecorder ¶
type MockPowerVSMockRecorder struct {
// contains filtered or unexported fields
}
MockPowerVSMockRecorder is the mock recorder for MockPowerVS.
func (*MockPowerVSMockRecorder) CreateCosImage ¶
func (mr *MockPowerVSMockRecorder) CreateCosImage(body interface{}) *gomock.Call
CreateCosImage indicates an expected call of CreateCosImage.
func (*MockPowerVSMockRecorder) CreateInstance ¶
func (mr *MockPowerVSMockRecorder) CreateInstance(body interface{}) *gomock.Call
CreateInstance indicates an expected call of CreateInstance.
func (*MockPowerVSMockRecorder) DeleteImage ¶
func (mr *MockPowerVSMockRecorder) DeleteImage(id interface{}) *gomock.Call
DeleteImage indicates an expected call of DeleteImage.
func (*MockPowerVSMockRecorder) DeleteInstance ¶
func (mr *MockPowerVSMockRecorder) DeleteInstance(id interface{}) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance.
func (*MockPowerVSMockRecorder) DeleteJob ¶
func (mr *MockPowerVSMockRecorder) DeleteJob(id interface{}) *gomock.Call
DeleteJob indicates an expected call of DeleteJob.
func (*MockPowerVSMockRecorder) GetAllDHCPServers ¶ added in v0.2.4
func (mr *MockPowerVSMockRecorder) GetAllDHCPServers() *gomock.Call
GetAllDHCPServers indicates an expected call of GetAllDHCPServers.
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.
func (*MockPowerVSMockRecorder) GetCosImages ¶
func (mr *MockPowerVSMockRecorder) GetCosImages(id interface{}) *gomock.Call
GetCosImages indicates an expected call of GetCosImages.
func (*MockPowerVSMockRecorder) GetDHCPServer ¶ added in v0.2.4
func (mr *MockPowerVSMockRecorder) GetDHCPServer(id interface{}) *gomock.Call
GetDHCPServer indicates an expected call of GetDHCPServer.
func (*MockPowerVSMockRecorder) GetImage ¶
func (mr *MockPowerVSMockRecorder) GetImage(id interface{}) *gomock.Call
GetImage indicates an expected call of GetImage.
func (*MockPowerVSMockRecorder) GetInstance ¶
func (mr *MockPowerVSMockRecorder) GetInstance(id interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockPowerVSMockRecorder) GetJob ¶
func (mr *MockPowerVSMockRecorder) GetJob(id interface{}) *gomock.Call
GetJob indicates an expected call of GetJob.