Help us shape the future of Go! Take the 2026 Go Developer Survey

controllers

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventFunc

type EventFunc func()

EventFunc is a function type for event handling. Used to abstract event handling logic and simplify function signatures.

type UnmanagedReconciler

type UnmanagedReconciler interface {
	reconcile.Reconciler

	// SetupUnmanaged sets up the unmanaged controller with the provided cache, scheme, and REST mapper.
	SetupUnmanaged(cache cache.Cache, scheme *runtime.Scheme, mapper meta.RESTMapper) (controller.Controller, error)
}

UnmanagedReconciler is an extension of the standard Reconciler interface that includes a method for setting up unmanaged controllers. Unmanaged controllers are not automatically started by the manager. See: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/controller#NewUnmanaged and https://github.com/kubernetes-sigs/controller-runtime/issues/730 for more details.

Directories

Path Synopsis
v0
v1

Jump to

Keyboard shortcuts

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