application

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add the KubernetesApplication scheduler reconciler to the supplied manager. Reconcilers are triggered when either the application or any of its resources change.

func CreatePredicate

func CreatePredicate(event event.CreateEvent) bool

CreatePredicate accepts KubernetesApplications that have been scheduled to a KubernetesCluster.

func UpdatePredicate

func UpdatePredicate(event event.UpdateEvent) bool

UpdatePredicate accepts KubernetesApplications that have been scheduled to a KubernetesCluster.

Types

type Controller

type Controller struct{}

Controller is responsible for adding the KubernetesApplication controller and its corresponding reconciler to the manager with any runtime configuration.

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

type Reconciler

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

A Reconciler reconciles KubernetesApplications.

func (*Reconciler) Reconcile

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

Reconcile scheduled KubernetesApplications by managing their templated KubernetesApplicationResources.

Jump to

Keyboard shortcuts

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