screen
Former-commit-id: 3083efc6ab9cad58a256f8678aee3c4c2cf0a160
This commit is contained in:
parent
4a1bdc268e
commit
6bdfa98ff0
|
@ -504,6 +504,36 @@ type (
|
|||
}
|
||||
)
|
||||
|
||||
|
||||
type ScreenChartResp {
|
||||
ComputingPower []int `json:"computingPower"`
|
||||
CpuAvg []int `json:"cpuAvg"`
|
||||
CpuLoad []int `json:"cpuLoad"`
|
||||
MemoryLoad []int `json:"memoryLoad"`
|
||||
MemoryAvg []int `json:"memoryAvg"`
|
||||
CenterName string `json:"centerName"`
|
||||
}
|
||||
|
||||
|
||||
|
||||
type ScreenInfoResp {
|
||||
StorageUsed float32 `json:"storageUsed"`
|
||||
StorageUsing float32 `json:"storageUsing"`
|
||||
UsageRate float32 `json:"usageRate"`
|
||||
UsingRate float32 `json:"usingRate"`
|
||||
ApiDelay string `json:"apiDelay"`
|
||||
SchedulerTimes int `json:"schedulerTimes"`
|
||||
SchedulerErr int `json:"schedulerErr"`
|
||||
ApiTimes string `json:"apiTimes"`
|
||||
CenterCount int `json:"centerCount"`
|
||||
ComputingPower float64 `json:"computingPower"`
|
||||
ClusterCount int `json:"clusterCount"`
|
||||
RunningCount int `json:"runningCount"`
|
||||
CardCount int `json:"cardCount"`
|
||||
RunningTime int `json:"runningTime"`
|
||||
}
|
||||
|
||||
|
||||
type (
|
||||
cpResp {
|
||||
POpsAtFp16 float32 `json:"pOpsAtFp16"`
|
||||
|
|
|
@ -446,16 +446,6 @@ type ComputeCluster struct {
|
|||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type CpResp struct {
|
||||
POpsAtFp16 float32 `json:"pOpsAtFp16"`
|
||||
}
|
||||
|
||||
type GiResp struct {
|
||||
CpuNum int32 `json:"cpuNum,optional"`
|
||||
MemoryInGib int32 `json:"memoryInGib,optional"`
|
||||
StorageInGib int32 `json:"storageInGib,optional"`
|
||||
}
|
||||
|
||||
type ScreenChartResp struct {
|
||||
ComputingPower []int `json:"computingPower"`
|
||||
CpuAvg []int `json:"cpuAvg"`
|
||||
|
@ -466,8 +456,10 @@ type ScreenChartResp struct {
|
|||
}
|
||||
|
||||
type ScreenInfoResp struct {
|
||||
StorageTotal float64 `json:"storageTotal"`
|
||||
StorageAvail float64 `json:"storageAvail"`
|
||||
StorageUsed float32 `json:"storageUsed"`
|
||||
StorageUsing float32 `json:"storageUsing"`
|
||||
UsageRate float32 `json:"usageRate"`
|
||||
UsingRate float32 `json:"usingRate"`
|
||||
ApiDelay string `json:"apiDelay"`
|
||||
SchedulerTimes int `json:"schedulerTimes"`
|
||||
SchedulerErr int `json:"schedulerErr"`
|
||||
|
@ -480,6 +472,16 @@ type ScreenInfoResp struct {
|
|||
RunningTime int `json:"runningTime"`
|
||||
}
|
||||
|
||||
type CpResp struct {
|
||||
POpsAtFp16 float32 `json:"pOpsAtFp16"`
|
||||
}
|
||||
|
||||
type GiResp struct {
|
||||
CpuNum int32 `json:"cpuNum,optional"`
|
||||
MemoryInGib int32 `json:"memoryInGib,optional"`
|
||||
StorageInGib int32 `json:"storageInGib,optional"`
|
||||
}
|
||||
|
||||
type DomainResourceResp struct {
|
||||
TotalCount int `json:"totalCount"`
|
||||
DomainResourceList []DomainResource `json:"domainResourceList"`
|
||||
|
|
Loading…
Reference in New Issue