Documentation ¶
Index ¶
- Constants
- type InstanceReconciler
- type TemplateReconciler
- type WorkspaceReconciler
- type WorkspaceStatusReconciler
- func (r *WorkspaceStatusReconciler) GenWorkspaceURLMap(ctx context.Context, ws wsv1alpha1.Workspace) (map[string]string, error)
- func (r *WorkspaceStatusReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *WorkspaceStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
const (
InstControllerFieldManager string = "cosmo-instance-controller"
)
const (
TmplControllerFieldManager string = "cosmo-template-controller"
)
const (
WsControllerFieldManager string = "cosmo-workspace-controller"
)
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) SetupWithManager ¶
func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
type TemplateReconciler ¶
TemplateReconciler reconciles a Template object
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 ¶
+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 ¶
func (r *WorkspaceStatusReconciler) 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 +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