Documentation ¶
Index ¶
- Variables
- func AutoMountConfigMapVolumeName(volumeName string) string
- func AutoMountPVCVolumeName(pvcName string) string
- func AutoMountSecretVolumeName(volumeName string) string
- func DeploymentName(workspaceId string) string
- func DevWorkspaceRoutingName(workspaceId string) string
- func EndpointHostname(routingSuffix, workspaceId, endpointName string, endpointPort int) string
- func EndpointName(endpointName string) string
- func EndpointPath(endpointName string) string
- func MetadataConfigMapName(workspaceId string) string
- func PVCCleanupJobName(workspaceId string) string
- func PerWorkspacePVCName(workspaceId string) string
- func PortName(endpoint dw.Endpoint) string
- func RouteName(workspaceId, endpointName string) string
- func ServiceAccountLabels(workspace *DevWorkspaceWithConfig) map[string]string
- func ServiceAccountName(workspace *DevWorkspaceWithConfig) string
- func ServiceName(workspaceId string) string
- func ServingCertVolumeName(serviceName string) string
- func WorkspaceHostname(routingSuffix, workspaceId string) string
- func WorkspaceRoleName() string
- func WorkspaceRolebindingName() string
- type DevWorkspaceWithConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var NonAlphaNumRegexp = regexp.MustCompile(`[^a-z0-9]+`)
Functions ¶
func AutoMountConfigMapVolumeName ¶ added in v0.8.0
We can't add prefixes to automount volume names, as adding any characters can potentially push the name over the 63 character limit (if the original object has a long name)
func AutoMountPVCVolumeName ¶ added in v0.9.0
func AutoMountSecretVolumeName ¶ added in v0.8.0
func DeploymentName ¶
func DevWorkspaceRoutingName ¶ added in v0.10.0
func EndpointHostname ¶
func EndpointName ¶
func EndpointPath ¶
func MetadataConfigMapName ¶ added in v0.2.0
func PVCCleanupJobName ¶
func PerWorkspacePVCName ¶ added in v0.15.0
func ServiceAccountLabels ¶ added in v0.17.0
func ServiceAccountLabels(workspace *DevWorkspaceWithConfig) map[string]string
func ServiceAccountName ¶
func ServiceAccountName(workspace *DevWorkspaceWithConfig) string
func ServiceName ¶
func ServingCertVolumeName ¶
func WorkspaceHostname ¶
WorkspaceHostname evaluates a single hostname for a workspace, and should be used for routing when endpoints are distinguished by path rules
func WorkspaceRoleName ¶ added in v0.11.0
func WorkspaceRoleName() string
func WorkspaceRolebindingName ¶ added in v0.11.0
func WorkspaceRolebindingName() string
Types ¶
type DevWorkspaceWithConfig ¶ added in v0.16.0
type DevWorkspaceWithConfig struct { *dw.DevWorkspace `json:",inline"` Config *controllerv1alpha1.OperatorConfiguration `json:"resolvedConfig"` }
Click to show internal directories.
Click to hide internal directories.