Documentation ¶
Overview ¶
Package mock_hive is a generated GoMock package.
Index ¶
- type MockClusterManager
- func (m *MockClusterManager) CreateNamespace(arg0 context.Context, arg1 string) (*v10.Namespace, error)
- func (m *MockClusterManager) CreateOrUpdate(arg0 context.Context, arg1 *api.SubscriptionDocument, ...) error
- func (m *MockClusterManager) Delete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
- func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
- func (m *MockClusterManager) GetClusterDeployment(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (*v1.ClusterDeployment, error)
- func (m *MockClusterManager) Install(arg0 context.Context, arg1 *api.SubscriptionDocument, ...) error
- func (m *MockClusterManager) IsClusterDeploymentReady(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (bool, error)
- func (m *MockClusterManager) IsClusterInstallationComplete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (bool, error)
- func (m *MockClusterManager) ResetCorrelationData(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
- type MockClusterManagerMockRecorder
- func (mr *MockClusterManagerMockRecorder) CreateNamespace(arg0, arg1 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateOrUpdate(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) GetClusterDeployment(arg0, arg1 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) IsClusterDeploymentReady(arg0, arg1 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) IsClusterInstallationComplete(arg0, arg1 any) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ResetCorrelationData(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterManager ¶
type MockClusterManager struct {
// contains filtered or unexported fields
}
MockClusterManager is a mock of ClusterManager interface.
func NewMockClusterManager ¶
func NewMockClusterManager(ctrl *gomock.Controller) *MockClusterManager
NewMockClusterManager creates a new mock instance.
func (*MockClusterManager) CreateNamespace ¶
func (m *MockClusterManager) CreateNamespace(arg0 context.Context, arg1 string) (*v10.Namespace, error)
CreateNamespace mocks base method.
func (*MockClusterManager) CreateOrUpdate ¶
func (m *MockClusterManager) CreateOrUpdate(arg0 context.Context, arg1 *api.SubscriptionDocument, arg2 *api.OpenShiftClusterDocument) error
CreateOrUpdate mocks base method.
func (*MockClusterManager) Delete ¶
func (m *MockClusterManager) Delete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
Delete mocks base method.
func (*MockClusterManager) EXPECT ¶
func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterManager) GetClusterDeployment ¶
func (m *MockClusterManager) GetClusterDeployment(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (*v1.ClusterDeployment, error)
GetClusterDeployment mocks base method.
func (*MockClusterManager) Install ¶
func (m *MockClusterManager) Install(arg0 context.Context, arg1 *api.SubscriptionDocument, arg2 *api.OpenShiftClusterDocument, arg3 *api.OpenShiftVersion, arg4 map[string]runtime.Object) error
Install mocks base method.
func (*MockClusterManager) IsClusterDeploymentReady ¶
func (m *MockClusterManager) IsClusterDeploymentReady(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (bool, error)
IsClusterDeploymentReady mocks base method.
func (*MockClusterManager) IsClusterInstallationComplete ¶
func (m *MockClusterManager) IsClusterInstallationComplete(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) (bool, error)
IsClusterInstallationComplete mocks base method.
func (*MockClusterManager) ResetCorrelationData ¶
func (m *MockClusterManager) ResetCorrelationData(arg0 context.Context, arg1 *api.OpenShiftClusterDocument) error
ResetCorrelationData mocks base method.
type MockClusterManagerMockRecorder ¶
type MockClusterManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterManagerMockRecorder is the mock recorder for MockClusterManager.
func (*MockClusterManagerMockRecorder) CreateNamespace ¶
func (mr *MockClusterManagerMockRecorder) CreateNamespace(arg0, arg1 any) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockClusterManagerMockRecorder) CreateOrUpdate ¶
func (mr *MockClusterManagerMockRecorder) CreateOrUpdate(arg0, arg1, arg2 any) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockClusterManagerMockRecorder) Delete ¶
func (mr *MockClusterManagerMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClusterManagerMockRecorder) GetClusterDeployment ¶
func (mr *MockClusterManagerMockRecorder) GetClusterDeployment(arg0, arg1 any) *gomock.Call
GetClusterDeployment indicates an expected call of GetClusterDeployment.
func (*MockClusterManagerMockRecorder) Install ¶
func (mr *MockClusterManagerMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
Install indicates an expected call of Install.
func (*MockClusterManagerMockRecorder) IsClusterDeploymentReady ¶
func (mr *MockClusterManagerMockRecorder) IsClusterDeploymentReady(arg0, arg1 any) *gomock.Call
IsClusterDeploymentReady indicates an expected call of IsClusterDeploymentReady.
func (*MockClusterManagerMockRecorder) IsClusterInstallationComplete ¶
func (mr *MockClusterManagerMockRecorder) IsClusterInstallationComplete(arg0, arg1 any) *gomock.Call
IsClusterInstallationComplete indicates an expected call of IsClusterInstallationComplete.
func (*MockClusterManagerMockRecorder) ResetCorrelationData ¶
func (mr *MockClusterManagerMockRecorder) ResetCorrelationData(arg0, arg1 any) *gomock.Call
ResetCorrelationData indicates an expected call of ResetCorrelationData.