statusupdater

package
v0.0.0-...-252171a Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModuleStatusUpdater) ModuleUpdateStatus

func (m *MockModuleStatusUpdater) ModuleUpdateStatus(ctx context.Context, mod *v1beta10.Module, kernelMappingNodes, targetedNodes []v10.Node, existingDS []v1.DaemonSet) error

ModuleUpdateStatus mocks base method.

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

Jump to

Keyboard shortcuts

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