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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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