controllers

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EffectiveCollisionProtection

func EffectiveCollisionProtection(cp ...ocv1.CollisionProtection) ocv1.CollisionProtection

EffectiveCollisionProtection resolves the collision protection value using the inheritance hierarchy: object > phase > spec > default ("Prevent").

Types

type ClusterObjectSetReconciler

type ClusterObjectSetReconciler struct {
	Client                client.Client
	RevisionEngineFactory RevisionEngineFactory
	TrackingCache         trackingCache
	Clock                 clock.Clock
}

ClusterObjectSetReconciler actions individual snapshots of ClusterExtensions, as part of the boxcutter integration.

func (*ClusterObjectSetReconciler) Reconcile

func (*ClusterObjectSetReconciler) SetupWithManager

func (c *ClusterObjectSetReconciler) SetupWithManager(mgr ctrl.Manager) error

type RevisionEngine

RevisionEngine defines the interface for reconciling and tearing down revisions.

type RevisionEngineFactory

type RevisionEngineFactory interface {
	CreateRevisionEngine(ctx context.Context, rev *ocv1.ClusterObjectSet) (RevisionEngine, error)
}

RevisionEngineFactory creates a RevisionEngine for a ClusterObjectSet.

func NewDefaultRevisionEngineFactory

func NewDefaultRevisionEngineFactory(
	scheme *runtime.Scheme,
	trackingCache managedcache.TrackingCache,
	discoveryClient discovery.CachedDiscoveryInterface,
	restMapper meta.RESTMapper,
	fieldOwnerPrefix string,
	baseConfig *rest.Config,
) (RevisionEngineFactory, error)

NewDefaultRevisionEngineFactory creates a new defaultRevisionEngineFactory.

type Sourcoser

type Sourcoser interface {
	Source(handler handler.EventHandler, predicates ...predicate.Predicate) source.Source
}

Jump to

Keyboard shortcuts

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