【修改】k8s 配置

This commit is contained in:
PandaGoAdmin
2022-01-22 17:07:04 +08:00
parent c6ebe89865
commit 33cc74711d
439 changed files with 9936 additions and 21687 deletions

View File

@@ -0,0 +1,22 @@
package common
// ResourceStatus provides basic information about resources status on the list.
type ResourceStatus struct {
// Number of resources that are currently in running state.
Running int `json:"running"`
// Number of resources that are currently in pending state.
Pending int `json:"pending"`
// Number of resources that are in failed state.
Failed int `json:"failed"`
// Number of resources that are in succeeded state.
Succeeded int `json:"succeeded"`
// Number of resources that are in unknown state.
Unknown int `json:"unknown"`
// Number of resources that are in terminating state.
Terminating int `json:"terminating"`
}