baremetal_mocks

package
v0.0.0-...-11ba601 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package baremetal_mocks is a generated GoMock package.

Package baremetal_mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManagerFactoryInterface

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

MockManagerFactoryInterface is a mock of ManagerFactoryInterface interface.

func NewMockManagerFactoryInterface

func NewMockManagerFactoryInterface(ctrl *gomock.Controller) *MockManagerFactoryInterface

NewMockManagerFactoryInterface creates a new mock instance.

func (*MockManagerFactoryInterface) EXPECT

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

func (*MockManagerFactoryInterface) NewRemediationManager

NewRemediationManager mocks base method.

type MockManagerFactoryInterfaceMockRecorder

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

MockManagerFactoryInterfaceMockRecorder is the mock recorder for MockManagerFactoryInterface.

func (*MockManagerFactoryInterfaceMockRecorder) NewRemediationManager

func (mr *MockManagerFactoryInterfaceMockRecorder) NewRemediationManager(arg0, arg1, arg2 interface{}) *gomock.Call

NewRemediationManager indicates an expected call of NewRemediationManager.

type MockRemediationManagerInterface

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

MockRemediationManagerInterface is a mock of RemediationManagerInterface interface.

func NewMockRemediationManagerInterface

func NewMockRemediationManagerInterface(ctrl *gomock.Controller) *MockRemediationManagerInterface

NewMockRemediationManagerInterface creates a new mock instance.

func (*MockRemediationManagerInterface) CanReprovision

func (m *MockRemediationManagerInterface) CanReprovision(arg0 context.Context) (bool, error)

CanReprovision mocks base method.

func (*MockRemediationManagerInterface) DeleteMachine

func (m *MockRemediationManagerInterface) DeleteMachine(ctx context.Context) error

DeleteMachine mocks base method.

func (*MockRemediationManagerInterface) DeleteNode

func (m *MockRemediationManagerInterface) DeleteNode(ctx context.Context, node *v1.Node) error

DeleteNode mocks base method.

func (*MockRemediationManagerInterface) EXPECT

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

func (*MockRemediationManagerInterface) GetLastRemediatedTime

func (m *MockRemediationManagerInterface) GetLastRemediatedTime() *v10.Time

GetLastRemediatedTime mocks base method.

func (*MockRemediationManagerInterface) GetNode

GetNode mocks base method.

func (*MockRemediationManagerInterface) GetNodeBackupAnnotations

func (m *MockRemediationManagerInterface) GetNodeBackupAnnotations() (string, string)

GetNodeBackupAnnotations mocks base method.

func (*MockRemediationManagerInterface) GetRemediationPhase

func (m *MockRemediationManagerInterface) GetRemediationPhase() string

GetRemediationPhase mocks base method.

func (*MockRemediationManagerInterface) GetRemediationType

GetRemediationType mocks base method.

func (*MockRemediationManagerInterface) GetTimeout

func (m *MockRemediationManagerInterface) GetTimeout() *v10.Duration

GetTimeout mocks base method.

func (*MockRemediationManagerInterface) GetUnhealthyHost

GetUnhealthyHost mocks base method.

func (*MockRemediationManagerInterface) HasFinalizer

func (m *MockRemediationManagerInterface) HasFinalizer() bool

HasFinalizer mocks base method.

func (*MockRemediationManagerInterface) HasReachRetryLimit

func (m *MockRemediationManagerInterface) HasReachRetryLimit() bool

HasReachRetryLimit mocks base method.

func (*MockRemediationManagerInterface) IncreaseRetryCount

func (m *MockRemediationManagerInterface) IncreaseRetryCount()

IncreaseRetryCount mocks base method.

func (*MockRemediationManagerInterface) IsPowerOffRequested

func (m *MockRemediationManagerInterface) IsPowerOffRequested(ctx context.Context) (bool, error)

IsPowerOffRequested mocks base method.

func (*MockRemediationManagerInterface) IsPoweredOn

func (m *MockRemediationManagerInterface) IsPoweredOn(ctx context.Context) (bool, error)

IsPoweredOn mocks base method.

func (*MockRemediationManagerInterface) OnlineStatus

OnlineStatus mocks base method.

func (*MockRemediationManagerInterface) RemoveNodeBackupAnnotations

func (m *MockRemediationManagerInterface) RemoveNodeBackupAnnotations()

RemoveNodeBackupAnnotations mocks base method.

func (*MockRemediationManagerInterface) RemovePowerOffAnnotation

func (m *MockRemediationManagerInterface) RemovePowerOffAnnotation(ctx context.Context) error

