Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/kvrocks-controller
/ SetRole
Method
SetRole
store/cluster_node.go:120–122 ·
view source on GitHub ↗
(role string)
Source
from the content-addressed store, hash-verified
118
}
119
120
func
(n *ClusterNode) SetRole(role string) {
121
n.role = role
122
}
123
124
func
(n *ClusterNode) Addr() string {
125
return
n.addr
Callers
3
addNode
Method · 0.95
NewCluster
Function · 0.95
Create
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected