controllers

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandReconciler

type CommandReconciler struct {
	client.Client
	C            command.Interface
	Kind         string
	ResourceType string
	Scheme       *runtime.Scheme
	Log          logr.Logger
}

func (*CommandReconciler) Reconcile

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

func (*CommandReconciler) SetupWithManager

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

type WorkspaceReconciler

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

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
JackTT - Gopher 🇻🇳