mock_platforms

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_platforms is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) ChangeMachineConfigPoolPause

func (m *MockInterface) ChangeMachineConfigPoolPause(arg0 context.Context, arg1 *v10.MachineConfigPool, arg2 bool) error

ChangeMachineConfigPoolPause mocks base method.

func (*MockInterface) CreateOpenstackDevicesInfo

func (m *MockInterface) CreateOpenstackDevicesInfo() error

CreateOpenstackDevicesInfo mocks base method.

func (*MockInterface) CreateOpenstackDevicesInfoFromNodeStatus

func (m *MockInterface) CreateOpenstackDevicesInfoFromNodeStatus(arg0 *v1.SriovNetworkNodeState)

CreateOpenstackDevicesInfoFromNodeStatus mocks base method.

func (*MockInterface) DiscoverSriovDevicesVirtual

func (m *MockInterface) DiscoverSriovDevicesVirtual() ([]v1.InterfaceExt, error)

DiscoverSriovDevicesVirtual mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetFlavor

func (m *MockInterface) GetFlavor() openshift.OpenshiftFlavor

GetFlavor mocks base method.

func (*MockInterface) GetNodeMachinePoolName

func (m *MockInterface) GetNodeMachinePoolName(arg0 context.Context, arg1 *v11.Node) (string, error)

GetNodeMachinePoolName mocks base method.

func (*MockInterface) IsHypershift

func (m *MockInterface) IsHypershift() bool

IsHypershift mocks base method.

func (*MockInterface) IsOpenshiftCluster

func (m *MockInterface) IsOpenshiftCluster() bool

IsOpenshiftCluster mocks base method.

func (*MockInterface) OpenshiftAfterCompleteDrainNode

func (m *MockInterface) OpenshiftAfterCompleteDrainNode(arg0 context.Context, arg1 *v11.Node) (bool, error)

OpenshiftAfterCompleteDrainNode mocks base method.

func (*MockInterface) OpenshiftBeforeDrainNode

func (m *MockInterface) OpenshiftBeforeDrainNode(arg0 context.Context, arg1 *v11.Node) (bool, error)

OpenshiftBeforeDrainNode mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) ChangeMachineConfigPoolPause

func (mr *MockInterfaceMockRecorder) ChangeMachineConfigPoolPause(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeMachineConfigPoolPause indicates an expected call of ChangeMachineConfigPoolPause.

func (*MockInterfaceMockRecorder) CreateOpenstackDevicesInfo

func (mr *MockInterfaceMockRecorder) CreateOpenstackDevicesInfo() *gomock.Call

CreateOpenstackDevicesInfo indicates an expected call of CreateOpenstackDevicesInfo.

func (*MockInterfaceMockRecorder) CreateOpenstackDevicesInfoFromNodeStatus

func (mr *MockInterfaceMockRecorder) CreateOpenstackDevicesInfoFromNodeStatus(arg0 interface{}) *gomock.Call

CreateOpenstackDevicesInfoFromNodeStatus indicates an expected call of CreateOpenstackDevicesInfoFromNodeStatus.

func (*MockInterfaceMockRecorder) DiscoverSriovDevicesVirtual

func (mr *MockInterfaceMockRecorder) DiscoverSriovDevicesVirtual() *gomock.Call

DiscoverSriovDevicesVirtual indicates an expected call of DiscoverSriovDevicesVirtual.

func (*MockInterfaceMockRecorder) GetFlavor

func (mr *MockInterfaceMockRecorder) GetFlavor() *gomock.Call

GetFlavor indicates an expected call of GetFlavor.

func (*MockInterfaceMockRecorder) GetNodeMachinePoolName

func (mr *MockInterfaceMockRecorder) GetNodeMachinePoolName(arg0, arg1 interface{}) *gomock.Call

GetNodeMachinePoolName indicates an expected call of GetNodeMachinePoolName.

func (*MockInterfaceMockRecorder) IsHypershift

func (mr *MockInterfaceMockRecorder) IsHypershift() *gomock.Call

IsHypershift indicates an expected call of IsHypershift.

func (*MockInterfaceMockRecorder) IsOpenshiftCluster

func (mr *MockInterfaceMockRecorder) IsOpenshiftCluster() *gomock.Call

IsOpenshiftCluster indicates an expected call of IsOpenshiftCluster.

func (*MockInterfaceMockRecorder) OpenshiftAfterCompleteDrainNode

func (mr *MockInterfaceMockRecorder) OpenshiftAfterCompleteDrainNode(arg0, arg1 interface{}) *gomock.Call

OpenshiftAfterCompleteDrainNode indicates an expected call of OpenshiftAfterCompleteDrainNode.

func (*MockInterfaceMockRecorder) OpenshiftBeforeDrainNode

func (mr *MockInterfaceMockRecorder) OpenshiftBeforeDrainNode(arg0, arg1 interface{}) *gomock.Call

OpenshiftBeforeDrainNode indicates an expected call of OpenshiftBeforeDrainNode.

Jump to

Keyboard shortcuts

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