backend update
This commit is contained in:
@@ -90,6 +90,15 @@ type GetStoragePolicyResponse struct {
|
||||
EntitiesSize int `json:"entities_size,omitempty"`
|
||||
}
|
||||
|
||||
// StoragePolicySpace 存储策略空间使用情况
|
||||
type StoragePolicySpace struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Used int64 `json:"used"`
|
||||
Total int64 `json:"total"`
|
||||
}
|
||||
|
||||
type ListNodeResponse struct {
|
||||
Pagination *inventory.PaginationResults `json:"pagination"`
|
||||
Nodes []*ent.Node `json:"nodes"`
|
||||
@@ -115,9 +124,10 @@ type ListGroupResponse struct {
|
||||
}
|
||||
|
||||
type HomepageSummary struct {
|
||||
MetricsSummary *MetricsSummary `json:"metrics_summary"`
|
||||
SiteURls []string `json:"site_urls"`
|
||||
Version *Version `json:"version"`
|
||||
MetricsSummary *MetricsSummary `json:"metrics_summary"`
|
||||
SiteURls []string `json:"site_urls"`
|
||||
Version *Version `json:"version"`
|
||||
StoragePolicies []*StoragePolicySpace `json:"storage_policies"`
|
||||
}
|
||||
|
||||
type MetricsSummary struct {
|
||||
|
||||
Reference in New Issue
Block a user