mock

package
v0.2.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL