virtual

package
v1.136.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

View Source
const ControllerName = "extension-required-virtual"

ControllerName is the name of this controller.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Config        operatorconfigv1alpha1.ExtensionRequiredVirtualControllerConfiguration
	RuntimeClient client.Client
	VirtualClient client.Client
	// contains filtered or unexported fields
}

Reconciler reconciles Extensions to determine their required state.

func (*Reconciler) AddToManager

func (r *Reconciler) AddToManager(mgr manager.Manager, virtualCluster cluster.Cluster) error

AddToManager adds Reconciler to the given manager.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile processes the given extension object in the request. It lists required ControllerInstallations to ascertain if the extension is required in seed clusters. At the end, the RequiredVirtual condition is updated for the extension.

func (*Reconciler) RequiredConditionChangedPredicate

func (r *Reconciler) RequiredConditionChangedPredicate() predicate.Predicate

RequiredConditionChangedPredicate is a predicate that returns true if the ControllerInstallationRequired changed for ControllerInstallations.

Jump to

Keyboard shortcuts

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