Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: statusupdater.go
Generated by this command:
mockgen -source=statusupdater.go -package=statusupdater -destination=mock_statusupdater.go
Package statusupdater is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagedClusterModuleStatusUpdater ¶
type ManagedClusterModuleStatusUpdater interface { ManagedClusterModuleUpdateStatus(ctx context.Context, mcm *hubv1beta1.ManagedClusterModule, ownedManifestWorks []workv1.ManifestWork) error }
func NewManagedClusterModuleStatusUpdater ¶
func NewManagedClusterModuleStatusUpdater(client client.Client) ManagedClusterModuleStatusUpdater
type MockManagedClusterModuleStatusUpdater ¶
type MockManagedClusterModuleStatusUpdater struct {
// contains filtered or unexported fields
}
MockManagedClusterModuleStatusUpdater is a mock of ManagedClusterModuleStatusUpdater interface.
func NewMockManagedClusterModuleStatusUpdater ¶
func NewMockManagedClusterModuleStatusUpdater(ctrl *gomock.Controller) *MockManagedClusterModuleStatusUpdater
NewMockManagedClusterModuleStatusUpdater creates a new mock instance.
func (*MockManagedClusterModuleStatusUpdater) EXPECT ¶
func (m *MockManagedClusterModuleStatusUpdater) EXPECT() *MockManagedClusterModuleStatusUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManagedClusterModuleStatusUpdater) ManagedClusterModuleUpdateStatus ¶
func (m *MockManagedClusterModuleStatusUpdater) ManagedClusterModuleUpdateStatus(ctx context.Context, mcm *v1beta1.ManagedClusterModule, ownedManifestWorks []v11.ManifestWork) error
ManagedClusterModuleUpdateStatus mocks base method.
type MockManagedClusterModuleStatusUpdaterMockRecorder ¶
type MockManagedClusterModuleStatusUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockManagedClusterModuleStatusUpdaterMockRecorder is the mock recorder for MockManagedClusterModuleStatusUpdater.
func (*MockManagedClusterModuleStatusUpdaterMockRecorder) ManagedClusterModuleUpdateStatus ¶
func (mr *MockManagedClusterModuleStatusUpdaterMockRecorder) ManagedClusterModuleUpdateStatus(ctx, mcm, ownedManifestWorks any) *gomock.Call
ManagedClusterModuleUpdateStatus indicates an expected call of ManagedClusterModuleUpdateStatus.
type MockModuleStatusUpdater ¶
type MockModuleStatusUpdater struct {
// contains filtered or unexported fields
}
MockModuleStatusUpdater is a mock of ModuleStatusUpdater interface.
func NewMockModuleStatusUpdater ¶
func NewMockModuleStatusUpdater(ctrl *gomock.Controller) *MockModuleStatusUpdater
NewMockModuleStatusUpdater creates a new mock instance.
func (*MockModuleStatusUpdater) EXPECT ¶
func (m *MockModuleStatusUpdater) EXPECT() *MockModuleStatusUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModuleStatusUpdaterMockRecorder ¶
type MockModuleStatusUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockModuleStatusUpdaterMockRecorder is the mock recorder for MockModuleStatusUpdater.
func (*MockModuleStatusUpdaterMockRecorder) ModuleUpdateStatus ¶
func (mr *MockModuleStatusUpdaterMockRecorder) ModuleUpdateStatus(ctx, mod, kernelMappingNodes, targetedNodes, existingDS any) *gomock.Call
ModuleUpdateStatus indicates an expected call of ModuleUpdateStatus.
type ModuleStatusUpdater ¶
type ModuleStatusUpdater interface { ModuleUpdateStatus(ctx context.Context, mod *kmmv1beta1.Module, kernelMappingNodes []v1.Node, targetedNodes []v1.Node, existingDS []appsv1.DaemonSet) error }
func NewModuleStatusUpdater ¶
func NewModuleStatusUpdater(client client.Client) ModuleStatusUpdater