cc-backend/graph/model/models.go

18 lines
459 B
Go
Raw Normal View History

package model
2021-12-17 15:49:22 +01:00
type Cluster struct {
Name string `json:"name"`
MetricConfig []*MetricConfig `json:"metricConfig"`
FilterRanges *FilterRanges `json:"filterRanges"`
Partitions []*Partition `json:"partitions"`
2021-04-14 18:53:18 +02:00
2021-12-17 15:49:22 +01:00
// NOT part of the API:
MetricDataRepository *MetricDataRepository `json:"metricDataRepository"`
2021-04-22 15:00:54 +02:00
}
2021-12-08 10:12:19 +01:00
2021-12-17 15:49:22 +01:00
type MetricDataRepository struct {
Kind string `json:"kind"`
Url string `json:"url"`
Token string `json:"token"`
2021-12-08 10:12:19 +01:00
}