Documentation ¶
Overview ¶
Package mock_openshift is a generated GoMock package.
Index ¶
- type MockOpenshiftContextInterface
- func (m *MockOpenshiftContextInterface) ChangeMachineConfigPoolPause(arg0 context.Context, arg1 *v1.MachineConfigPool, arg2 bool) error
- func (m *MockOpenshiftContextInterface) EXPECT() *MockOpenshiftContextInterfaceMockRecorder
- func (m *MockOpenshiftContextInterface) GetFlavor() openshift.OpenshiftFlavor
- func (m *MockOpenshiftContextInterface) GetNodeMachinePoolName(arg0 context.Context, arg1 *v10.Node) (string, error)
- func (m *MockOpenshiftContextInterface) IsHypershift() bool
- func (m *MockOpenshiftContextInterface) IsOpenshiftCluster() bool
- func (m *MockOpenshiftContextInterface) OpenshiftAfterCompleteDrainNode(arg0 context.Context, arg1 *v10.Node) (bool, error)
- func (m *MockOpenshiftContextInterface) OpenshiftBeforeDrainNode(arg0 context.Context, arg1 *v10.Node) (bool, error)
- type MockOpenshiftContextInterfaceMockRecorder
- func (mr *MockOpenshiftContextInterfaceMockRecorder) ChangeMachineConfigPoolPause(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) GetFlavor() *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) GetNodeMachinePoolName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) IsHypershift() *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) IsOpenshiftCluster() *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) OpenshiftAfterCompleteDrainNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOpenshiftContextInterfaceMockRecorder) OpenshiftBeforeDrainNode(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOpenshiftContextInterface ¶
type MockOpenshiftContextInterface struct {
// contains filtered or unexported fields
}
MockOpenshiftContextInterface is a mock of OpenshiftContextInterface interface.
func NewMockOpenshiftContextInterface ¶
func NewMockOpenshiftContextInterface(ctrl *gomock.Controller) *MockOpenshiftContextInterface
NewMockOpenshiftContextInterface creates a new mock instance.
func (*MockOpenshiftContextInterface) ChangeMachineConfigPoolPause ¶
func (m *MockOpenshiftContextInterface) ChangeMachineConfigPoolPause(arg0 context.Context, arg1 *v1.MachineConfigPool, arg2 bool) error
ChangeMachineConfigPoolPause mocks base method.
func (*MockOpenshiftContextInterface) EXPECT ¶
func (m *MockOpenshiftContextInterface) EXPECT() *MockOpenshiftContextInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOpenshiftContextInterface) GetFlavor ¶
func (m *MockOpenshiftContextInterface) GetFlavor() openshift.OpenshiftFlavor
GetFlavor mocks base method.
func (*MockOpenshiftContextInterface) GetNodeMachinePoolName ¶
func (m *MockOpenshiftContextInterface) GetNodeMachinePoolName(arg0 context.Context, arg1 *v10.Node) (string, error)
GetNodeMachinePoolName mocks base method.
func (*MockOpenshiftContextInterface) IsHypershift ¶
func (m *MockOpenshiftContextInterface) IsHypershift() bool
IsHypershift mocks base method.
func (*MockOpenshiftContextInterface) IsOpenshiftCluster ¶
func (m *MockOpenshiftContextInterface) IsOpenshiftCluster() bool
IsOpenshiftCluster mocks base method.
func (*MockOpenshiftContextInterface) OpenshiftAfterCompleteDrainNode ¶
func (m *MockOpenshiftContextInterface) OpenshiftAfterCompleteDrainNode(arg0 context.Context, arg1 *v10.Node) (bool, error)
OpenshiftAfterCompleteDrainNode mocks base method.
func (*MockOpenshiftContextInterface) OpenshiftBeforeDrainNode ¶
func (m *MockOpenshiftContextInterface) OpenshiftBeforeDrainNode(arg0 context.Context, arg1 *v10.Node) (bool, error)
OpenshiftBeforeDrainNode mocks base method.
type MockOpenshiftContextInterfaceMockRecorder ¶
type MockOpenshiftContextInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenshiftContextInterfaceMockRecorder is the mock recorder for MockOpenshiftContextInterface.
func (*MockOpenshiftContextInterfaceMockRecorder) ChangeMachineConfigPoolPause ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) ChangeMachineConfigPoolPause(arg0, arg1, arg2 interface{}) *gomock.Call
ChangeMachineConfigPoolPause indicates an expected call of ChangeMachineConfigPoolPause.
func (*MockOpenshiftContextInterfaceMockRecorder) GetFlavor ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) GetFlavor() *gomock.Call
GetFlavor indicates an expected call of GetFlavor.
func (*MockOpenshiftContextInterfaceMockRecorder) GetNodeMachinePoolName ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) GetNodeMachinePoolName(arg0, arg1 interface{}) *gomock.Call
GetNodeMachinePoolName indicates an expected call of GetNodeMachinePoolName.
func (*MockOpenshiftContextInterfaceMockRecorder) IsHypershift ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) IsHypershift() *gomock.Call
IsHypershift indicates an expected call of IsHypershift.
func (*MockOpenshiftContextInterfaceMockRecorder) IsOpenshiftCluster ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) IsOpenshiftCluster() *gomock.Call
IsOpenshiftCluster indicates an expected call of IsOpenshiftCluster.
func (*MockOpenshiftContextInterfaceMockRecorder) OpenshiftAfterCompleteDrainNode ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) OpenshiftAfterCompleteDrainNode(arg0, arg1 interface{}) *gomock.Call
OpenshiftAfterCompleteDrainNode indicates an expected call of OpenshiftAfterCompleteDrainNode.
func (*MockOpenshiftContextInterfaceMockRecorder) OpenshiftBeforeDrainNode ¶
func (mr *MockOpenshiftContextInterfaceMockRecorder) OpenshiftBeforeDrainNode(arg0, arg1 interface{}) *gomock.Call
OpenshiftBeforeDrainNode indicates an expected call of OpenshiftBeforeDrainNode.