Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServingPath is where the validator will run. Must be kept in sync // with the kubebuilder markers below. ServingPath = "/validate-hnc-x-k8s-io-v1alpha2-hncconfigurations" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Log logr.Logger Manager ctrl.Manager // Forest is the in-memory data structure that is shared with all other reconcilers. Forest *forest.Forest // RefreshDuration is the maximum amount of time between refreshes RefreshDuration time.Duration // contains filtered or unexported fields }
Reconciler is responsible for determining the HNC configuration from the HNCConfiguration CR, as well as ensuring all objects are propagated correctly when the HNC configuration changes. It can also set the status of the HNCConfiguration CR.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager builds a controller with the reconciler.
Click to show internal directories.
Click to hide internal directories.