resource

package
v0.9.0-rc Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RemoteControllerNamespace = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/namespace"
	RemoteControllerName      = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/name"
	RemoteControllerUID       = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/uid"
)

Ownership annotations

Functions

func CreatePredicate

func CreatePredicate(event event.CreateEvent) bool

CreatePredicate accepts KubernetesApplicationResources that have been scheduled to a KubernetesTarget.

func Setup added in v0.9.0

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

Setup adds a controller that reconciles KubernetesApplicationResources.

func UpdatePredicate

func UpdatePredicate(event event.UpdateEvent) bool

UpdatePredicate accepts KubernetesApplicationResources that have been scheduled to a KubernetesTarget.

Types

type Reconciler

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

Reconciler reconciles a Instance object

func (*Reconciler) Reconcile

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

Reconcile scheduled Kubernetes application resources by propagating them to their scheduled Kubernetes cluster.

Jump to

Keyboard shortcuts

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