Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeAffinityForBackupPod ¶
GetNodeAffinityForBackupPod returns an Affinity for the backup pod given the nodeName that the user's jupyter pod is running on. If required is true, a NodeAffinity with a RequiredDuringSchedulingIgnoredDuringExecution will be returned, otherwise a NodeAffinity with PreferredDuringSchedulingIgnoredDuringExecution will be returned.
func GetUserNameFromPVCName ¶
GetUserNameFromPVCName returns the username formatted as user.name or user-name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.