Documentation ¶
Index ¶
- func CheckLabels(ns v1.Namespace, matchLabels map[string]string) bool
- func CreateIngress(name string, namespace string, svc corev1.Service, urlUUID string, ...) v1beta1.Ingress
- func CreateOauth2Deployment(name, namespace, urlUUID, image, clientSecret, providerUrl string) appsv1.Deployment
- func CreateOauth2Ingress(name string, namespace string, svc corev1.Service, urlUUID string, ...) v1beta1.Ingress
- func CreateOauth2Service(name string, namespace string) corev1.Service
- func CreateOrUpdate(c client.Client, ctx context.Context, log logr.Logger, object interface{}) error
- func CreatePersistentVolumeClaim(name string, namespace string, storageClassName string) corev1.PersistentVolumeClaim
- func CreateSecret(name string, namespace string, nextUsername string, nextPassword string, ...) corev1.Secret
- func CreateService(name string, namespace string) corev1.Service
- func CreateVirtualMachineInstance(name string, namespace string, template templatev1alpha1.LabTemplate, ...) virtv1.VirtualMachineInstance
- func GetWebdavCredentials(c client.Client, ctx context.Context, log logr.Logger, secretName string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIngress ¶
func CreateOauth2Deployment ¶
func CreateOauth2Deployment(name, namespace, urlUUID, image, clientSecret, providerUrl string) appsv1.Deployment
func CreateOauth2Ingress ¶
func CreateOrUpdate ¶
func CreateOrUpdate(c client.Client, ctx context.Context, log logr.Logger, object interface{}) error
create a resource or update it if already exists
func CreatePersistentVolumeClaim ¶
func CreatePersistentVolumeClaim(name string, namespace string, storageClassName string) corev1.PersistentVolumeClaim
func CreateSecret ¶
func CreateVirtualMachineInstance ¶
func CreateVirtualMachineInstance(name string, namespace string, template templatev1alpha1.LabTemplate, instanceName string, secretName string) virtv1.VirtualMachineInstance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.