configconnector

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr ctrl.Manager, opt *ReconcilerOptions) error

Types

type Reconciler added in v1.114.0

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

Reconciler watches 'ConfigConnector' kind and is responsible for managing the lifecycle of KCC resource CRDs and other shared components like webhook, deletion defender, recorder. If it’s configured to run KCC in cluster mode, Reconciler also deploys the global controller manager workload; If it's configured to run KCC in namespaced mode, Reconciler ensures the global controller manager workload not existing. Reconciler also watches "ControllerResource" kind and apply customizations specified in "ControllerResource" CRs to KCC components.

func (*Reconciler) Reconcile added in v1.114.0

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

type ReconcilerOptions added in v1.125.0

type ReconcilerOptions struct {
	RepoPath       string
	ImageTransform *controllers.ImageTransform
}

ReconcilerOptions holds configuration options for the reconciler

Jump to

Keyboard shortcuts

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