RemovePowerOffAnnotation mocks base method.

func (*MockRemediationManagerInterface) RetryLimitIsSet

func (m *MockRemediationManagerInterface) RetryLimitIsSet() bool

RetryLimitIsSet mocks base method.

func (*MockRemediationManagerInterface) SetFinalizer

func (m *MockRemediationManagerInterface) SetFinalizer()

SetFinalizer mocks base method.

func (*MockRemediationManagerInterface) SetLastRemediationTime

func (m *MockRemediationManagerInterface) SetLastRemediationTime(remediationTime *v10.Time)

SetLastRemediationTime mocks base method.

func (*MockRemediationManagerInterface) SetNodeBackupAnnotations

func (m *MockRemediationManagerInterface) SetNodeBackupAnnotations(annotations, labels string) bool

SetNodeBackupAnnotations mocks base method.

func (*MockRemediationManagerInterface) SetPowerOffAnnotation

func (m *MockRemediationManagerInterface) SetPowerOffAnnotation(ctx context.Context) error

SetPowerOffAnnotation mocks base method.

func (*MockRemediationManagerInterface) SetRemediationPhase

func (m *MockRemediationManagerInterface) SetRemediationPhase(phase string)

SetRemediationPhase mocks base method.

func (*MockRemediationManagerInterface) SetUnhealthyAnnotation

func (m *MockRemediationManagerInterface) SetUnhealthyAnnotation(ctx context.Context) error

SetUnhealthyAnnotation mocks base method.

func (*MockRemediationManagerInterface) TimeToRemediate

func (m *MockRemediationManagerInterface) TimeToRemediate(timeout time.Duration) (bool, time.Duration)

TimeToRemediate mocks base method.

func (*MockRemediationManagerInterface) UnsetFinalizer

func (m *MockRemediationManagerInterface) UnsetFinalizer()

UnsetFinalizer mocks base method.

func (*MockRemediationManagerInterface) UpdateNode

func (m *MockRemediationManagerInterface) UpdateNode(ctx context.Context, node *v1.Node) error

UpdateNode mocks base method.

type MockRemediationManagerInterfaceMockRecorder

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

MockRemediationManagerInterfaceMockRecorder is the mock recorder for MockRemediationManagerInterface.

func (*MockRemediationManagerInterfaceMockRecorder) CanReprovision

func (mr *MockRemediationManagerInterfaceMockRecorder) CanReprovision(arg0 interface{}) *gomock.Call

CanReprovision indicates an expected call of CanReprovision.

func (*MockRemediationManagerInterfaceMockRecorder) DeleteMachine

func (mr *MockRemediationManagerInterfaceMockRecorder) DeleteMachine(ctx interface{}) *gomock.Call

DeleteMachine indicates an expected call of DeleteMachine.

func (*MockRemediationManagerInterfaceMockRecorder) DeleteNode

func (mr *MockRemediationManagerInterfaceMockRecorder) DeleteNode(ctx, node interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode.

func (*MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime

func (mr *MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime() *gomock.Call

GetLastRemediatedTime indicates an expected call of GetLastRemediatedTime.

func (*MockRemediationManagerInterfaceMockRecorder) GetNode

func (mr *MockRemediationManagerInterfaceMockRecorder) GetNode(ctx interface{}) *gomock.Call

GetNode indicates an expected call of GetNode.

func (*MockRemediationManagerInterfaceMockRecorder) GetNodeBackupAnnotations

func (mr *MockRemediationManagerInterfaceMockRecorder) GetNodeBackupAnnotations() *gomock.Call

GetNodeBackupAnnotations indicates an expected call of GetNodeBackupAnnotations.

func (*MockRemediationManagerInterfaceMockRecorder) GetRemediationPhase

func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationPhase() *gomock.Call

GetRemediationPhase indicates an expected call of GetRemediationPhase.

func (*MockRemediationManagerInterfaceMockRecorder) GetRemediationType

func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationType() *gomock.Call

GetRemediationType indicates an expected call of GetRemediationType.

func (*MockRemediationManagerInterfaceMockRecorder) GetTimeout

GetTimeout indicates an expected call of GetTimeout.

func (*MockRemediationManagerInterfaceMockRecorder) GetUnhealthyHost

func (mr *MockRemediationManagerInterfaceMockRecorder) GetUnhealthyHost(ctx interface{}) *gomock.Call

GetUnhealthyHost indicates an expected call of GetUnhealthyHost.

func (*MockRemediationManagerInterfaceMockRecorder) HasFinalizer

HasFinalizer indicates an expected call of HasFinalizer.

func (*MockRemediationManagerInterfaceMockRecorder) HasReachRetryLimit

func (mr *MockRemediationManagerInterfaceMockRecorder) HasReachRetryLimit() *gomock.Call

HasReachRetryLimit indicates an expected call of HasReachRetryLimit.

func (*MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount

func (mr *MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount() *gomock.Call

IncreaseRetryCount indicates an expected call of IncreaseRetryCount.

func (*MockRemediationManagerInterfaceMockRecorder) IsPowerOffRequested

func (mr *MockRemediationManagerInterfaceMockRecorder) IsPowerOffRequested(ctx interface{}) *gomock.Call

IsPowerOffRequested indicates an expected call of IsPowerOffRequested.

func (*MockRemediationManagerInterfaceMockRecorder) IsPoweredOn

func (mr *MockRemediationManagerInterfaceMockRecorder) IsPoweredOn(ctx interface{}) *gomock.Call

IsPoweredOn indicates an expected call of IsPoweredOn.

func (*MockRemediationManagerInterfaceMockRecorder) OnlineStatus

func (mr *MockRemediationManagerInterfaceMockRecorder) OnlineStatus(host interface{}) *gomock.Call

OnlineStatus indicates an expected call of OnlineStatus.

func (*MockRemediationManagerInterfaceMockRecorder) RemoveNodeBackupAnnotations

func (mr *MockRemediationManagerInterfaceMockRecorder) RemoveNodeBackupAnnotations() *gomock.Call

RemoveNodeBackupAnnotations indicates an expected call of RemoveNodeBackupAnnotations.

func (*MockRemediationManagerInterfaceMockRecorder) RemovePowerOffAnnotation

func (mr *MockRemediationManagerInterfaceMockRecorder) RemovePowerOffAnnotation(ctx interface{}) *gomock.Call

RemovePowerOffAnnotation indicates an expected call of RemovePowerOffAnnotation.

func (*MockRemediationManagerInterfaceMockRecorder) RetryLimitIsSet

RetryLimitIsSet indicates an expected call of RetryLimitIsSet.

func (*MockRemediationManagerInterfaceMockRecorder) SetFinalizer

SetFinalizer indicates an expected call of SetFinalizer.

func (*MockRemediationManagerInterfaceMockRecorder) SetLastRemediationTime

func (mr *MockRemediationManagerInterfaceMockRecorder) SetLastRemediationTime(remediationTime interface{}) *gomock.Call

SetLastRemediationTime indicates an expected call of SetLastRemediationTime.

func (*MockRemediationManagerInterfaceMockRecorder) SetNodeBackupAnnotations

func (mr *MockRemediationManagerInterfaceMockRecorder) SetNodeBackupAnnotations(annotations, labels interface{}) *gomock.Call

SetNodeBackupAnnotations indicates an expected call of SetNodeBackupAnnotations.

func (*MockRemediationManagerInterfaceMockRecorder) SetPowerOffAnnotation

func (mr *MockRemediationManagerInterfaceMockRecorder) SetPowerOffAnnotation(ctx interface{}) *gomock.Call

SetPowerOffAnnotation indicates an expected call of SetPowerOffAnnotation.

func (*MockRemediationManagerInterfaceMockRecorder) SetRemediationPhase

func (mr *MockRemediationManagerInterfaceMockRecorder) SetRemediationPhase(phase interface{}) *gomock.Call

SetRemediationPhase indicates an expected call of SetRemediationPhase.

func (*MockRemediationManagerInterfaceMockRecorder) SetUnhealthyAnnotation

func (mr *MockRemediationManagerInterfaceMockRecorder) SetUnhealthyAnnotation(ctx interface{}) *gomock.Call

SetUnhealthyAnnotation indicates an expected call of SetUnhealthyAnnotation.

func (*MockRemediationManagerInterfaceMockRecorder) TimeToRemediate

func (mr *MockRemediationManagerInterfaceMockRecorder) TimeToRemediate(timeout interface{}) *gomock.Call

TimeToRemediate indicates an expected call of TimeToRemediate.

func (*MockRemediationManagerInterfaceMockRecorder) UnsetFinalizer

UnsetFinalizer indicates an expected call of UnsetFinalizer.

func (*MockRemediationManagerInterfaceMockRecorder) UpdateNode

func (mr *MockRemediationManagerInterfaceMockRecorder) UpdateNode(ctx, node interface{}) *gomock.Call

UpdateNode indicates an expected call of UpdateNode.

Jump to

Keyboard shortcuts

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