controller

package
v0.0.0-...-3ed6084 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PerformanceProfileReconciler

type PerformanceProfileReconciler struct {
	client.Client
	ManagementClient  client.Client
	Recorder          record.EventRecorder
	FeatureGate       featuregates.FeatureGate
	ComponentsHandler components.Handler
	StatusWriter      status.Writer
}

PerformanceProfileReconciler reconciles a PerformanceProfile object

func (*PerformanceProfileReconciler) Reconcile

Reconcile reads that state of the cluster for a PerformanceProfile object and makes changes based on the state read and what is in the PerformanceProfile.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*PerformanceProfileReconciler) SetupWithManager

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

SetupWithManager creates a new PerformanceProfile Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func (*PerformanceProfileReconciler) SetupWithManagerForHypershift

func (r *PerformanceProfileReconciler) SetupWithManagerForHypershift(mgr ctrl.Manager, managementCluster cluster.Cluster) error

Jump to

Keyboard shortcuts

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