Documentation ¶
Index ¶
Constants ¶
View Source
const ResourceControllerLabelValue = "toolchaincluster-resources-controller" // TODO move this label value to api repo
ResourceControllerLabelValue is being added to all the resources managed by this controller. It's then used to filter all the events on those resources by using a mapper function in the watcher configuration.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client runtimeclient.Client Scheme *runtime.Scheme Templates *embed.FS // contains filtered or unexported fields }
Reconciler reconciles a ToolchainCluster object
func (*Reconciler) Reconcile ¶
Reconcile loads all the manifests from a given embed.FS folder, evaluates the supported variables and applies the objects in the cluster.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, operatorNamespace string) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.