MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / DevWorkspaceRoutingName

Function DevWorkspaceRoutingName

pkg/common/naming.go:30–32  ·  view source on GitHub ↗
(workspaceId string)

Source from the content-addressed store, hash-verified

28var NonAlphaNumRegexp = regexp.MustCompile(`[^a-z0-9]+`)
29
30func DevWorkspaceRoutingName(workspaceId string) string {
31 return fmt.Sprintf("routing-%s", workspaceId)
32}
33
34func EndpointName(endpointName string) string {
35 name := strings.ToLower(endpointName)

Callers 4

doStopMethod · 0.92
getSpecRoutingFunction · 0.92

Calls

no outgoing calls

Tested by 1