# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeepResourceDeletePolicy returns true if the resource has annotation delete-policy=keep.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LabelControllerManaged is a label on all resources managed by the controllers.
LabelKeyInstanceName is a instance name label on the each child resources associated with the instance.
LabelKeyTemplateName is a template name label on the resources created by instance.
NamespaceLabelKeyUserName is a label key on namespace created b User.
No description provided by the author
No description provided by the author
ResourceAnnEnumDeletePolicyDelete is delete policy, which controller do garbage collenction and attach owner references (default).
ResourceAnnEnumDeletePolicyKeep is keep policy, which controller do not do garbage collenction and do not attach owner references.
ResourceAnnKeyDeletePolicy is a annotation key on the resources created by instance controller to specify delete policy.
TemplateAnnKeyDisableNamePrefix is an annotation key on Template to notify controller not to add name prefix.
TemplateAnnKeyRequiredAddons is a annotation key for Template which requires useraddons.
TemplateAnnKeyUserRoles is an annotation key on Template for specific UserRoles.
No description provided by the author
No description provided by the author
TemplateLabelKeyType is a label key of additional type infomartion on Template.
Var for user addon.
Var for user addon.
No description provided by the author
No description provided by the author
No description provided by the author
UserAddonTemplateAnnKeyDefault is an annotation key on UserAddon Template to notify controller to create the UserAddon for all Users.
No description provided by the author
No description provided by the author
No description provided by the author
UserPasswordSecretAnnKeyUserPasswordIfDefault is a secret annotation key to notify if password is default.
UserPasswordSecretDataKeyUserPasswordSalt is a secret data key for hashed password salt.
UserPasswordSecretDataKeyUserPasswordSecret is a secret data key for hashed password value.
UserPasswordSecretName is a secret name for password secret.
No description provided by the author
No description provided by the author
WorkspaceTemplateAnnKeys are annotation keys for WorkspaceConfig.
No description provided by the author
No description provided by the author
TemplateVars are Template variables to set WorkspaceConfig info on resources in the Template.
No description provided by the author
No description provided by the author
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
No description provided by the author
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
+kubebuilder:object:root=true +kubebuilder:resource:scope="Cluster",shortName=cinst +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="ClusterTemplate",type=string,JSONPath=`.spec.template.name` +kubebuilder:printcolumn:name="AppliedResources",type=string,JSONPath=`.status.lastAppliedObjectsCount` ClusterInstance is the Schema for the instances API.
+kubebuilder:object:root=true ClusterInstanceList contains a list of ClusterInstance.
+kubebuilder:object:root=true +kubebuilder:resource:scope="Cluster",shortName=ctmpl +kubebuilder:storageversion +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.metadata.labels.cosmo-workspace\.github\.io/type` ClusterTemplate is the Schema for the Templates API.
+kubebuilder:object:root=true ClusterTemplateList contains a list of ClusterTemplate.
Config defines workspace-dependent configuration.
+kubebuilder:object:root=true +kubebuilder:resource:shortName=inst +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Template",type=string,JSONPath=`.spec.template.name` +kubebuilder:printcolumn:name="AppliedResources",type=string,JSONPath=`.status.lastAppliedObjectsCount` Instance is the Schema for the instances API.
+kubebuilder:object:root=true InstanceList contains a list of Instance.
InstanceSpec defines the desired state of Instance.
InstanceStatus has status of Instance.
Json6902 defines JSONPatch specs.
NetworkRule is an abstract network configuration rule for workspace.
ObjectRef is a reference of resource which is created by the Instance.
OverrideSpec defines overrides to transform built objects.
RequiredVarSpec defines a required var spec for template.
+kubebuilder:object:root=true +kubebuilder:resource:scope="Cluster",shortName=tmpl +kubebuilder:storageversion +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.metadata.labels.cosmo-workspace\.github\.io/type` Template is the Schema for the Templates API.
+kubebuilder:object:root=true TemplateList contains a list of Template.
TemplateRef defines template to use in Instance creation.
TemplateSpec defines the desired state of Template.
+kubebuilder:object:root=true +kubebuilder:resource:scope="Cluster" +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Roles",type=string,JSONPath=`.spec.roles[*].name` +kubebuilder:printcolumn:name="AuthType",type=string,JSONPath=`.spec.authType` +kubebuilder:printcolumn:name="Namespace",type=string,JSONPath=`.status.namespace.name` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Addons",type=string,JSONPath=`.spec.addons[*].template.name` User is the Schema for the workspaces API.
No description provided by the author
TemplateRef defines template to use in Instance creation.
+kubebuilder:object:root=true UserList contains a list of User.
No description provided by the author
No description provided by the author
No description provided by the author
+kubebuilder:object:root=true +kubebuilder:resource:shortName=ws +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Template",type=string,JSONPath=`.spec.template.name` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` Workspace is the Schema for the workspaces API.
+kubebuilder:object:root=true WorkspaceList contains a list of Workspace.
WorkspaceSpec defines the desired state of Workspace.
WorkspaceStatus has status of Workspace.
# Interfaces
+kubebuilder:object:generate=false.
+kubebuilder:object:generate=false.
+kubebuilder:object:generate=false.
+kubebuilder:object:generate=false.
# Type aliases
+kubebuilder:validation:enum=password-secret;ldap UserAuthType enums.