Documentation ¶
Index ¶
- func GetCheIngress(cheAPI string) (string, error)
- func GetOwnerReferences(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) (string, types.UID)
- func GetPFEService(clientset *kubernetes.Clientset, namespace string, workspaceID string) string
- func GetWorkspacePVC(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) *corev1.PersistentVolumeClaim
- func GetWorkspaceServiceAccount(clientset *kubernetes.Clientset, namespace string, cheWorkspaceID string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCheIngress ¶
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.
Click to show internal directories.
Click to hide internal directories.