mock_kubevirt

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_kubevirt is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMachineFactory

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

MockMachineFactory is a mock of MachineFactory interface.

func NewMockMachineFactory

func NewMockMachineFactory(ctrl *gomock.Controller) *MockMachineFactory

NewMockMachineFactory creates a new mock instance.

func (*MockMachineFactory) EXPECT

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

func (*MockMachineFactory) NewMachine

NewMachine mocks base method.

type MockMachineFactoryMockRecorder

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

MockMachineFactoryMockRecorder is the mock recorder for MockMachineFactory.

func (*MockMachineFactoryMockRecorder) NewMachine

func (mr *MockMachineFactoryMockRecorder) NewMachine(ctx, client, namespace, sshKeys interface{}) *gomock.Call

NewMachine indicates an expected call of NewMachine.

type MockMachineInterface

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

MockMachineInterface is a mock of MachineInterface interface.

func NewMockMachineInterface

func NewMockMachineInterface(ctrl *gomock.Controller) *MockMachineInterface

NewMockMachineInterface creates a new mock instance.

func (*MockMachineInterface) Address

func (m *MockMachineInterface) Address() string

Address mocks base method.

func (*MockMachineInterface) Create

func (m *MockMachineInterface) Create(ctx context.Context) error

Create mocks base method.

func (*MockMachineInterface) Delete

func (m *MockMachineInterface) Delete() error

Delete mocks base method.

func (*MockMachineInterface) DrainNodeIfNeeded added in v0.1.8

DrainNodeIfNeeded mocks base method.

func (*MockMachineInterface) EXPECT

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

func (*MockMachineInterface) Exists

func (m *MockMachineInterface) Exists() bool

Exists mocks base method.

func (*MockMachineInterface) GenerateProviderID

func (m *MockMachineInterface) GenerateProviderID() (string, error)

GenerateProviderID mocks base method.

func (*MockMachineInterface) IsBootstrapped

func (m *MockMachineInterface) IsBootstrapped() bool

IsBootstrapped mocks base method.

func (*MockMachineInterface) IsReady

func (m *MockMachineInterface) IsReady() bool

IsReady mocks base method.

func (*MockMachineInterface) IsTerminal

func (m *MockMachineInterface) IsTerminal() (bool, string, error)

IsTerminal mocks base method.

func (*MockMachineInterface) SupportsCheckingIsBootstrapped

func (m *MockMachineInterface) SupportsCheckingIsBootstrapped() bool

SupportsCheckingIsBootstrapped mocks base method.

type MockMachineInterfaceMockRecorder

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

MockMachineInterfaceMockRecorder is the mock recorder for MockMachineInterface.

func (*MockMachineInterfaceMockRecorder) Address

Address indicates an expected call of Address.

func (*MockMachineInterfaceMockRecorder) Create

func (mr *MockMachineInterfaceMockRecorder) Create(ctx interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockMachineInterfaceMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockMachineInterfaceMockRecorder) DrainNodeIfNeeded added in v0.1.8

func (mr *MockMachineInterfaceMockRecorder) DrainNodeIfNeeded(arg0 interface{}) *gomock.Call

DrainNodeIfNeeded indicates an expected call of DrainNodeIfNeeded.

func (*MockMachineInterfaceMockRecorder) Exists

Exists indicates an expected call of Exists.

func (*MockMachineInterfaceMockRecorder) GenerateProviderID

func (mr *MockMachineInterfaceMockRecorder) GenerateProviderID() *gomock.Call

GenerateProviderID indicates an expected call of GenerateProviderID.

func (*MockMachineInterfaceMockRecorder) IsBootstrapped

func (mr *MockMachineInterfaceMockRecorder) IsBootstrapped() *gomock.Call

IsBootstrapped indicates an expected call of IsBootstrapped.

func (*MockMachineInterfaceMockRecorder) IsReady

IsReady indicates an expected call of IsReady.

func (*MockMachineInterfaceMockRecorder) IsTerminal

func (mr *MockMachineInterfaceMockRecorder) IsTerminal() *gomock.Call

IsTerminal indicates an expected call of IsTerminal.

func (*MockMachineInterfaceMockRecorder) SupportsCheckingIsBootstrapped

func (mr *MockMachineInterfaceMockRecorder) SupportsCheckingIsBootstrapped() *gomock.Call

SupportsCheckingIsBootstrapped indicates an expected call of SupportsCheckingIsBootstrapped.

Jump to

Keyboard shortcuts

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