scheduler

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePredicate

func CreatePredicate(e event.CreateEvent) bool

CreatePredicate accepts KubernetesApplications that have not yet 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 schedules KubernetesApplications.

func UpdatePredicate

func UpdatePredicate(e event.UpdateEvent) bool

UpdatePredicate accepts KubernetesApplications that have not yet been scheduled to a KubernetesTarget.

Types

type Reconciler

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

A Reconciler schedules KubernetesApplications to KubernetesTargets.

func (*Reconciler) Reconcile

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

Reconcile attempts to schedule a KubernetesApplication to a KubernetesTarget that matches its cluster selector.

Jump to

Keyboard shortcuts

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