common

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: EPL-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NonAlphaNumRegexp = regexp.MustCompile(`[^a-z0-9]+`)

Functions

func DeploymentName

func DeploymentName(workspaceId string) string

func EndpointHostname

func EndpointHostname(workspaceId, endpointName string, endpointPort int, routingSuffix string) string

func EndpointName

func EndpointName(endpointName string) string

func EndpointPath

func EndpointPath(endpointName string) string

func MetadataConfigMapName added in v0.2.0

func MetadataConfigMapName(workspaceId string) string

func OAuthProxySecretName

func OAuthProxySecretName(workspaceId string) string

func PVCCleanupJobName

func PVCCleanupJobName(workspaceId string) string

func RouteName

func RouteName(workspaceId, endpointName string) string

func ServiceAccountName

func ServiceAccountName(workspaceId string) string

func ServiceName

func ServiceName(workspaceId string) string

func ServingCertVolumeName

func ServingCertVolumeName(serviceName string) string

func WorkspaceHostname

func WorkspaceHostname(workspaceId, routingSuffix string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL