Documentation ¶
Overview ¶
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Package baremetal_mocks is a generated GoMock package.
Index ¶
- type MockClusterManagerInterface
- func (m *MockClusterManagerInterface) CountDescendants(arg0 context.Context) (int, error)
- func (m *MockClusterManagerInterface) Create(arg0 context.Context) error
- func (m *MockClusterManagerInterface) Delete() error
- func (m *MockClusterManagerInterface) EXPECT() *MockClusterManagerInterfaceMockRecorder
- func (m *MockClusterManagerInterface) SetFinalizer()
- func (m *MockClusterManagerInterface) UnsetFinalizer()
- func (m *MockClusterManagerInterface) UpdateClusterStatus() error
- type MockClusterManagerInterfaceMockRecorder
- func (mr *MockClusterManagerInterfaceMockRecorder) CountDescendants(arg0 interface{}) *gomock.Call
- func (mr *MockClusterManagerInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockClusterManagerInterfaceMockRecorder) Delete() *gomock.Call
- func (mr *MockClusterManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
- func (mr *MockClusterManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
- func (mr *MockClusterManagerInterfaceMockRecorder) UpdateClusterStatus() *gomock.Call
- type MockDataManagerInterface
- func (m *MockDataManagerInterface) EXPECT() *MockDataManagerInterfaceMockRecorder
- func (m *MockDataManagerInterface) Reconcile(ctx context.Context) error
- func (m *MockDataManagerInterface) ReleaseLeases(ctx context.Context) error
- func (m *MockDataManagerInterface) SetFinalizer()
- func (m *MockDataManagerInterface) UnsetFinalizer()
- type MockDataManagerInterfaceMockRecorder
- func (mr *MockDataManagerInterfaceMockRecorder) Reconcile(ctx interface{}) *gomock.Call
- func (mr *MockDataManagerInterfaceMockRecorder) ReleaseLeases(ctx interface{}) *gomock.Call
- func (mr *MockDataManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
- func (mr *MockDataManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
- type MockDataTemplateManagerInterface
- func (m *MockDataTemplateManagerInterface) EXPECT() *MockDataTemplateManagerInterfaceMockRecorder
- func (m *MockDataTemplateManagerInterface) SetClusterOwnerRef(arg0 *v1beta1.Cluster) error
- func (m *MockDataTemplateManagerInterface) SetFinalizer()
- func (m *MockDataTemplateManagerInterface) UnsetFinalizer()
- func (m *MockDataTemplateManagerInterface) UpdateDatas(arg0 context.Context) (int, error)
- type MockDataTemplateManagerInterfaceMockRecorder
- func (mr *MockDataTemplateManagerInterfaceMockRecorder) SetClusterOwnerRef(arg0 interface{}) *gomock.Call
- func (mr *MockDataTemplateManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
- func (mr *MockDataTemplateManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
- func (mr *MockDataTemplateManagerInterfaceMockRecorder) UpdateDatas(arg0 interface{}) *gomock.Call
- type MockMachineManagerInterface
- func (m *MockMachineManagerInterface) Associate(arg0 context.Context) error
- func (m *MockMachineManagerInterface) AssociateM3Metadata(arg0 context.Context) error
- func (m *MockMachineManagerInterface) Delete(arg0 context.Context) error
- func (m *MockMachineManagerInterface) DissociateM3Metadata(arg0 context.Context) error
- func (m *MockMachineManagerInterface) EXPECT() *MockMachineManagerInterfaceMockRecorder
- func (m *MockMachineManagerInterface) GetBaremetalHostID(arg0 context.Context) (*string, error)
- func (m *MockMachineManagerInterface) GetProviderIDAndBMHID() (string, *string)
- func (m *MockMachineManagerInterface) HasAnnotation() bool
- func (m *MockMachineManagerInterface) IsBootstrapReady() bool
- func (m *MockMachineManagerInterface) IsProvisioned() bool
- func (m *MockMachineManagerInterface) RemovePauseAnnotation(arg0 context.Context) error
- func (m *MockMachineManagerInterface) SetConditionMetal3MachineToFalse(arg0 v1beta1.ConditionType, arg1 string, arg2 v1beta1.ConditionSeverity, ...)
- func (m *MockMachineManagerInterface) SetConditionMetal3MachineToTrue(arg0 v1beta1.ConditionType)
- func (m *MockMachineManagerInterface) SetError(arg0 string, arg1 errors.MachineStatusError)
- func (m *MockMachineManagerInterface) SetFinalizer()
- func (m *MockMachineManagerInterface) SetNodeProviderID(arg0 context.Context, arg1, arg2 *string, arg3 baremetal.ClientGetter) error
- func (m *MockMachineManagerInterface) SetPauseAnnotation(arg0 context.Context) error
- func (m *MockMachineManagerInterface) SetProviderID(arg0 string)
- func (m *MockMachineManagerInterface) UnsetFinalizer()
- func (m *MockMachineManagerInterface) Update(arg0 context.Context) error
- type MockMachineManagerInterfaceMockRecorder
- func (mr *MockMachineManagerInterfaceMockRecorder) Associate(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) AssociateM3Metadata(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) DissociateM3Metadata(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) GetBaremetalHostID(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) GetProviderIDAndBMHID() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) HasAnnotation() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) IsBootstrapReady() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) IsProvisioned() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) RemovePauseAnnotation(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToFalse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToTrue(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetError(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetNodeProviderID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetPauseAnnotation(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) SetProviderID(arg0 interface{}) *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
- func (mr *MockMachineManagerInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockManagerFactoryInterface
- func (m *MockManagerFactoryInterface) EXPECT() *MockManagerFactoryInterfaceMockRecorder
- func (m *MockManagerFactoryInterface) NewClusterManager(cluster *v1beta10.Cluster, metal3Cluster *v1beta1.Metal3Cluster, ...) (baremetal.ClusterManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewDataManager(arg0 *v1beta1.Metal3Data, arg1 logr.Logger) (baremetal.DataManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewDataTemplateManager(arg0 *v1beta1.Metal3DataTemplate, arg1 logr.Logger) (baremetal.DataTemplateManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewMachineManager(arg0 *v1beta10.Cluster, arg1 *v1beta1.Metal3Cluster, arg2 *v1beta10.Machine, ...) (baremetal.MachineManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewMachineTemplateManager(capm3Template *v1beta1.Metal3MachineTemplate, ...) (baremetal.TemplateManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewRemediationManager(arg0 *v1beta1.Metal3Remediation, arg1 *v1beta1.Metal3Machine, ...) (baremetal.RemediationManagerInterface, error)
- type MockManagerFactoryInterfaceMockRecorder
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewClusterManager(cluster, metal3Cluster, clusterLog interface{}) *gomock.Call
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewDataManager(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewDataTemplateManager(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewMachineManager(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewMachineTemplateManager(capm3Template, capm3MachineList, metadataLog interface{}) *gomock.Call
- func (mr *MockManagerFactoryInterfaceMockRecorder) NewRemediationManager(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockRemediationManagerInterface
- func (m *MockRemediationManagerInterface) DeleteNode(ctx context.Context, clusterClient v11.CoreV1Interface, node *v1.Node) error
- func (m *MockRemediationManagerInterface) EXPECT() *MockRemediationManagerInterfaceMockRecorder
- func (m *MockRemediationManagerInterface) GetCapiMachine(ctx context.Context) (*v1beta10.Machine, error)
- func (m *MockRemediationManagerInterface) GetClusterClient(ctx context.Context) (v11.CoreV1Interface, error)
- func (m *MockRemediationManagerInterface) GetLastRemediatedTime() *v10.Time
- func (m *MockRemediationManagerInterface) GetNode(ctx context.Context, clusterClient v11.CoreV1Interface) (*v1.Node, error)
- func (m *MockRemediationManagerInterface) GetNodeBackupAnnotations() (string, string)
- func (m *MockRemediationManagerInterface) GetRemediationPhase() string
- func (m *MockRemediationManagerInterface) GetRemediationType() v1beta1.RemediationType
- func (m *MockRemediationManagerInterface) GetTimeout() *v10.Duration
- func (m *MockRemediationManagerInterface) GetUnhealthyHost(ctx context.Context) (*v1alpha1.BareMetalHost, *patch.Helper, error)
- func (m *MockRemediationManagerInterface) HasFinalizer() bool
- func (m *MockRemediationManagerInterface) HasReachRetryLimit() bool
- func (m *MockRemediationManagerInterface) IncreaseRetryCount()
- func (m *MockRemediationManagerInterface) IsPowerOffRequested(ctx context.Context) (bool, error)
- func (m *MockRemediationManagerInterface) IsPoweredOn(ctx context.Context) (bool, error)
- func (m *MockRemediationManagerInterface) OnlineStatus(host *v1alpha1.BareMetalHost) bool
- func (m *MockRemediationManagerInterface) RemoveNodeBackupAnnotations()
- func (m *MockRemediationManagerInterface) RemovePowerOffAnnotation(ctx context.Context) error
- func (m *MockRemediationManagerInterface) RetryLimitIsSet() bool
- func (m *MockRemediationManagerInterface) SetFinalizer()
- func (m *MockRemediationManagerInterface) SetLastRemediationTime(remediationTime *v10.Time)
- func (m *MockRemediationManagerInterface) SetNodeBackupAnnotations(annotations, labels string) bool
- func (m *MockRemediationManagerInterface) SetOwnerRemediatedConditionNew(ctx context.Context) error
- func (m *MockRemediationManagerInterface) SetPowerOffAnnotation(ctx context.Context) error
- func (m *MockRemediationManagerInterface) SetRemediationPhase(phase string)
- func (m *MockRemediationManagerInterface) SetUnhealthyAnnotation(ctx context.Context) error
- func (m *MockRemediationManagerInterface) TimeToRemediate(timeout time.Duration) (bool, time.Duration)
- func (m *MockRemediationManagerInterface) UnsetFinalizer()
- func (m *MockRemediationManagerInterface) UpdateNode(ctx context.Context, clusterClient v11.CoreV1Interface, node *v1.Node) error
- type MockRemediationManagerInterfaceMockRecorder
- func (mr *MockRemediationManagerInterfaceMockRecorder) DeleteNode(ctx, clusterClient, node interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetCapiMachine(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetClusterClient(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetNode(ctx, clusterClient interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetNodeBackupAnnotations() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationPhase() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationType() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetTimeout() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetUnhealthyHost(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) HasFinalizer() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) HasReachRetryLimit() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) IsPowerOffRequested(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) IsPoweredOn(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) OnlineStatus(host interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) RemoveNodeBackupAnnotations() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) RemovePowerOffAnnotation(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) RetryLimitIsSet() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetLastRemediationTime(remediationTime interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetNodeBackupAnnotations(annotations, labels interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetOwnerRemediatedConditionNew(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetPowerOffAnnotation(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetRemediationPhase(phase interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetUnhealthyAnnotation(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) TimeToRemediate(timeout interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) UpdateNode(ctx, clusterClient, node interface{}) *gomock.Call
- type MockTemplateManagerInterface
- type MockTemplateManagerInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterManagerInterface ¶
type MockClusterManagerInterface struct {
// contains filtered or unexported fields
}
MockClusterManagerInterface is a mock of ClusterManagerInterface interface.
func NewMockClusterManagerInterface ¶
func NewMockClusterManagerInterface(ctrl *gomock.Controller) *MockClusterManagerInterface
NewMockClusterManagerInterface creates a new mock instance.
func (*MockClusterManagerInterface) CountDescendants ¶
func (m *MockClusterManagerInterface) CountDescendants(arg0 context.Context) (int, error)
CountDescendants mocks base method.
func (*MockClusterManagerInterface) Create ¶
func (m *MockClusterManagerInterface) Create(arg0 context.Context) error
Create mocks base method.
func (*MockClusterManagerInterface) Delete ¶
func (m *MockClusterManagerInterface) Delete() error
Delete mocks base method.
func (*MockClusterManagerInterface) EXPECT ¶
func (m *MockClusterManagerInterface) EXPECT() *MockClusterManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterManagerInterface) SetFinalizer ¶
func (m *MockClusterManagerInterface) SetFinalizer()
SetFinalizer mocks base method.
func (*MockClusterManagerInterface) UnsetFinalizer ¶
func (m *MockClusterManagerInterface) UnsetFinalizer()
UnsetFinalizer mocks base method.
func (*MockClusterManagerInterface) UpdateClusterStatus ¶
func (m *MockClusterManagerInterface) UpdateClusterStatus() error
UpdateClusterStatus mocks base method.
type MockClusterManagerInterfaceMockRecorder ¶
type MockClusterManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterManagerInterfaceMockRecorder is the mock recorder for MockClusterManagerInterface.
func (*MockClusterManagerInterfaceMockRecorder) CountDescendants ¶
func (mr *MockClusterManagerInterfaceMockRecorder) CountDescendants(arg0 interface{}) *gomock.Call
CountDescendants indicates an expected call of CountDescendants.
func (*MockClusterManagerInterfaceMockRecorder) Create ¶
func (mr *MockClusterManagerInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClusterManagerInterfaceMockRecorder) Delete ¶
func (mr *MockClusterManagerInterfaceMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClusterManagerInterfaceMockRecorder) SetFinalizer ¶
func (mr *MockClusterManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
SetFinalizer indicates an expected call of SetFinalizer.
func (*MockClusterManagerInterfaceMockRecorder) UnsetFinalizer ¶
func (mr *MockClusterManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
UnsetFinalizer indicates an expected call of UnsetFinalizer.
func (*MockClusterManagerInterfaceMockRecorder) UpdateClusterStatus ¶
func (mr *MockClusterManagerInterfaceMockRecorder) UpdateClusterStatus() *gomock.Call
UpdateClusterStatus indicates an expected call of UpdateClusterStatus.
type MockDataManagerInterface ¶ added in v0.4.0
type MockDataManagerInterface struct {
// contains filtered or unexported fields
}
MockDataManagerInterface is a mock of DataManagerInterface interface.
func NewMockDataManagerInterface ¶ added in v0.4.0
func NewMockDataManagerInterface(ctrl *gomock.Controller) *MockDataManagerInterface
NewMockDataManagerInterface creates a new mock instance.
func (*MockDataManagerInterface) EXPECT ¶ added in v0.4.0
func (m *MockDataManagerInterface) EXPECT() *MockDataManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataManagerInterface) Reconcile ¶ added in v0.4.0
func (m *MockDataManagerInterface) Reconcile(ctx context.Context) error
Reconcile mocks base method.
func (*MockDataManagerInterface) ReleaseLeases ¶ added in v0.4.0
func (m *MockDataManagerInterface) ReleaseLeases(ctx context.Context) error
ReleaseLeases mocks base method.
func (*MockDataManagerInterface) SetFinalizer ¶ added in v0.4.0
func (m *MockDataManagerInterface) SetFinalizer()
SetFinalizer mocks base method.
func (*MockDataManagerInterface) UnsetFinalizer ¶ added in v0.4.0
func (m *MockDataManagerInterface) UnsetFinalizer()
UnsetFinalizer mocks base method.
type MockDataManagerInterfaceMockRecorder ¶ added in v0.4.0
type MockDataManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDataManagerInterfaceMockRecorder is the mock recorder for MockDataManagerInterface.
func (*MockDataManagerInterfaceMockRecorder) Reconcile ¶ added in v0.4.0
func (mr *MockDataManagerInterfaceMockRecorder) Reconcile(ctx interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.
func (*MockDataManagerInterfaceMockRecorder) ReleaseLeases ¶ added in v0.4.0
func (mr *MockDataManagerInterfaceMockRecorder) ReleaseLeases(ctx interface{}) *gomock.Call
ReleaseLeases indicates an expected call of ReleaseLeases.
func (*MockDataManagerInterfaceMockRecorder) SetFinalizer ¶ added in v0.4.0
func (mr *MockDataManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
SetFinalizer indicates an expected call of SetFinalizer.
func (*MockDataManagerInterfaceMockRecorder) UnsetFinalizer ¶ added in v0.4.0
func (mr *MockDataManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
UnsetFinalizer indicates an expected call of UnsetFinalizer.
type MockDataTemplateManagerInterface ¶ added in v0.4.0
type MockDataTemplateManagerInterface struct {
// contains filtered or unexported fields
}
MockDataTemplateManagerInterface is a mock of DataTemplateManagerInterface interface.
func NewMockDataTemplateManagerInterface ¶ added in v0.4.0
func NewMockDataTemplateManagerInterface(ctrl *gomock.Controller) *MockDataTemplateManagerInterface
NewMockDataTemplateManagerInterface creates a new mock instance.
func (*MockDataTemplateManagerInterface) EXPECT ¶ added in v0.4.0
func (m *MockDataTemplateManagerInterface) EXPECT() *MockDataTemplateManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataTemplateManagerInterface) SetClusterOwnerRef ¶ added in v0.4.0
func (m *MockDataTemplateManagerInterface) SetClusterOwnerRef(arg0 *v1beta1.Cluster) error
SetClusterOwnerRef mocks base method.
func (*MockDataTemplateManagerInterface) SetFinalizer ¶ added in v0.4.0
func (m *MockDataTemplateManagerInterface) SetFinalizer()
SetFinalizer mocks base method.
func (*MockDataTemplateManagerInterface) UnsetFinalizer ¶ added in v0.4.0
func (m *MockDataTemplateManagerInterface) UnsetFinalizer()
UnsetFinalizer mocks base method.
func (*MockDataTemplateManagerInterface) UpdateDatas ¶ added in v0.4.0
func (m *MockDataTemplateManagerInterface) UpdateDatas(arg0 context.Context) (int, error)
UpdateDatas mocks base method.
type MockDataTemplateManagerInterfaceMockRecorder ¶ added in v0.4.0
type MockDataTemplateManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDataTemplateManagerInterfaceMockRecorder is the mock recorder for MockDataTemplateManagerInterface.
func (*MockDataTemplateManagerInterfaceMockRecorder) SetClusterOwnerRef ¶ added in v0.4.0
func (mr *MockDataTemplateManagerInterfaceMockRecorder) SetClusterOwnerRef(arg0 interface{}) *gomock.Call
SetClusterOwnerRef indicates an expected call of SetClusterOwnerRef.
func (*MockDataTemplateManagerInterfaceMockRecorder) SetFinalizer ¶ added in v0.4.0
func (mr *MockDataTemplateManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
SetFinalizer indicates an expected call of SetFinalizer.
func (*MockDataTemplateManagerInterfaceMockRecorder) UnsetFinalizer ¶ added in v0.4.0
func (mr *MockDataTemplateManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
UnsetFinalizer indicates an expected call of UnsetFinalizer.
func (*MockDataTemplateManagerInterfaceMockRecorder) UpdateDatas ¶ added in v0.4.0
func (mr *MockDataTemplateManagerInterfaceMockRecorder) UpdateDatas(arg0 interface{}) *gomock.Call
UpdateDatas indicates an expected call of UpdateDatas.
type MockMachineManagerInterface ¶
type MockMachineManagerInterface struct {
// contains filtered or unexported fields
}
MockMachineManagerInterface is a mock of MachineManagerInterface interface.
func NewMockMachineManagerInterface ¶
func NewMockMachineManagerInterface(ctrl *gomock.Controller) *MockMachineManagerInterface
NewMockMachineManagerInterface creates a new mock instance.
func (*MockMachineManagerInterface) Associate ¶
func (m *MockMachineManagerInterface) Associate(arg0 context.Context) error
Associate mocks base method.
func (*MockMachineManagerInterface) AssociateM3Metadata ¶ added in v0.4.0
func (m *MockMachineManagerInterface) AssociateM3Metadata(arg0 context.Context) error
AssociateM3Metadata mocks base method.
func (*MockMachineManagerInterface) Delete ¶
func (m *MockMachineManagerInterface) Delete(arg0 context.Context) error
Delete mocks base method.
func (*MockMachineManagerInterface) DissociateM3Metadata ¶ added in v0.4.0
func (m *MockMachineManagerInterface) DissociateM3Metadata(arg0 context.Context) error
DissociateM3Metadata mocks base method.
func (*MockMachineManagerInterface) EXPECT ¶
func (m *MockMachineManagerInterface) EXPECT() *MockMachineManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachineManagerInterface) GetBaremetalHostID ¶
func (m *MockMachineManagerInterface) GetBaremetalHostID(arg0 context.Context) (*string, error)
GetBaremetalHostID mocks base method.
func (*MockMachineManagerInterface) GetProviderIDAndBMHID ¶ added in v0.3.2
func (m *MockMachineManagerInterface) GetProviderIDAndBMHID() (string, *string)
GetProviderIDAndBMHID mocks base method.
func (*MockMachineManagerInterface) HasAnnotation ¶
func (m *MockMachineManagerInterface) HasAnnotation() bool
HasAnnotation mocks base method.
func (*MockMachineManagerInterface) IsBootstrapReady ¶
func (m *MockMachineManagerInterface) IsBootstrapReady() bool
IsBootstrapReady mocks base method.
func (*MockMachineManagerInterface) IsProvisioned ¶
func (m *MockMachineManagerInterface) IsProvisioned() bool
IsProvisioned mocks base method.
func (*MockMachineManagerInterface) RemovePauseAnnotation ¶ added in v0.4.0
func (m *MockMachineManagerInterface) RemovePauseAnnotation(arg0 context.Context) error
RemovePauseAnnotation mocks base method.
func (*MockMachineManagerInterface) SetConditionMetal3MachineToFalse ¶ added in v1.1.0
func (m *MockMachineManagerInterface) SetConditionMetal3MachineToFalse(arg0 v1beta1.ConditionType, arg1 string, arg2 v1beta1.ConditionSeverity, arg3 string, arg4 ...interface{})
SetConditionMetal3MachineToFalse mocks base method.
func (*MockMachineManagerInterface) SetConditionMetal3MachineToTrue ¶ added in v1.1.0
func (m *MockMachineManagerInterface) SetConditionMetal3MachineToTrue(arg0 v1beta1.ConditionType)
SetConditionMetal3MachineToTrue mocks base method.
func (*MockMachineManagerInterface) SetError ¶ added in v0.4.0
func (m *MockMachineManagerInterface) SetError(arg0 string, arg1 errors.MachineStatusError)
SetError mocks base method.
func (*MockMachineManagerInterface) SetFinalizer ¶
func (m *MockMachineManagerInterface) SetFinalizer()
SetFinalizer mocks base method.
func (*MockMachineManagerInterface) SetNodeProviderID ¶
func (m *MockMachineManagerInterface) SetNodeProviderID(arg0 context.Context, arg1, arg2 *string, arg3 baremetal.ClientGetter) error
SetNodeProviderID mocks base method.
func (*MockMachineManagerInterface) SetPauseAnnotation ¶ added in v0.4.0
func (m *MockMachineManagerInterface) SetPauseAnnotation(arg0 context.Context) error
SetPauseAnnotation mocks base method.
func (*MockMachineManagerInterface) SetProviderID ¶
func (m *MockMachineManagerInterface) SetProviderID(arg0 string)
SetProviderID mocks base method.
func (*MockMachineManagerInterface) UnsetFinalizer ¶
func (m *MockMachineManagerInterface) UnsetFinalizer()
UnsetFinalizer mocks base method.
type MockMachineManagerInterfaceMockRecorder ¶
type MockMachineManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineManagerInterfaceMockRecorder is the mock recorder for MockMachineManagerInterface.
func (*MockMachineManagerInterfaceMockRecorder) Associate ¶
func (mr *MockMachineManagerInterfaceMockRecorder) Associate(arg0 interface{}) *gomock.Call
Associate indicates an expected call of Associate.
func (*MockMachineManagerInterfaceMockRecorder) AssociateM3Metadata ¶ added in v0.4.0
func (mr *MockMachineManagerInterfaceMockRecorder) AssociateM3Metadata(arg0 interface{}) *gomock.Call
AssociateM3Metadata indicates an expected call of AssociateM3Metadata.
func (*MockMachineManagerInterfaceMockRecorder) Delete ¶
func (mr *MockMachineManagerInterfaceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMachineManagerInterfaceMockRecorder) DissociateM3Metadata ¶ added in v0.4.0
func (mr *MockMachineManagerInterfaceMockRecorder) DissociateM3Metadata(arg0 interface{}) *gomock.Call
DissociateM3Metadata indicates an expected call of DissociateM3Metadata.
func (*MockMachineManagerInterfaceMockRecorder) GetBaremetalHostID ¶
func (mr *MockMachineManagerInterfaceMockRecorder) GetBaremetalHostID(arg0 interface{}) *gomock.Call
GetBaremetalHostID indicates an expected call of GetBaremetalHostID.
func (*MockMachineManagerInterfaceMockRecorder) GetProviderIDAndBMHID ¶ added in v0.3.2
func (mr *MockMachineManagerInterfaceMockRecorder) GetProviderIDAndBMHID() *gomock.Call
GetProviderIDAndBMHID indicates an expected call of GetProviderIDAndBMHID.
func (*MockMachineManagerInterfaceMockRecorder) HasAnnotation ¶
func (mr *MockMachineManagerInterfaceMockRecorder) HasAnnotation() *gomock.Call
HasAnnotation indicates an expected call of HasAnnotation.
func (*MockMachineManagerInterfaceMockRecorder) IsBootstrapReady ¶
func (mr *MockMachineManagerInterfaceMockRecorder) IsBootstrapReady() *gomock.Call
IsBootstrapReady indicates an expected call of IsBootstrapReady.
func (*MockMachineManagerInterfaceMockRecorder) IsProvisioned ¶
func (mr *MockMachineManagerInterfaceMockRecorder) IsProvisioned() *gomock.Call
IsProvisioned indicates an expected call of IsProvisioned.
func (*MockMachineManagerInterfaceMockRecorder) RemovePauseAnnotation ¶ added in v0.4.0
func (mr *MockMachineManagerInterfaceMockRecorder) RemovePauseAnnotation(arg0 interface{}) *gomock.Call
RemovePauseAnnotation indicates an expected call of RemovePauseAnnotation.
func (*MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToFalse ¶ added in v1.1.0
func (mr *MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToFalse(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
SetConditionMetal3MachineToFalse indicates an expected call of SetConditionMetal3MachineToFalse.
func (*MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToTrue ¶ added in v1.1.0
func (mr *MockMachineManagerInterfaceMockRecorder) SetConditionMetal3MachineToTrue(arg0 interface{}) *gomock.Call
SetConditionMetal3MachineToTrue indicates an expected call of SetConditionMetal3MachineToTrue.
func (*MockMachineManagerInterfaceMockRecorder) SetError ¶ added in v0.4.0
func (mr *MockMachineManagerInterfaceMockRecorder) SetError(arg0, arg1 interface{}) *gomock.Call
SetError indicates an expected call of SetError.
func (*MockMachineManagerInterfaceMockRecorder) SetFinalizer ¶
func (mr *MockMachineManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
SetFinalizer indicates an expected call of SetFinalizer.
func (*MockMachineManagerInterfaceMockRecorder) SetNodeProviderID ¶
func (mr *MockMachineManagerInterfaceMockRecorder) SetNodeProviderID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetNodeProviderID indicates an expected call of SetNodeProviderID.
func (*MockMachineManagerInterfaceMockRecorder) SetPauseAnnotation ¶ added in v0.4.0
func (mr *MockMachineManagerInterfaceMockRecorder) SetPauseAnnotation(arg0 interface{}) *gomock.Call
SetPauseAnnotation indicates an expected call of SetPauseAnnotation.
func (*MockMachineManagerInterfaceMockRecorder) SetProviderID ¶
func (mr *MockMachineManagerInterfaceMockRecorder) SetProviderID(arg0 interface{}) *gomock.Call
SetProviderID indicates an expected call of SetProviderID.
func (*MockMachineManagerInterfaceMockRecorder) UnsetFinalizer ¶
func (mr *MockMachineManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
UnsetFinalizer indicates an expected call of UnsetFinalizer.
func (*MockMachineManagerInterfaceMockRecorder) Update ¶
func (mr *MockMachineManagerInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockManagerFactoryInterface ¶ added in v0.4.0
type MockManagerFactoryInterface struct {
// contains filtered or unexported fields
}
MockManagerFactoryInterface is a mock of ManagerFactoryInterface interface.
func NewMockManagerFactoryInterface ¶ added in v0.4.0
func NewMockManagerFactoryInterface(ctrl *gomock.Controller) *MockManagerFactoryInterface
NewMockManagerFactoryInterface creates a new mock instance.
func (*MockManagerFactoryInterface) EXPECT ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) EXPECT() *MockManagerFactoryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagerFactoryInterface) NewClusterManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewClusterManager(cluster *v1beta10.Cluster, metal3Cluster *v1beta1.Metal3Cluster, clusterLog logr.Logger) (baremetal.ClusterManagerInterface, error)
NewClusterManager mocks base method.
func (*MockManagerFactoryInterface) NewDataManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewDataManager(arg0 *v1beta1.Metal3Data, arg1 logr.Logger) (baremetal.DataManagerInterface, error)
NewDataManager mocks base method.
func (*MockManagerFactoryInterface) NewDataTemplateManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewDataTemplateManager(arg0 *v1beta1.Metal3DataTemplate, arg1 logr.Logger) (baremetal.DataTemplateManagerInterface, error)
NewDataTemplateManager mocks base method.
func (*MockManagerFactoryInterface) NewMachineManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewMachineManager(arg0 *v1beta10.Cluster, arg1 *v1beta1.Metal3Cluster, arg2 *v1beta10.Machine, arg3 *v1beta1.Metal3Machine, arg4 logr.Logger) (baremetal.MachineManagerInterface, error)
NewMachineManager mocks base method.
func (*MockManagerFactoryInterface) NewMachineTemplateManager ¶ added in v0.5.0
func (m *MockManagerFactoryInterface) NewMachineTemplateManager(capm3Template *v1beta1.Metal3MachineTemplate, capm3MachineList *v1beta1.Metal3MachineList, metadataLog logr.Logger) (baremetal.TemplateManagerInterface, error)
NewMachineTemplateManager mocks base method.
func (*MockManagerFactoryInterface) NewRemediationManager ¶ added in v0.5.2
func (m *MockManagerFactoryInterface) NewRemediationManager(arg0 *v1beta1.Metal3Remediation, arg1 *v1beta1.Metal3Machine, arg2 *v1beta10.Machine, arg3 logr.Logger) (baremetal.RemediationManagerInterface, error)
NewRemediationManager mocks base method.
type MockManagerFactoryInterfaceMockRecorder ¶ added in v0.4.0
type MockManagerFactoryInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerFactoryInterfaceMockRecorder is the mock recorder for MockManagerFactoryInterface.
func (*MockManagerFactoryInterfaceMockRecorder) NewClusterManager ¶ added in v0.4.0
func (mr *MockManagerFactoryInterfaceMockRecorder) NewClusterManager(cluster, metal3Cluster, clusterLog interface{}) *gomock.Call
NewClusterManager indicates an expected call of NewClusterManager.
func (*MockManagerFactoryInterfaceMockRecorder) NewDataManager ¶ added in v0.4.0
func (mr *MockManagerFactoryInterfaceMockRecorder) NewDataManager(arg0, arg1 interface{}) *gomock.Call
NewDataManager indicates an expected call of NewDataManager.
func (*MockManagerFactoryInterfaceMockRecorder) NewDataTemplateManager ¶ added in v0.4.0
func (mr *MockManagerFactoryInterfaceMockRecorder) NewDataTemplateManager(arg0, arg1 interface{}) *gomock.Call
NewDataTemplateManager indicates an expected call of NewDataTemplateManager.
func (*MockManagerFactoryInterfaceMockRecorder) NewMachineManager ¶ added in v0.4.0
func (mr *MockManagerFactoryInterfaceMockRecorder) NewMachineManager(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
NewMachineManager indicates an expected call of NewMachineManager.
func (*MockManagerFactoryInterfaceMockRecorder) NewMachineTemplateManager ¶ added in v0.5.0
func (mr *MockManagerFactoryInterfaceMockRecorder) NewMachineTemplateManager(capm3Template, capm3MachineList, metadataLog interface{}) *gomock.Call
NewMachineTemplateManager indicates an expected call of NewMachineTemplateManager.
func (*MockManagerFactoryInterfaceMockRecorder) NewRemediationManager ¶ added in v0.5.2
func (mr *MockManagerFactoryInterfaceMockRecorder) NewRemediationManager(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewRemediationManager indicates an expected call of NewRemediationManager.
type MockRemediationManagerInterface ¶ added in v0.5.2
type MockRemediationManagerInterface struct {
// contains filtered or unexported fields
}
MockRemediationManagerInterface is a mock of RemediationManagerInterface interface.
func NewMockRemediationManagerInterface ¶ added in v0.5.2
func NewMockRemediationManagerInterface(ctrl *gomock.Controller) *MockRemediationManagerInterface
NewMockRemediationManagerInterface creates a new mock instance.
func (*MockRemediationManagerInterface) DeleteNode ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) DeleteNode(ctx context.Context, clusterClient v11.CoreV1Interface, node *v1.Node) error
DeleteNode mocks base method.
func (*MockRemediationManagerInterface) EXPECT ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) EXPECT() *MockRemediationManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRemediationManagerInterface) GetCapiMachine ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetCapiMachine(ctx context.Context) (*v1beta10.Machine, error)
GetCapiMachine mocks base method.
func (*MockRemediationManagerInterface) GetClusterClient ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) GetClusterClient(ctx context.Context) (v11.CoreV1Interface, error)
GetClusterClient mocks base method.
func (*MockRemediationManagerInterface) GetLastRemediatedTime ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetLastRemediatedTime() *v10.Time
GetLastRemediatedTime mocks base method.
func (*MockRemediationManagerInterface) GetNode ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) GetNode(ctx context.Context, clusterClient v11.CoreV1Interface) (*v1.Node, error)
GetNode mocks base method.
func (*MockRemediationManagerInterface) GetNodeBackupAnnotations ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) GetNodeBackupAnnotations() (string, string)
GetNodeBackupAnnotations mocks base method.
func (*MockRemediationManagerInterface) GetRemediationPhase ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetRemediationPhase() string
GetRemediationPhase mocks base method.
func (*MockRemediationManagerInterface) GetRemediationType ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetRemediationType() v1beta1.RemediationType
GetRemediationType mocks base method.
func (*MockRemediationManagerInterface) GetTimeout ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetTimeout() *v10.Duration
GetTimeout mocks base method.
func (*MockRemediationManagerInterface) GetUnhealthyHost ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetUnhealthyHost(ctx context.Context) (*v1alpha1.BareMetalHost, *patch.Helper, error)
GetUnhealthyHost mocks base method.
func (*MockRemediationManagerInterface) HasFinalizer ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) HasFinalizer() bool
HasFinalizer mocks base method.
func (*MockRemediationManagerInterface) HasReachRetryLimit ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) HasReachRetryLimit() bool
HasReachRetryLimit mocks base method.
func (*MockRemediationManagerInterface) IncreaseRetryCount ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) IncreaseRetryCount()
IncreaseRetryCount mocks base method.
func (*MockRemediationManagerInterface) IsPowerOffRequested ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) IsPowerOffRequested(ctx context.Context) (bool, error)
IsPowerOffRequested mocks base method.
func (*MockRemediationManagerInterface) IsPoweredOn ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) IsPoweredOn(ctx context.Context) (bool, error)
IsPoweredOn mocks base method.
func (*MockRemediationManagerInterface) OnlineStatus ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) OnlineStatus(host *v1alpha1.BareMetalHost) bool
OnlineStatus mocks base method.
func (*MockRemediationManagerInterface) RemoveNodeBackupAnnotations ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) RemoveNodeBackupAnnotations()
RemoveNodeBackupAnnotations mocks base method.
func (*MockRemediationManagerInterface) RemovePowerOffAnnotation ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) RemovePowerOffAnnotation(ctx context.Context) error
RemovePowerOffAnnotation mocks base method.
func (*MockRemediationManagerInterface) RetryLimitIsSet ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) RetryLimitIsSet() bool
RetryLimitIsSet mocks base method.
func (*MockRemediationManagerInterface) SetFinalizer ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetFinalizer()
SetFinalizer mocks base method.
func (*MockRemediationManagerInterface) SetLastRemediationTime ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetLastRemediationTime(remediationTime *v10.Time)
SetLastRemediationTime mocks base method.
func (*MockRemediationManagerInterface) SetNodeBackupAnnotations ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) SetNodeBackupAnnotations(annotations, labels string) bool
SetNodeBackupAnnotations mocks base method.
func (*MockRemediationManagerInterface) SetOwnerRemediatedConditionNew ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetOwnerRemediatedConditionNew(ctx context.Context) error
SetOwnerRemediatedConditionNew mocks base method.
func (*MockRemediationManagerInterface) SetPowerOffAnnotation ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) SetPowerOffAnnotation(ctx context.Context) error
SetPowerOffAnnotation mocks base method.
func (*MockRemediationManagerInterface) SetRemediationPhase ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetRemediationPhase(phase string)
SetRemediationPhase mocks base method.
func (*MockRemediationManagerInterface) SetUnhealthyAnnotation ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetUnhealthyAnnotation(ctx context.Context) error
SetUnhealthyAnnotation mocks base method.
func (*MockRemediationManagerInterface) TimeToRemediate ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) TimeToRemediate(timeout time.Duration) (bool, time.Duration)
TimeToRemediate mocks base method.
func (*MockRemediationManagerInterface) UnsetFinalizer ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) UnsetFinalizer()
UnsetFinalizer mocks base method.
func (*MockRemediationManagerInterface) UpdateNode ¶ added in v1.1.3
func (m *MockRemediationManagerInterface) UpdateNode(ctx context.Context, clusterClient v11.CoreV1Interface, node *v1.Node) error
UpdateNode mocks base method.
type MockRemediationManagerInterfaceMockRecorder ¶ added in v0.5.2
type MockRemediationManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRemediationManagerInterfaceMockRecorder is the mock recorder for MockRemediationManagerInterface.
func (*MockRemediationManagerInterfaceMockRecorder) DeleteNode ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) DeleteNode(ctx, clusterClient, node interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode.
func (*MockRemediationManagerInterfaceMockRecorder) GetCapiMachine ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetCapiMachine(ctx interface{}) *gomock.Call
GetCapiMachine indicates an expected call of GetCapiMachine.
func (*MockRemediationManagerInterfaceMockRecorder) GetClusterClient ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) GetClusterClient(ctx interface{}) *gomock.Call
GetClusterClient indicates an expected call of GetClusterClient.
func (*MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime() *gomock.Call
GetLastRemediatedTime indicates an expected call of GetLastRemediatedTime.
func (*MockRemediationManagerInterfaceMockRecorder) GetNode ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) GetNode(ctx, clusterClient interface{}) *gomock.Call
GetNode indicates an expected call of GetNode.
func (*MockRemediationManagerInterfaceMockRecorder) GetNodeBackupAnnotations ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) GetNodeBackupAnnotations() *gomock.Call
GetNodeBackupAnnotations indicates an expected call of GetNodeBackupAnnotations.
func (*MockRemediationManagerInterfaceMockRecorder) GetRemediationPhase ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationPhase() *gomock.Call
GetRemediationPhase indicates an expected call of GetRemediationPhase.
func (*MockRemediationManagerInterfaceMockRecorder) GetRemediationType ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetRemediationType() *gomock.Call
GetRemediationType indicates an expected call of GetRemediationType.
func (*MockRemediationManagerInterfaceMockRecorder) GetTimeout ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetTimeout() *gomock.Call
GetTimeout indicates an expected call of GetTimeout.
func (*MockRemediationManagerInterfaceMockRecorder) GetUnhealthyHost ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetUnhealthyHost(ctx interface{}) *gomock.Call
GetUnhealthyHost indicates an expected call of GetUnhealthyHost.
func (*MockRemediationManagerInterfaceMockRecorder) HasFinalizer ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) HasFinalizer() *gomock.Call
HasFinalizer indicates an expected call of HasFinalizer.
func (*MockRemediationManagerInterfaceMockRecorder) HasReachRetryLimit ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) HasReachRetryLimit() *gomock.Call
HasReachRetryLimit indicates an expected call of HasReachRetryLimit.
func (*MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount() *gomock.Call
IncreaseRetryCount indicates an expected call of IncreaseRetryCount.
func (*MockRemediationManagerInterfaceMockRecorder) IsPowerOffRequested ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) IsPowerOffRequested(ctx interface{}) *gomock.Call
IsPowerOffRequested indicates an expected call of IsPowerOffRequested.
func (*MockRemediationManagerInterfaceMockRecorder) IsPoweredOn ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) IsPoweredOn(ctx interface{}) *gomock.Call
IsPoweredOn indicates an expected call of IsPoweredOn.
func (*MockRemediationManagerInterfaceMockRecorder) OnlineStatus ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) OnlineStatus(host interface{}) *gomock.Call
OnlineStatus indicates an expected call of OnlineStatus.
func (*MockRemediationManagerInterfaceMockRecorder) RemoveNodeBackupAnnotations ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) RemoveNodeBackupAnnotations() *gomock.Call
RemoveNodeBackupAnnotations indicates an expected call of RemoveNodeBackupAnnotations.
func (*MockRemediationManagerInterfaceMockRecorder) RemovePowerOffAnnotation ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) RemovePowerOffAnnotation(ctx interface{}) *gomock.Call
RemovePowerOffAnnotation indicates an expected call of RemovePowerOffAnnotation.
func (*MockRemediationManagerInterfaceMockRecorder) RetryLimitIsSet ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) RetryLimitIsSet() *gomock.Call
RetryLimitIsSet indicates an expected call of RetryLimitIsSet.
func (*MockRemediationManagerInterfaceMockRecorder) SetFinalizer ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetFinalizer() *gomock.Call
SetFinalizer indicates an expected call of SetFinalizer.
func (*MockRemediationManagerInterfaceMockRecorder) SetLastRemediationTime ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetLastRemediationTime(remediationTime interface{}) *gomock.Call
SetLastRemediationTime indicates an expected call of SetLastRemediationTime.
func (*MockRemediationManagerInterfaceMockRecorder) SetNodeBackupAnnotations ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) SetNodeBackupAnnotations(annotations, labels interface{}) *gomock.Call
SetNodeBackupAnnotations indicates an expected call of SetNodeBackupAnnotations.
func (*MockRemediationManagerInterfaceMockRecorder) SetOwnerRemediatedConditionNew ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetOwnerRemediatedConditionNew(ctx interface{}) *gomock.Call
SetOwnerRemediatedConditionNew indicates an expected call of SetOwnerRemediatedConditionNew.
func (*MockRemediationManagerInterfaceMockRecorder) SetPowerOffAnnotation ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) SetPowerOffAnnotation(ctx interface{}) *gomock.Call
SetPowerOffAnnotation indicates an expected call of SetPowerOffAnnotation.
func (*MockRemediationManagerInterfaceMockRecorder) SetRemediationPhase ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetRemediationPhase(phase interface{}) *gomock.Call
SetRemediationPhase indicates an expected call of SetRemediationPhase.
func (*MockRemediationManagerInterfaceMockRecorder) SetUnhealthyAnnotation ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetUnhealthyAnnotation(ctx interface{}) *gomock.Call
SetUnhealthyAnnotation indicates an expected call of SetUnhealthyAnnotation.
func (*MockRemediationManagerInterfaceMockRecorder) TimeToRemediate ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) TimeToRemediate(timeout interface{}) *gomock.Call
TimeToRemediate indicates an expected call of TimeToRemediate.
func (*MockRemediationManagerInterfaceMockRecorder) UnsetFinalizer ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) UnsetFinalizer() *gomock.Call
UnsetFinalizer indicates an expected call of UnsetFinalizer.
func (*MockRemediationManagerInterfaceMockRecorder) UpdateNode ¶ added in v1.1.3
func (mr *MockRemediationManagerInterfaceMockRecorder) UpdateNode(ctx, clusterClient, node interface{}) *gomock.Call
UpdateNode indicates an expected call of UpdateNode.
type MockTemplateManagerInterface ¶ added in v1.1.0
type MockTemplateManagerInterface struct {
// contains filtered or unexported fields
}
MockTemplateManagerInterface is a mock of TemplateManagerInterface interface.
func NewMockTemplateManagerInterface ¶ added in v1.1.0
func NewMockTemplateManagerInterface(ctrl *gomock.Controller) *MockTemplateManagerInterface
NewMockTemplateManagerInterface creates a new mock instance.
func (*MockTemplateManagerInterface) EXPECT ¶ added in v1.1.0
func (m *MockTemplateManagerInterface) EXPECT() *MockTemplateManagerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTemplateManagerInterface) UpdateAutomatedCleaningMode ¶ added in v1.1.0
func (m *MockTemplateManagerInterface) UpdateAutomatedCleaningMode(arg0 context.Context) error
UpdateAutomatedCleaningMode mocks base method.
type MockTemplateManagerInterfaceMockRecorder ¶ added in v1.1.0
type MockTemplateManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockTemplateManagerInterfaceMockRecorder is the mock recorder for MockTemplateManagerInterface.
func (*MockTemplateManagerInterfaceMockRecorder) UpdateAutomatedCleaningMode ¶ added in v1.1.0
func (mr *MockTemplateManagerInterfaceMockRecorder) UpdateAutomatedCleaningMode(arg0 interface{}) *gomock.Call
UpdateAutomatedCleaningMode indicates an expected call of UpdateAutomatedCleaningMode.