Documentation ¶
Index ¶
- Constants
- func Add(c *gin.Context, clusterAddr string, input *AddInput) (interface{}, error)
- func Decommission(c *gin.Context, clusterAddr, addr string) (interface{}, error)
- func Get(c *gin.Context, clusterNode, addr string) (*proto.MetaNodeInfo, error)
- func Migrate(c *gin.Context, clusterAddr, srcAddr, targetAddr string) error
- type AddInput
- type Partition
- type PartitionsData
Constants ¶
View Source
const ( NodePort = "17220" PathPartition = "/getPartitions" )
Variables ¶
This section is empty.
Functions ¶
func Decommission ¶
Types ¶
type PartitionsData ¶
func GetPartitions ¶
func GetPartitions(c *gin.Context, nodeAddr string) (*PartitionsData, error)
Click to show internal directories.
Click to hide internal directories.