Documentation ¶
Index ¶
- func APPDiscover(w http.ResponseWriter, r *http.Request)
- func APPList(w http.ResponseWriter, r *http.Request)
- func APPRegister(w http.ResponseWriter, r *http.Request)
- func AddNode(w http.ResponseWriter, r *http.Request)
- func CapRes(w http.ResponseWriter, r *http.Request)
- func CheckNode(w http.ResponseWriter, r *http.Request)
- func ClusterDiscover(w http.ResponseWriter, r *http.Request)
- func ClusterInfo(w http.ResponseWriter, r *http.Request)
- func Cordon(w http.ResponseWriter, r *http.Request)
- func CreateLocalVolume(w http.ResponseWriter, r *http.Request)
- func DeleteLabel(w http.ResponseWriter, r *http.Request)
- func DeleteLocalVolume(w http.ResponseWriter, r *http.Request)
- func DeleteNodeCondition(w http.ResponseWriter, r *http.Request)
- func DeleteWutongNode(w http.ResponseWriter, r *http.Request)
- func DownNode(w http.ResponseWriter, r *http.Request)
- func Exist(i interface{})
- func GetAllNodeHealth(w http.ResponseWriter, r *http.Request)
- func GetDatacenterConfig(w http.ResponseWriter, r *http.Request)
- func GetLabel(w http.ResponseWriter, r *http.Request)
- func GetNode(w http.ResponseWriter, r *http.Request)
- func GetNodeBasic(w http.ResponseWriter, r *http.Request)
- func GetNodeDetails(w http.ResponseWriter, r *http.Request)
- func GetNodeResource(w http.ResponseWriter, r *http.Request)
- func GetNodes(w http.ResponseWriter, r *http.Request)
- func GetRuleNodes(w http.ResponseWriter, r *http.Request)
- func GetServicesHealthy(w http.ResponseWriter, r *http.Request)
- func Init(c *option.Conf, ms *masterserver.MasterServer, kube kubecache.KubeClient)
- func InstallNode(w http.ResponseWriter, r *http.Request)
- func Instances(w http.ResponseWriter, r *http.Request)
- func ListNodeCondition(w http.ResponseWriter, r *http.Request)
- func ListenerDiscover(w http.ResponseWriter, r *http.Request)
- func Ping(w http.ResponseWriter, r *http.Request)
- func PluginResourcesConfig(w http.ResponseWriter, r *http.Request)
- func PutDatacenterConfig(w http.ResponseWriter, r *http.Request)
- func PutLabel(w http.ResponseWriter, r *http.Request)
- func Resource(w http.ResponseWriter, r *http.Request)
- func Resources(w http.ResponseWriter, r *http.Request)
- func RoutesDiscover(w http.ResponseWriter, r *http.Request)
- func ServiceDiscover(w http.ResponseWriter, r *http.Request)
- func UnCordon(w http.ResponseWriter, r *http.Request)
- func UpNode(w http.ResponseWriter, r *http.Request)
- func UpdateNodeStatus(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APPDiscover ¶
func APPDiscover(w http.ResponseWriter, r *http.Request)
APPDiscover 服务发现 用于实时性要求不高的场景,例如docker发现event_log地址 请求API返回可用地址
func ClusterDiscover ¶
func ClusterDiscover(w http.ResponseWriter, r *http.Request)
ClusterDiscover ClusterDiscover
func CreateLocalVolume ¶
func CreateLocalVolume(w http.ResponseWriter, r *http.Request)
CreateLocalVolume crete local volume dir
func DeleteLabel ¶
func DeleteLabel(w http.ResponseWriter, r *http.Request)
DeleteLabel delete node label
func DeleteLocalVolume ¶
func DeleteLocalVolume(w http.ResponseWriter, r *http.Request)
DeleteLocalVolume delete local volume dir
func DeleteNodeCondition ¶
func DeleteNodeCondition(w http.ResponseWriter, r *http.Request)
DeleteNodeCondition delete node condition
func DeleteWutongNode ¶
func DeleteWutongNode(w http.ResponseWriter, r *http.Request)
DeleteWutongNode 节点删除
func GetAllNodeHealth ¶
func GetAllNodeHealth(w http.ResponseWriter, r *http.Request)
GetAllNodeHealth get all node health
func GetDatacenterConfig ¶
func GetDatacenterConfig(w http.ResponseWriter, r *http.Request)
GetDatacenterConfig 获取数据中心配置
func GetNodeBasic ¶
func GetNodeBasic(w http.ResponseWriter, r *http.Request)
GetNodeBasic GetNodeBasic
func GetNodeDetails ¶
func GetNodeDetails(w http.ResponseWriter, r *http.Request)
GetNodeDetails GetNodeDetails
func GetNodeResource ¶
func GetNodeResource(w http.ResponseWriter, r *http.Request)
GetNodeResource -
func GetServicesHealthy ¶
func GetServicesHealthy(w http.ResponseWriter, r *http.Request)
GetServicesHealthy get service healthy
func Init ¶
func Init(c *option.Conf, ms *masterserver.MasterServer, kube kubecache.KubeClient)
Init 初始化
func InstallNode ¶
func InstallNode(w http.ResponseWriter, r *http.Request)
InstallNode install a node
func Instances ¶
func Instances(w http.ResponseWriter, r *http.Request)
Instances get node service instances
func ListNodeCondition ¶
func ListNodeCondition(w http.ResponseWriter, r *http.Request)
ListNodeCondition list node condition
func ListenerDiscover ¶
func ListenerDiscover(w http.ResponseWriter, r *http.Request)
ListenerDiscover ListenerDiscover
func PluginResourcesConfig ¶
func PluginResourcesConfig(w http.ResponseWriter, r *http.Request)
PluginResourcesConfig discover plugin config
func PutDatacenterConfig ¶
func PutDatacenterConfig(w http.ResponseWriter, r *http.Request)
PutDatacenterConfig 更新数据中心配置
func Resources ¶
func Resources(w http.ResponseWriter, r *http.Request)
Resources specified node scheduler resources info
func RoutesDiscover ¶
func RoutesDiscover(w http.ResponseWriter, r *http.Request)
RoutesDiscover RoutesDiscover no impl
func ServiceDiscover ¶
func ServiceDiscover(w http.ResponseWriter, r *http.Request)
ServiceDiscover service discover service
func UpdateNodeStatus ¶
func UpdateNodeStatus(w http.ResponseWriter, r *http.Request)
UpdateNodeStatus update node status `{"status":"installing"}`
Types ¶
This section is empty.