1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 21:39:40 +02:00
portainer/api/http/models/kubernetes/metrics.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
386 B
Go
Raw Permalink Normal View History

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"`
}