You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/api/http/models/kubernetes/metrics.go

14 lines
386 B

package kubernetes
type K8sMetrics struct {
Resources []K8sMetricsResources `json:"resources"`
}
type K8sMetricsResources struct {
Kind string `json:"Kind,omitempty"`
Name string `json:"Name,omitempty"`
Namespaced bool `json:"Namespaced,omitempty"`
SingularName string `json:"SingularName,omitempty"`
Verbs []string `json:"Verbs,omitempty"`
}