statusupdater

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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 interface{}) *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 interface{}) *gomock.Call

ModuleUpdateStatus indicates an expected call of ModuleUpdateStatus.

type MockPreflightStatusUpdater

type MockPreflightStatusUpdater struct {
	// contains filtered or unexported fields
}

MockPreflightStatusUpdater is a mock of PreflightStatusUpdater interface.

func NewMockPreflightStatusUpdater

func NewMockPreflightStatusUpdater(ctrl *gomock.Controller) *MockPreflightStatusUpdater

NewMockPreflightStatusUpdater creates a new mock instance.

func (*MockPreflightStatusUpdater) EXPECT

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

func (*MockPreflightStatusUpdater) PreflightPresetStatuses

func (m *MockPreflightStatusUpdater) PreflightPresetStatuses(ctx context.Context, pv *v1beta10.PreflightValidation, existingModules sets.Set[string], newModules []string) error

PreflightPresetStatuses mocks base method.

func (*MockPreflightStatusUpdater) PreflightSetVerificationStage

func (m *MockPreflightStatusUpdater) PreflightSetVerificationStage(ctx context.Context, preflight *v1beta10.PreflightValidation, moduleName, stage string) error

PreflightSetVerificationStage mocks base method.

func (*MockPreflightStatusUpdater) PreflightSetVerificationStatus

func (m *MockPreflightStatusUpdater) PreflightSetVerificationStatus(ctx context.Context, preflight *v1beta10.PreflightValidation, moduleName, verificationStatus, message string) error

PreflightSetVerificationStatus mocks base method.

type MockPreflightStatusUpdaterMockRecorder

type MockPreflightStatusUpdaterMockRecorder struct {
	// contains filtered or unexported fields
}

MockPreflightStatusUpdaterMockRecorder is the mock recorder for MockPreflightStatusUpdater.

func (*MockPreflightStatusUpdaterMockRecorder) PreflightPresetStatuses

func (mr *MockPreflightStatusUpdaterMockRecorder) PreflightPresetStatuses(ctx, pv, existingModules, newModules interface{}) *gomock.Call

PreflightPresetStatuses indicates an expected call of PreflightPresetStatuses.

func (*MockPreflightStatusUpdaterMockRecorder) PreflightSetVerificationStage

func (mr *MockPreflightStatusUpdaterMockRecorder) PreflightSetVerificationStage(ctx, preflight, moduleName, stage interface{}) *gomock.Call

PreflightSetVerificationStage indicates an expected call of PreflightSetVerificationStage.

func (*MockPreflightStatusUpdaterMockRecorder) PreflightSetVerificationStatus

func (mr *MockPreflightStatusUpdaterMockRecorder) PreflightSetVerificationStatus(ctx, preflight, moduleName, verificationStatus, message interface{}) *gomock.Call

PreflightSetVerificationStatus indicates an expected call of PreflightSetVerificationStatus.

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

type PreflightStatusUpdater

type PreflightStatusUpdater interface {
	PreflightPresetStatuses(ctx context.Context, pv *kmmv1beta1.PreflightValidation,
		existingModules sets.Set[string], newModules []string) error
	PreflightSetVerificationStatus(ctx context.Context, preflight *kmmv1beta1.PreflightValidation, moduleName string,
		verificationStatus string, message string) error
	PreflightSetVerificationStage(ctx context.Context, preflight *kmmv1beta1.PreflightValidation,
		moduleName string, stage string) error
}

func NewPreflightStatusUpdater

func NewPreflightStatusUpdater(client client.Client) PreflightStatusUpdater

Jump to

Keyboard shortcuts

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