MCPcopy
hub / github.com/apecloud/kubeblocks / FullName

Function FullName

pkg/controller/component/component.go:37–39  ·  view source on GitHub ↗
(clusterName, compName string)

Source from the content-addressed store, hash-verified

35)
36
37func FullName(clusterName, compName string) string {
38 return constant.GenerateClusterComponentName(clusterName, compName)
39}
40
41func ShortName(clusterName, compName string) (string, error) {
42 name, found := strings.CutPrefix(compName, fmt.Sprintf("%s-", clusterName))

Callers 12

compExistMethod · 0.92
compMatchMethod · 0.92
runningCompMethod · 0.92
TransformMethod · 0.92
vars_test.goFile · 0.85
BuildComponentFunction · 0.85
compServiceGetterFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…