mock

package
v0.0.0-...-2b86969 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 6 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 MockMachineProvider

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

MockMachineProvider is a mock of MachineProvider interface.

func NewMockMachineProvider

func NewMockMachineProvider(ctrl *gomock.Controller) *MockMachineProvider

NewMockMachineProvider creates a new mock instance.

func (*MockMachineProvider) CreateMachine

func (m *MockMachineProvider) CreateMachine(arg0 context.Context, arg1 logr.Logger, arg2 int32) error

CreateMachine mocks base method.

func (*MockMachineProvider) DeleteMachine

func (m *MockMachineProvider) DeleteMachine(arg0 context.Context, arg1 logr.Logger, arg2 *machineproviders.ObjectRef) error

DeleteMachine mocks base method.

func (*MockMachineProvider) EXPECT

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

func (*MockMachineProvider) GetMachineInfos

func (m *MockMachineProvider) GetMachineInfos(arg0 context.Context, arg1 logr.Logger) ([]machineproviders.MachineInfo, error)

GetMachineInfos mocks base method.

func (*MockMachineProvider) WithClient

WithClient mocks base method.

type MockMachineProviderMockRecorder

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

MockMachineProviderMockRecorder is the mock recorder for MockMachineProvider.

func (*MockMachineProviderMockRecorder) CreateMachine

func (mr *MockMachineProviderMockRecorder) CreateMachine(arg0, arg1, arg2 interface{}) *gomock.Call

CreateMachine indicates an expected call of CreateMachine.

func (*MockMachineProviderMockRecorder) DeleteMachine

func (mr *MockMachineProviderMockRecorder) DeleteMachine(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteMachine indicates an expected call of DeleteMachine.

func (*MockMachineProviderMockRecorder) GetMachineInfos

func (mr *MockMachineProviderMockRecorder) GetMachineInfos(arg0, arg1 interface{}) *gomock.Call

GetMachineInfos indicates an expected call of GetMachineInfos.

func (*MockMachineProviderMockRecorder) WithClient

func (mr *MockMachineProviderMockRecorder) WithClient(arg0, arg1, arg2 interface{}) *gomock.Call

WithClient indicates an expected call of WithClient.

Jump to

Keyboard shortcuts

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