instanceCreation

package
v0.0.0-...-ace2c68 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLabels

func CheckLabels(ns v1.Namespace, matchLabels map[string]string) bool

func CreateIngress

func CreateIngress(name string, namespace string, svc corev1.Service, urlUUID string, websiteBaseUrl string) v1beta1.Ingress

func CreateOauth2Deployment

func CreateOauth2Deployment(name, namespace, urlUUID, image, clientSecret, providerUrl string) appsv1.Deployment

func CreateOauth2Ingress

func CreateOauth2Ingress(name string, namespace string, svc corev1.Service, urlUUID string, websiteBaseUrl string) v1beta1.Ingress

func CreateOauth2Service

func CreateOauth2Service(name string, namespace string) corev1.Service

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 CreateSecret(name string, namespace string, nextUsername string, nextPassword string, nextCloudBaseUrl string) corev1.Secret

func CreateService

func CreateService(name string, namespace string) corev1.Service

func CreateVirtualMachineInstance

func CreateVirtualMachineInstance(name string, namespace string, template templatev1alpha1.LabTemplate, instanceName string, secretName string) virtv1.VirtualMachineInstance

func GetWebdavCredentials

func GetWebdavCredentials(c client.Client, ctx context.Context, log logr.Logger, secretName string, namespace string, username *string, password *string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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