Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesWorkspaceTarget ¶ added in v0.41.0
MatchesWorkspaceTarget checks whether a resource should be mounted to a given workspace based on include/exclude annotations. Both annotations can be used together: the resource is mounted when it matches the include pattern (or no include is set) and does not match the exclude pattern.
func ProvisionAutoMountResourcesInto ¶
func ProvisionAutoMountResourcesInto( podAdditions *v1alpha1.PodAdditions, api sync.ClusterAPI, workspaceNamespace string, workspaceName string, persistentHome bool, workspaceDeployment *appsv1.Deployment, ) error
Types ¶
type Resources ¶ added in v0.14.0
type Resources struct {
Volumes []corev1.Volume
VolumeMounts []corev1.VolumeMount
EnvFromSource []corev1.EnvFromSource
}
func ProvisionGitConfiguration ¶ added in v0.14.0
func ProvisionGitConfiguration( api sync.ClusterAPI, workspaceNamespace string, workspaceName string, workspaceDeployment *appsv1.Deployment, ) (*Resources, error)
ProvisionGitConfiguration takes care of mounting git credentials and a gitconfig into a devworkspace.
Click to show internal directories.
Click to hide internal directories.