preflight

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: 15 Imported by: 0

Documentation

Overview

Package preflight is a generated GoMock package.

Index

Constants

View Source
const (
	VerificationStatusReasonBuildConfigPresent = "Verification successful, all driver-containers have paired BuildConfigs in the recipe"
	VerificationStatusReasonNoDaemonSet        = "Verification successful, no driver-container present in the recipe"
	VerificationStatusReasonUnknown            = "Verification has not started yet"
	VerificationStatusReasonVerified           = "Verification successful (%s), this Module will not be verified again in this Preflight CR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPreflightAPI

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

MockPreflightAPI is a mock of PreflightAPI interface.

func NewMockPreflightAPI

func NewMockPreflightAPI(ctrl *gomock.Controller) *MockPreflightAPI

NewMockPreflightAPI creates a new mock instance.

func (*MockPreflightAPI) EXPECT

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

func (*MockPreflightAPI) PreflightUpgradeCheck

func (m *MockPreflightAPI) PreflightUpgradeCheck(ctx context.Context, pv *v1beta1.PreflightValidation, mod *v1beta1.Module) (bool, string)

PreflightUpgradeCheck mocks base method.

type MockPreflightAPIMockRecorder

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

MockPreflightAPIMockRecorder is the mock recorder for MockPreflightAPI.

func (*MockPreflightAPIMockRecorder) PreflightUpgradeCheck

func (mr *MockPreflightAPIMockRecorder) PreflightUpgradeCheck(ctx, pv, mod interface{}) *gomock.Call

PreflightUpgradeCheck indicates an expected call of PreflightUpgradeCheck.

type MockpreflightHelperAPI

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

MockpreflightHelperAPI is a mock of preflightHelperAPI interface.

func NewMockpreflightHelperAPI

func NewMockpreflightHelperAPI(ctrl *gomock.Controller) *MockpreflightHelperAPI

NewMockpreflightHelperAPI creates a new mock instance.

func (*MockpreflightHelperAPI) EXPECT

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

type MockpreflightHelperAPIMockRecorder

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

MockpreflightHelperAPIMockRecorder is the mock recorder for MockpreflightHelperAPI.

type PreflightAPI

type PreflightAPI interface {
	PreflightUpgradeCheck(ctx context.Context, pv *kmmv1beta1.PreflightValidation, mod *kmmv1beta1.Module) (bool, string)
}

func NewPreflightAPI

func NewPreflightAPI(
	client client.Client,
	buildAPI build.Manager,
	signAPI sign.SignManager,
	registryAPI registry.Registry,
	statusUpdater statusupdater.PreflightStatusUpdater,
	kernelAPI module.KernelMapper) PreflightAPI

Jump to

Keyboard shortcuts

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