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

Method buildClusterKey

controller/controller.go:180–182  ·  view source on GitHub ↗
(namespace, clusterName string)

Source from the content-addressed store, hash-verified

178}
179
180func (c *Controller) buildClusterKey(namespace, clusterName string) string {
181 return namespace + "/" + clusterName
182}
183
184func (c *Controller) addCluster(namespace, clusterName string) {
185 key := c.buildClusterKey(namespace, clusterName)

Callers 4

addClusterMethod · 0.95
getClusterMethod · 0.95
removeClusterMethod · 0.95
updateClusterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected