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.
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 *v1alpha4.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) 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) 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 *v1alpha4.Cluster, metal3Cluster *v1alpha5.Metal3Cluster, ...) (baremetal.ClusterManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewDataManager(arg0 *v1alpha5.Metal3Data, arg1 logr.Logger) (baremetal.DataManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewDataTemplateManager(arg0 *v1alpha5.Metal3DataTemplate, arg1 logr.Logger) (baremetal.DataTemplateManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewMachineManager(arg0 *v1alpha4.Cluster, arg1 *v1alpha5.Metal3Cluster, arg2 *v1alpha4.Machine, ...) (baremetal.MachineManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewMachineTemplateManager(capm3Template *v1alpha5.Metal3MachineTemplate, ...) (baremetal.TemplateManagerInterface, error)
- func (m *MockManagerFactoryInterface) NewRemediationManager(arg0 *v1alpha5.Metal3Remediation, arg1 *v1alpha5.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) EXPECT() *MockRemediationManagerInterfaceMockRecorder
- func (m *MockRemediationManagerInterface) GetCapiMachine(ctx context.Context) (*v1alpha4.Machine, error)
- func (m *MockRemediationManagerInterface) GetLastRemediatedTime() *v1.Time
- func (m *MockRemediationManagerInterface) GetRemediationPhase() string
- func (m *MockRemediationManagerInterface) GetRemediationType() v1alpha5.RemediationType
- func (m *MockRemediationManagerInterface) GetTimeout() *v1.Duration
- func (m *MockRemediationManagerInterface) GetUnhealthyHost(ctx context.Context) (*v1alpha1.BareMetalHost, *patch.Helper, error)
- func (m *MockRemediationManagerInterface) HasReachRetryLimit() bool
- func (m *MockRemediationManagerInterface) IncreaseRetryCount()
- func (m *MockRemediationManagerInterface) OnlineStatus(host *v1alpha1.BareMetalHost) bool
- func (m *MockRemediationManagerInterface) RetryLimitIsSet() bool
- func (m *MockRemediationManagerInterface) SetFinalizer()
- func (m *MockRemediationManagerInterface) SetLastRemediationTime(remediationTime *v1.Time)
- func (m *MockRemediationManagerInterface) SetOwnerRemediatedConditionNew(ctx context.Context) error
- func (m *MockRemediationManagerInterface) SetRebootAnnotation(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()
- type MockRemediationManagerInterfaceMockRecorder
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetCapiMachine(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime() *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) HasReachRetryLimit() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) IncreaseRetryCount() *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) OnlineStatus(host 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) SetOwnerRemediatedConditionNew(ctx interface{}) *gomock.Call
- func (mr *MockRemediationManagerInterfaceMockRecorder) SetRebootAnnotation(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
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 *v1alpha4.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) 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) 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 *v1alpha4.Cluster, metal3Cluster *v1alpha5.Metal3Cluster, clusterLog logr.Logger) (baremetal.ClusterManagerInterface, error)
NewClusterManager mocks base method.
func (*MockManagerFactoryInterface) NewDataManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewDataManager(arg0 *v1alpha5.Metal3Data, arg1 logr.Logger) (baremetal.DataManagerInterface, error)
NewDataManager mocks base method.
func (*MockManagerFactoryInterface) NewDataTemplateManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewDataTemplateManager(arg0 *v1alpha5.Metal3DataTemplate, arg1 logr.Logger) (baremetal.DataTemplateManagerInterface, error)
NewDataTemplateManager mocks base method.
func (*MockManagerFactoryInterface) NewMachineManager ¶ added in v0.4.0
func (m *MockManagerFactoryInterface) NewMachineManager(arg0 *v1alpha4.Cluster, arg1 *v1alpha5.Metal3Cluster, arg2 *v1alpha4.Machine, arg3 *v1alpha5.Metal3Machine, arg4 logr.Logger) (baremetal.MachineManagerInterface, error)
NewMachineManager mocks base method.
func (*MockManagerFactoryInterface) NewMachineTemplateManager ¶ added in v0.5.0
func (m *MockManagerFactoryInterface) NewMachineTemplateManager(capm3Template *v1alpha5.Metal3MachineTemplate, capm3MachineList *v1alpha5.Metal3MachineList, metadataLog logr.Logger) (baremetal.TemplateManagerInterface, error)
NewMachineTemplateManager mocks base method.
func (*MockManagerFactoryInterface) NewRemediationManager ¶ added in v0.5.2
func (m *MockManagerFactoryInterface) NewRemediationManager(arg0 *v1alpha5.Metal3Remediation, arg1 *v1alpha5.Metal3Machine, arg2 *v1alpha4.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) 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) (*v1alpha4.Machine, error)
GetCapiMachine mocks base method.
func (*MockRemediationManagerInterface) GetLastRemediatedTime ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetLastRemediatedTime() *v1.Time
GetLastRemediatedTime 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() v1alpha5.RemediationType
GetRemediationType mocks base method.
func (*MockRemediationManagerInterface) GetTimeout ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) GetTimeout() *v1.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) 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) OnlineStatus ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) OnlineStatus(host *v1alpha1.BareMetalHost) bool
OnlineStatus 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 *v1.Time)
SetLastRemediationTime 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) SetRebootAnnotation ¶ added in v0.5.2
func (m *MockRemediationManagerInterface) SetRebootAnnotation(ctx context.Context) error
SetRebootAnnotation 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.
type MockRemediationManagerInterfaceMockRecorder ¶ added in v0.5.2
type MockRemediationManagerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRemediationManagerInterfaceMockRecorder is the mock recorder for MockRemediationManagerInterface.
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) GetLastRemediatedTime ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) GetLastRemediatedTime() *gomock.Call
GetLastRemediatedTime indicates an expected call of GetLastRemediatedTime.
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) 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) OnlineStatus ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) OnlineStatus(host interface{}) *gomock.Call
OnlineStatus indicates an expected call of OnlineStatus.
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) SetOwnerRemediatedConditionNew ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetOwnerRemediatedConditionNew(ctx interface{}) *gomock.Call
SetOwnerRemediatedConditionNew indicates an expected call of SetOwnerRemediatedConditionNew.
func (*MockRemediationManagerInterfaceMockRecorder) SetRebootAnnotation ¶ added in v0.5.2
func (mr *MockRemediationManagerInterfaceMockRecorder) SetRebootAnnotation(ctx interface{}) *gomock.Call
SetRebootAnnotation indicates an expected call of SetRebootAnnotation.
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.