controllers

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunReconciler added in v0.2.10

type RunReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
	Image  string
}

func NewRunReconciler added in v0.2.10

func NewRunReconciler(c client.Client, image string) *RunReconciler

func (*RunReconciler) Reconcile added in v0.2.10

func (r *RunReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*RunReconciler) SetupWithManager added in v0.2.10

func (r *RunReconciler) SetupWithManager(mgr ctrl.Manager) error

type WorkspaceReconciler

type WorkspaceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
	Image  string
}

func NewWorkspaceReconciler added in v0.2.6

func NewWorkspaceReconciler(cl client.Client, image string) *WorkspaceReconciler

func (*WorkspaceReconciler) Reconcile

func (r *WorkspaceReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a Workspace object and makes changes based on the state read and what is in the Workspace.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*WorkspaceReconciler) SetupWithManager

func (r *WorkspaceReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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