controllers

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

Documentation

Overview

Package controllers is a generated GoMock package.

Package controllers is a generated GoMock package.

Index

Constants

View Source
const ModuleReconcilerName = "Module"
View Source
const (
	NodeKernelClusterClaimReconcilerName = "NodeKernelClusterClaim"
)
View Source
const (
	NodeKernelReconcilerName = "NodeKernel"
)
View Source
const (
	NodeLabelModuleVersionReconcilerName = "NodeLabelModuleVersion"
)
View Source
const PodNodeModuleReconcilerName = "PodNodeModule"
View Source
const (
	PreflightValidationReconcilerName = "PreflightValidation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockmoduleReconcilerHelperAPI added in v1.1.0

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

MockmoduleReconcilerHelperAPI is a mock of moduleReconcilerHelperAPI interface.

func NewMockmoduleReconcilerHelperAPI added in v1.1.0

func NewMockmoduleReconcilerHelperAPI(ctrl *gomock.Controller) *MockmoduleReconcilerHelperAPI

NewMockmoduleReconcilerHelperAPI creates a new mock instance.

func (*MockmoduleReconcilerHelperAPI) EXPECT added in v1.1.0

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

type MockmoduleReconcilerHelperAPIMockRecorder added in v1.1.0

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

MockmoduleReconcilerHelperAPIMockRecorder is the mock recorder for MockmoduleReconcilerHelperAPI.

type MocknodeLabelModuleVersionHelperAPI added in v1.1.0

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

MocknodeLabelModuleVersionHelperAPI is a mock of nodeLabelModuleVersionHelperAPI interface.

func NewMocknodeLabelModuleVersionHelperAPI added in v1.1.0

func NewMocknodeLabelModuleVersionHelperAPI(ctrl *gomock.Controller) *MocknodeLabelModuleVersionHelperAPI

NewMocknodeLabelModuleVersionHelperAPI creates a new mock instance.

func (*MocknodeLabelModuleVersionHelperAPI) EXPECT added in v1.1.0

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

type MocknodeLabelModuleVersionHelperAPIMockRecorder added in v1.1.0

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

MocknodeLabelModuleVersionHelperAPIMockRecorder is the mock recorder for MocknodeLabelModuleVersionHelperAPI.

type ModuleReconciler

type ModuleReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

ModuleReconciler reconciles a Module object

func NewModuleReconciler

func NewModuleReconciler(
	client client.Client,
	buildAPI build.Manager,
	signAPI sign.SignManager,
	daemonAPI daemonset.DaemonSetCreator,
	kernelAPI module.KernelMapper,
	metricsAPI metrics.Metrics,
	filter *filter.Filter,
	statusUpdaterAPI statusupdater.ModuleStatusUpdater,
	operatorNamespace string,
) *ModuleReconciler

func (*ModuleReconciler) Reconcile

func (r *ModuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile lists all nodes and looks for kernels that match its mappings. For each mapping that matches at least one node in the cluster, it creates a DaemonSet running the container image on the nodes with a compatible kernel.

func (*ModuleReconciler) SetupWithManager

func (r *ModuleReconciler) SetupWithManager(mgr ctrl.Manager, kernelLabel string) error

SetupWithManager sets up the controller with the Manager.

type NodeKernelClusterClaimReconciler

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

func NewNodeKernelClusterClaimReconciler

func NewNodeKernelClusterClaimReconciler(client client.Client) *NodeKernelClusterClaimReconciler

func (*NodeKernelClusterClaimReconciler) Reconcile

func (*NodeKernelClusterClaimReconciler) SetupWithManager

func (r *NodeKernelClusterClaimReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NodeKernelReconciler

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

func NewNodeKernelReconciler

func NewNodeKernelReconciler(client client.Client, labelName string, filter *filter.Filter) *NodeKernelReconciler

func (*NodeKernelReconciler) Reconcile

func (r *NodeKernelReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*NodeKernelReconciler) SetupWithManager

func (r *NodeKernelReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type NodeLabelModuleVersionReconciler added in v1.1.0

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

func NewNodeLabelModuleVersionReconciler added in v1.1.0

func NewNodeLabelModuleVersionReconciler(client client.Client) *NodeLabelModuleVersionReconciler

func (*NodeLabelModuleVersionReconciler) Reconcile added in v1.1.0

func (*NodeLabelModuleVersionReconciler) SetupWithManager added in v1.1.0

func (nlmvr *NodeLabelModuleVersionReconciler) SetupWithManager(mgr ctrl.Manager) error

type PodNodeModuleReconciler

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

func NewPodNodeModuleReconciler

func NewPodNodeModuleReconciler(client client.Client, daemonAPI daemonset.DaemonSetCreator) *PodNodeModuleReconciler

func (*PodNodeModuleReconciler) Reconcile

func (pnmr *PodNodeModuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PodNodeModuleReconciler) SetupWithManager

func (pnmr *PodNodeModuleReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PreflightValidationReconciler

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

ClusterPreflightReconciler reconciles a PreflightValidation object

func NewPreflightValidationReconciler

func NewPreflightValidationReconciler(
	client client.Client,
	filter *filter.Filter,
	metricsAPI metrics.Metrics,
	statusUpdater statusupdater.PreflightStatusUpdater,
	preflight preflight.PreflightAPI) *PreflightValidationReconciler

func (*PreflightValidationReconciler) Reconcile

Reconcile Reconiliation entry point

func (*PreflightValidationReconciler) SetupWithManager

func (r *PreflightValidationReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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