MCPcopy Create free account
hub / github.com/bytebase/bytebase / FormatEnvironment

Function FormatEnvironment

backend/common/resource_name.go:578–580  ·  view source on GitHub ↗
(resourceID string)

Source from the content-addressed store, hash-verified

576}
577
578func FormatEnvironment(resourceID string) string {
579 return fmt.Sprintf("%s%s", EnvironmentNamePrefix, resourceID)
580}
581
582func FormatInstance(resourceID string) string {
583 return fmt.Sprintf("%s%s", InstanceNamePrefix, resourceID)

Callers 4

convertToEnvironmentFunction · 0.92
convertToRolloutFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected