mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
18 lines
459 B
Go
18 lines
459 B
Go
package model
|
|
|
|
type Cluster struct {
|
|
Name string `json:"name"`
|
|
MetricConfig []*MetricConfig `json:"metricConfig"`
|
|
FilterRanges *FilterRanges `json:"filterRanges"`
|
|
Partitions []*Partition `json:"partitions"`
|
|
|
|
// NOT part of the API:
|
|
MetricDataRepository *MetricDataRepository `json:"metricDataRepository"`
|
|
}
|
|
|
|
type MetricDataRepository struct {
|
|
Kind string `json:"kind"`
|
|
Url string `json:"url"`
|
|
Token string `json:"token"`
|
|
}
|