Documentation ¶
Overview ¶
Copyright (c) 2019-2021 Red Hat, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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 RouteName(workspaceId, endpointName string) string
- func ServiceAccountName(workspaceId string) string
- func ServiceName(workspaceId string) string
- func ServingCertVolumeName(serviceName string) string
- func WorkspaceHostname(routingSuffix, workspaceId string) string
Constants ¶
This section is empty.
Variables ¶
var NonAlphaNumRegexp = regexp.MustCompile(`[^a-z0-9]+`)
Functions ¶
func AutoMountConfigMapVolumeName ¶ added in v0.8.0
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 ServiceAccountName ¶
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
Types ¶
This section is empty.