kubevirt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package kubevirt is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientFactory

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

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) EXPECT

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

func (*MockClientFactory) GetClient

func (m *MockClientFactory) GetClient(arg0 []byte) (client.Client, string, error)

GetClient mocks base method.

type MockClientFactoryMockRecorder

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

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) GetClient

func (mr *MockClientFactoryMockRecorder) GetClient(arg0 interface{}) *gomock.Call

GetClient indicates an expected call of GetClient.

type MockDataVolumeManager

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

MockDataVolumeManager is a mock of DataVolumeManager interface.

func NewMockDataVolumeManager

func NewMockDataVolumeManager(ctrl *gomock.Controller) *MockDataVolumeManager

NewMockDataVolumeManager creates a new mock instance.

func (*MockDataVolumeManager) CreateOrUpdateDataVolume

func (m *MockDataVolumeManager) CreateOrUpdateDataVolume(arg0 context.Context, arg1 []byte, arg2 string, arg3 map[string]string, arg4 v1alpha1.DataVolumeSpec) (*v1alpha1.DataVolume, error)

CreateOrUpdateDataVolume mocks base method.

func (*MockDataVolumeManager) DeleteDataVolume

func (m *MockDataVolumeManager) DeleteDataVolume(arg0 context.Context, arg1 []byte, arg2 string) error

DeleteDataVolume mocks base method.

func (*MockDataVolumeManager) EXPECT

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

func (*MockDataVolumeManager) ListDataVolumes

func (m *MockDataVolumeManager) ListDataVolumes(arg0 context.Context, arg1 []byte, arg2 map[string]string) (*v1alpha1.DataVolumeList, error)

ListDataVolumes mocks base method.

type MockDataVolumeManagerMockRecorder

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

MockDataVolumeManagerMockRecorder is the mock recorder for MockDataVolumeManager.

func (*MockDataVolumeManagerMockRecorder) CreateOrUpdateDataVolume

func (mr *MockDataVolumeManagerMockRecorder) CreateOrUpdateDataVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateOrUpdateDataVolume indicates an expected call of CreateOrUpdateDataVolume.

func (*MockDataVolumeManagerMockRecorder) DeleteDataVolume

func (mr *MockDataVolumeManagerMockRecorder) DeleteDataVolume(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteDataVolume indicates an expected call of DeleteDataVolume.

func (*MockDataVolumeManagerMockRecorder) ListDataVolumes

func (mr *MockDataVolumeManagerMockRecorder) ListDataVolumes(arg0, arg1, arg2 interface{}) *gomock.Call

ListDataVolumes indicates an expected call of ListDataVolumes.

type MockNetworkManager

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

MockNetworkManager is a mock of NetworkManager interface.

func NewMockNetworkManager

func NewMockNetworkManager(ctrl *gomock.Controller) *MockNetworkManager

NewMockNetworkManager creates a new mock instance.

func (*MockNetworkManager) CreateOrUpdateNetworkAttachmentDefinition

func (m *MockNetworkManager) CreateOrUpdateNetworkAttachmentDefinition(arg0 context.Context, arg1 []byte, arg2 string, arg3 map[string]string, arg4 string) (*v1.NetworkAttachmentDefinition, error)

CreateOrUpdateNetworkAttachmentDefinition mocks base method.

func (*MockNetworkManager) DeleteNetworkAttachmentDefinition

func (m *MockNetworkManager) DeleteNetworkAttachmentDefinition(arg0 context.Context, arg1 []byte, arg2 string) error

DeleteNetworkAttachmentDefinition mocks base method.

func (*MockNetworkManager) EXPECT

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

func (*MockNetworkManager) GetNetworkAttachmentDefinition

func (m *MockNetworkManager) GetNetworkAttachmentDefinition(arg0 context.Context, arg1 []byte, arg2, arg3 string) (*v1.NetworkAttachmentDefinition, error)

GetNetworkAttachmentDefinition mocks base method.

func (*MockNetworkManager) ListNetworkAttachmentDefinitions

func (m *MockNetworkManager) ListNetworkAttachmentDefinitions(arg0 context.Context, arg1 []byte, arg2 map[string]string) (*v1.NetworkAttachmentDefinitionList, error)

ListNetworkAttachmentDefinitions mocks base method.

type MockNetworkManagerMockRecorder

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

MockNetworkManagerMockRecorder is the mock recorder for MockNetworkManager.

func (*MockNetworkManagerMockRecorder) CreateOrUpdateNetworkAttachmentDefinition

func (mr *MockNetworkManagerMockRecorder) CreateOrUpdateNetworkAttachmentDefinition(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateOrUpdateNetworkAttachmentDefinition indicates an expected call of CreateOrUpdateNetworkAttachmentDefinition.

func (*MockNetworkManagerMockRecorder) DeleteNetworkAttachmentDefinition

func (mr *MockNetworkManagerMockRecorder) DeleteNetworkAttachmentDefinition(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteNetworkAttachmentDefinition indicates an expected call of DeleteNetworkAttachmentDefinition.

func (*MockNetworkManagerMockRecorder) GetNetworkAttachmentDefinition

func (mr *MockNetworkManagerMockRecorder) GetNetworkAttachmentDefinition(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetNetworkAttachmentDefinition indicates an expected call of GetNetworkAttachmentDefinition.

func (*MockNetworkManagerMockRecorder) ListNetworkAttachmentDefinitions

func (mr *MockNetworkManagerMockRecorder) ListNetworkAttachmentDefinitions(arg0, arg1, arg2 interface{}) *gomock.Call

ListNetworkAttachmentDefinitions indicates an expected call of ListNetworkAttachmentDefinitions.

Jump to

Keyboard shortcuts

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