toolchainclusterresources

package
v0.0.0-...-78585f7 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 2

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

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

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.

Jump to

Keyboard shortcuts

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