Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPaginatedResult ¶
type ClusterPaginatedResult struct { Data []apicontracts.Cluster `json:"data"` DataCount int64 `json:"dataCount"` TotalCount int64 `json:"totalCount"` Offset int64 `json:"offset"` }
type DatacentersResponse ¶
type HealthStatus ¶
type HealthStatus struct {
Services []Services `json:"services"`
}
type HealthStatusCode ¶
type HealthStatusCode int
const ( StatusOK HealthStatusCode = 1 StatusNotConnected HealthStatusCode = -1 StatusUnableToPing HealthStatusCode = -2 )
type Metric ¶
type Metric struct { Id string `json:"id"` PriceMonth int64 `json:"priceMonth"` PriceYear int64 `json:"priceYear"` Cpu int64 `json:"cpu"` Memory int64 `json:"memory"` CpuConsumed int64 `json:"cpuConsumed"` MemoryConsumed int64 `json:"memoryConsumed"` CpuPercentage int64 `json:"cpuPercentage"` MemoryPercentage int64 `json:"memoryPercentage"` NodePoolCount int64 `json:"nodePoolCount"` NodeCount int64 `json:"nodeCount"` ClusterCount int64 `json:"clusterCount"` }
type MetricData ¶
type MetricItem ¶
type MetricList ¶
type MetricList struct {
Items []MetricItem `json:"items"`
}
type MetricsPaginatedResult ¶
type MetricsPaginatedResult struct { Data []apicontracts.Metric `json:"data"` DataCount int64 `json:"dataCount"` TotalCount int64 `json:"totalCount"` Offset int64 `json:"offset"` }
type Services ¶
type Services struct { Name string `json:"name"` Status HealthStatusCode `json:"status"` }
type WorkspacesResponse ¶
type WorkspacesResponse struct {
Workspaces []apicontracts.Workspace `json:"workspaces"`
}
Click to show internal directories.
Click to hide internal directories.