mock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 4 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 MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateDataVolume

func (m *MockClient) CreateDataVolume(vm *v1beta1.DataVolume) error

CreateDataVolume mocks base method.

func (*MockClient) CreateVirtualMachine

func (m *MockClient) CreateVirtualMachine(vm *v1.VirtualMachine) error

CreateVirtualMachine mocks base method.

func (*MockClient) DeleteDataVolume

func (m *MockClient) DeleteDataVolume(namespace, name string) error

DeleteDataVolume mocks base method.

func (*MockClient) DeleteVirtualMachine

func (m *MockClient) DeleteVirtualMachine(namespace, name string) error

DeleteVirtualMachine mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetDataVolume

func (m *MockClient) GetDataVolume(namespace, name string) (*v1beta1.DataVolume, error)

GetDataVolume mocks base method.

func (*MockClient) GetVirtualMachine

func (m *MockClient) GetVirtualMachine(namespace, name string) (*v1.VirtualMachine, error)

GetVirtualMachine mocks base method.

func (*MockClient) UpdateDataVolume

func (m *MockClient) UpdateDataVolume(namespace, name string, dv *v1beta1.DataVolume, data []byte) error

UpdateDataVolume mocks base method.

func (*MockClient) UpdateVirtualMachine

func (m *MockClient) UpdateVirtualMachine(namespace, name string, vm *v1.VirtualMachine, data []byte) error

UpdateVirtualMachine mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateDataVolume

func (mr *MockClientMockRecorder) CreateDataVolume(vm interface{}) *gomock.Call

CreateDataVolume indicates an expected call of CreateDataVolume.

func (*MockClientMockRecorder) CreateVirtualMachine

func (mr *MockClientMockRecorder) CreateVirtualMachine(vm interface{}) *gomock.Call

CreateVirtualMachine indicates an expected call of CreateVirtualMachine.

func (*MockClientMockRecorder) DeleteDataVolume

func (mr *MockClientMockRecorder) DeleteDataVolume(namespace, name interface{}) *gomock.Call

DeleteDataVolume indicates an expected call of DeleteDataVolume.

func (*MockClientMockRecorder) DeleteVirtualMachine

func (mr *MockClientMockRecorder) DeleteVirtualMachine(namespace, name interface{}) *gomock.Call

DeleteVirtualMachine indicates an expected call of DeleteVirtualMachine.

func (*MockClientMockRecorder) GetDataVolume

func (mr *MockClientMockRecorder) GetDataVolume(namespace, name interface{}) *gomock.Call

GetDataVolume indicates an expected call of GetDataVolume.

func (*MockClientMockRecorder) GetVirtualMachine

func (mr *MockClientMockRecorder) GetVirtualMachine(namespace, name interface{}) *gomock.Call

GetVirtualMachine indicates an expected call of GetVirtualMachine.

func (*MockClientMockRecorder) UpdateDataVolume

func (mr *MockClientMockRecorder) UpdateDataVolume(namespace, name, dv, data interface{}) *gomock.Call

UpdateDataVolume indicates an expected call of UpdateDataVolume.

func (*MockClientMockRecorder) UpdateVirtualMachine

func (mr *MockClientMockRecorder) UpdateVirtualMachine(namespace, name, vm, data interface{}) *gomock.Call

UpdateVirtualMachine indicates an expected call of UpdateVirtualMachine.

Jump to

Keyboard shortcuts

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