controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstControllerFieldManager string = "cosmo-instance-controller"
)
View Source
const (
	TmplControllerFieldManager string = "cosmo-template-controller"
)
View Source
const (
	WsControllerFieldManager string = "cosmo-workspace-controller"
)
View Source
const (
	WsStatControllerFieldManager string = "cosmo-workspace-status-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceReconciler

type InstanceReconciler struct {
	kosmo.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
}

InstanceReconciler reconciles a Instance object

func (*InstanceReconciler) Reconcile

func (r *InstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*InstanceReconciler) SetupWithManager

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

type TemplateReconciler

type TemplateReconciler struct {
	kosmo.Client
	Scheme *runtime.Scheme
}

TemplateReconciler reconciles a Template object

func (*TemplateReconciler) Reconcile

func (r *TemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*TemplateReconciler) SetupWithManager

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

type WorkspaceReconciler

type WorkspaceReconciler struct {
	kosmo.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
}

WorkspaceReconciler reconciles a Workspace object

func (*WorkspaceReconciler) Reconcile

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

+kubebuilder:rbac:groups=workspace.cosmo.cosmo-workspace.github.io,resources=workspaces,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=workspace.cosmo.cosmo-workspace.github.io,resources=workspaces/status,verbs=get;update;patch

func (*WorkspaceReconciler) SetupWithManager

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

type WorkspaceStatusReconciler

type WorkspaceStatusReconciler struct {
	kosmo.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
}

WorkspaceStatusReconciler reconciles a Workspace object

func (*WorkspaceStatusReconciler) GenWorkspaceURLMap

func (r *WorkspaceStatusReconciler) GenWorkspaceURLMap(ctx context.Context, ws wsv1alpha1.Workspace) (map[string]string, error)

func (*WorkspaceStatusReconciler) Reconcile

+kubebuilder:rbac:groups=workspace.cosmo.cosmo-workspace.github.io,resources=workspaces,verbs=get;list;watch +kubebuilder:rbac:groups=workspace.cosmo.cosmo-workspace.github.io,resources=workspaces/status,verbs=get;update;patch

func (*WorkspaceStatusReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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