Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply will update the StepTemplate and Volumes declaration in ts so that the workspaces specified through wb combined with the declared workspaces in ts will be available for all containers in the resulting pod.
func GetVolumes ¶
func GetVolumes(wb []v1alpha1.WorkspaceBinding) map[string]corev1.Volume
GetVolumes will return a dictionary where the keys are the names of the workspaces bound in wb and the value is the Volume to use. If the same Volume is bound twice, the resulting volumes will both have the same name to prevent the same Volume from being attached to a pod twice.
func ValidateBindings ¶
func ValidateBindings(w []v1alpha1.WorkspaceDeclaration, wb []v1alpha1.WorkspaceBinding) error
ValidateBindings will return an error if the bound workspaces in wb don't satisfy the declared workspaces in w.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.