Documentation ¶
Index ¶
- Constants
- type WorkspaceReconciler
- func (c *WorkspaceReconciler) CreateMachine(ctx context.Context, wObj *kaitov1alpha1.Workspace, nodeOSDiskSize string) (*corev1.Node, error)
- func (c *WorkspaceReconciler) CreateNodeClaim(ctx context.Context, wObj *kaitov1alpha1.Workspace, nodeOSDiskSize string) (*corev1.Node, error)
- func (c *WorkspaceReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (c *WorkspaceReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( WorkspaceHashAnnotation = "workspace.kaito.io/hash" WorkspaceNameLabel = "workspace.kaito.io/name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkspaceReconciler ¶
type WorkspaceReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder }
func NewWorkspaceReconciler ¶ added in v0.3.1
func NewWorkspaceReconciler(client client.Client, scheme *runtime.Scheme, log logr.Logger, Recorder record.EventRecorder) *WorkspaceReconciler
func (*WorkspaceReconciler) CreateMachine ¶ added in v0.3.0
func (c *WorkspaceReconciler) CreateMachine(ctx context.Context, wObj *kaitov1alpha1.Workspace, nodeOSDiskSize string) (*corev1.Node, error)
func (*WorkspaceReconciler) CreateNodeClaim ¶ added in v0.3.0
func (c *WorkspaceReconciler) CreateNodeClaim(ctx context.Context, wObj *kaitov1alpha1.Workspace, nodeOSDiskSize string) (*corev1.Node, error)
func (*WorkspaceReconciler) SetupWithManager ¶
func (c *WorkspaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.