controllers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: EPL-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const PullSecretsReadyCondition devworkspace.WorkspaceConditionType = "PullSecretsReady"

Variables

View Source
var PhaseStatusesOrder = []PhaseStatus{
	{
		devworkspace.WorkspaceComponentsReady,
		"Processing DevWorkspace components",
	},
	{
		devworkspace.WorkspaceRoutingReady,
		"Waiting for workspace routing objects",
	},
	{
		devworkspace.WorkspaceServiceAccountReady,
		"Waiting for workspace serviceaccount",
	},
	{
		PullSecretsReadyCondition,
		"Waiting for workspace pull secrets",
	},
	{
		devworkspace.WorkspaceReady,
		"Waiting for deployment to be ready",
	},
}

Defines the order in which DevWorkspace Controller processes phases on reconcile The last unready condition should be shown

Functions

This section is empty.

Types

type DevWorkspaceReconciler

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

DevWorkspaceReconciler reconciles a DevWorkspace object

func (*DevWorkspaceReconciler) Reconcile

func (r *DevWorkspaceReconciler) Reconcile(req ctrl.Request) (reconcileResult ctrl.Result, err error)

func (*DevWorkspaceReconciler) SetupWithManager

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

type PhaseStatus added in v0.2.0

type PhaseStatus struct {
	Condition devworkspace.WorkspaceConditionType
	Message   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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