1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

feat(kubernetes): cluster setup reasonable defaults EE-4518 (#8082)

This commit is contained in:
Dakota Walsh 2022-12-16 16:03:40 +13:00 committed by GitHub
parent 0436be7bc4
commit 046738c967
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 168 additions and 3 deletions

View file

@ -0,0 +1,13 @@
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"`
}