resource

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 25 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.8.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