configstatus

package
v3.18.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodStatusToConfigMapper

func PodStatusToConfigMapper(selfOnly bool) handler.TypedMapFunc[*v1beta1.ConfigPodStatus]

PodStatusToConfigMapper correlates a ConfigPodStatus with its corresponding Config. `selfOnly` tells the mapper to only map statuses corresponding to the current pod.

Types

type Adder

type Adder struct {
	WatchManager *watch.Manager
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

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

func (*Adder) InjectControllerSwitch

func (a *Adder) InjectControllerSwitch(_ *watch.ControllerSwitch)

func (*Adder) InjectTracker

func (a *Adder) InjectTracker(_ *readiness.Tracker)

type ReconcileConfigStatus

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

ReconcileConfigStatus provides the dependencies required to reconcile the status of a Config resource.

func (*ReconcileConfigStatus) Reconcile

Reconcile reads that state of the cluster for a config object and makes changes based on the state read and what is in the constraint.Spec.

Jump to

Keyboard shortcuts

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