baremetal_mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Index

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

Create mocks base method.

func (*MockClusterManagerInterface) Delete

func (m *MockClusterManagerInterface) Delete() error

Delete mocks base method.

func (*MockClusterManagerInterface) EXPECT

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

Delete indicates an expected call of Delete.

func (*MockClusterManagerInterfaceMockRecorder) SetFinalizer

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

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

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

SetFinalizer indicates an expected call of SetFinalizer.

func (*MockDataTemplateManagerInterfaceMockRecorder) UnsetFinalizer added in v0.4.0

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

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

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

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.

func (*MockMachineManagerInterface) Update

Update 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

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

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

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

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

NewDataManager mocks base method.

func (*MockManagerFactoryInterface) NewDataTemplateManager added in v0.4.0

NewDataTemplateManager mocks base method.

func (*MockManagerFactoryInterface) NewMachineManager added in v0.4.0

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.

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.

Jump to

Keyboard shortcuts

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