Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryNodeRuntimes ¶
QueryNodeRuntimes queries a remote node for its available runtimes This is a convenience wrapper around QueryNodeInfo
Types ¶
type ClusterNodeInfo ¶
type ClusterNodeInfo struct {
NodeId string `json:"node_id"`
Hostname string `json:"hostname"`
Zone string `json:"zone"`
ApiEndpoint string `json:"api_endpoint"`
AllocatedSpaces int `json:"allocated_spaces"`
RunningSpaces int `json:"running_spaces"`
Runtimes []string `json:"runtimes"`
}
ClusterNodeInfo represents basic node information returned from queries
func QueryNodeInfo ¶
func QueryNodeInfo(nodeAddr string, clusterKey string) ClusterNodeInfo
QueryNodeInfo queries a remote node for its information including runtimes
Click to show internal directories.
Click to hide internal directories.