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:
parent
0436be7bc4
commit
046738c967
7 changed files with 168 additions and 3 deletions
13
api/http/models/kubernetes/metrics.go
Normal file
13
api/http/models/kubernetes/metrics.go
Normal 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"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue