Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDevWorkspaceOperatorNamespace ¶
func GetDevWorkspaceOperatorNamespace(context context.Context, clientWrapper clientwrapper.ClientWrapper) (string, error)
func GetProjectCloneImage ¶
func GetProjectCloneImage(cheCtx *chetypes.CheContext) (string, error)
GetProjectCloneImage returns the image of the project clone init container that the DevWorkspace Operator adds to workspace pods. Unless overridden in the CheCluster, the image is read from the running DevWorkspace Operator. Returns an empty string if it is not found.
func IsDevWorkspaceOperatorPod ¶
IsDevWorkspaceOperatorPod returns true if the object is a DevWorkspace Operator controller pod.
Types ¶
type DevWorkspaceConfigReconciler ¶
type DevWorkspaceConfigReconciler struct {
reconciler.Reconcilable
}
func NewDevWorkspaceConfigReconciler ¶
func NewDevWorkspaceConfigReconciler() *DevWorkspaceConfigReconciler
func (*DevWorkspaceConfigReconciler) Finalize ¶
func (d *DevWorkspaceConfigReconciler) Finalize(cheCtx *chetypes.CheContext) error
func (*DevWorkspaceConfigReconciler) Reconcile ¶
func (d *DevWorkspaceConfigReconciler) Reconcile(cheCtx *chetypes.CheContext) (reconcile.Result, bool, error)