Documentation ¶
Index ¶
- func DeleteHost(req *restful.Request, resp *restful.Response)
- func GetHost(req *restful.Request, resp *restful.Response)
- func ListHost(req *restful.Request, resp *restful.Response)
- func PostClusterRelation(req *restful.Request, resp *restful.Response)
- func PutClusterRelation(req *restful.Request, resp *restful.Response)
- func PutHost(req *restful.Request, resp *restful.Response)
- type HostConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteHost ¶
func DeleteHost(req *restful.Request, resp *restful.Response)
DeleteHost delete host
func PostClusterRelation ¶
func PostClusterRelation(req *restful.Request, resp *restful.Response)
PostClusterRelation post cluster relation
func PutClusterRelation ¶
func PutClusterRelation(req *restful.Request, resp *restful.Response)
PutClusterRelation put cluster relation
Types ¶
type HostConfig ¶
type HostConfig struct { IP string `json:"ip"` ClusterID string `json:"clusterId"` Data string `json:"data"` }
HostConfig host config
Click to show internal directories.
Click to hide internal directories.