che

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: EPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCheIngress

func GetCheIngress(cheAPI string) (string, error)

GetCheIngress parses the Che ingress domain from the Che API URL that was passed in

func GetOwnerReferences

func GetOwnerReferences(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) (string, types.UID)

GetOwnerReferences retrieves the owner reference name and UID, allowing us to tie any Codewind resources to the Che workspace Enabling the Kubernetes garbage collector clean everything up when the workspace is deleted

func GetPFEService

func GetPFEService(clientset *kubernetes.Clientset, namespace string, workspaceID string) string

GetPFEService returns the service name for the specified workspace ID

func GetWorkspacePVC

func GetWorkspacePVC(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) *corev1.PersistentVolumeClaim

GetWorkspacePVC retrieves a PVC (Persistent Volume Claim) associated with the Che workspace we're deploying Codewind in

func GetWorkspaceServiceAccount

func GetWorkspaceServiceAccount(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) string

GetWorkspaceServiceAccount retrieves the Service Account associated with the Che workspace we're deploying Codewind in

Types

This section is empty.

Jump to

Keyboard shortcuts

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