Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitoringClient ¶
type MonitoringClient instaclustrClient
MonitoringClient is a client for InstaClustr Monitoring API
func NewMonitoringClient ¶
func NewMonitoringClient(config Config) *MonitoringClient
NewMonitoringClient creates a MonitoringClient
func (MonitoringClient) GetNodeMetric ¶
func (c MonitoringClient) GetNodeMetric(nodeID string, metric string) []byte
GetNodeMetric returns metrics from a node in a specific cluster
type ProvisioningClient ¶
type ProvisioningClient instaclustrClient
ProvisioningClient is a client for InstaClustr Provisioning API
func NewProvisioningClient ¶
func NewProvisioningClient(config Config) *ProvisioningClient
NewProvisioningClient creates a ProvisioningClient
func (ProvisioningClient) GetClusterStatus ¶
func (c ProvisioningClient) GetClusterStatus(clusterID string) []byte
GetClusterStatus returns a list of cluster attributes, datacentres and its nodes
func (ProvisioningClient) GetClusters ¶
func (c ProvisioningClient) GetClusters() []byte
GetClusters returns the list of Cassandra clusters
Click to show internal directories.
Click to hide internal directories.