mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
feat(dashboard): dashboard api [EE-7111] (#11843)
This commit is contained in:
parent
659abe553d
commit
9cef912c44
11 changed files with 695 additions and 69 deletions
13
api/http/models/kubernetes/dashboard.go
Normal file
13
api/http/models/kubernetes/dashboard.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package kubernetes
|
||||
|
||||
type (
|
||||
K8sDashboard struct {
|
||||
NamespacesCount int64 `json:"namespacesCount"`
|
||||
ApplicationsCount int64 `json:"applicationsCount"`
|
||||
ServicesCount int64 `json:"servicesCount"`
|
||||
IngressesCount int64 `json:"ingressesCount"`
|
||||
ConfigMapsCount int64 `json:"configMapsCount"`
|
||||
SecretsCount int64 `json:"secretsCount"`
|
||||
VolumesCount int64 `json:"volumesCount"`
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue