target

package
v0.11.0-rc Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const LabelKeyAutoTarget = "autotarget.crossplane.io/for-kubernetescluster"

LabelKeyAutoTarget indicates that a target was automatically created for a KubernetesCluster claim.

Variables

This section is empty.

Functions

func MustHaveLabel added in v0.10.0

func MustHaveLabel(k, v string) resource.ApplyOption

MustHaveLabel requires that the current object must have the supplied label.

func Setup

func Setup(mgr ctrl.Manager, l logging.Logger) error

Setup adds a controller that creates KubernetesTargets for KubernetesClusters.

Types

type Reconciler

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

A Reconciler creates KubernetesTargets for KubernetesClusters.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req reconcile.Request) (reconcile.Result, error)

Reconcile attempts to create a KubernetesTarget for a KubernetesCluster.

Jump to

Keyboard shortcuts

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