MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / appendPrefix

Function appendPrefix

store/helper.go:28–30  ·  view source on GitHub ↗
(ns string)

Source from the content-addressed store, hash-verified

26const nsPrefix = "/kvrocks/metadata"
27
28func appendPrefix(ns string) string {
29 return nsPrefix + "/" + ns
30}
31
32func buildClusterPrefix(ns string) string {
33 return fmt.Sprintf("%s/%s/cluster", nsPrefix, ns)

Callers 3

ExistsNamespaceMethod · 0.85
CreateNamespaceMethod · 0.85
RemoveNamespaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected