v15.1.0
This commit is contained in:
@@ -12,6 +12,21 @@ type CpuAlignmentProfile struct {
|
||||
Model string `json:"model"`
|
||||
}
|
||||
|
||||
// Supported CPU model
|
||||
type SupportedCpuModel struct {
|
||||
// Vendor
|
||||
Vendor string `json:"vendor"`
|
||||
|
||||
// Model
|
||||
Model string `json:"model"`
|
||||
|
||||
// Count
|
||||
Count uint64 `json:"count"`
|
||||
|
||||
// Percentage
|
||||
Percentage float64 `json:"percentage"`
|
||||
}
|
||||
|
||||
// CPU alignment profile candidate
|
||||
type CpuAlignmentProfileCandidate struct {
|
||||
// Profile name
|
||||
@@ -27,7 +42,7 @@ type CpuAlignmentProfileCandidate struct {
|
||||
Count uint64 `json:"count"`
|
||||
|
||||
// Percentage
|
||||
Percentage uint64 `json:"percentage"`
|
||||
Percentage float64 `json:"percentage"`
|
||||
|
||||
// Required count
|
||||
RequiredCount uint64 `json:"required_count"`
|
||||
@@ -40,6 +55,9 @@ type TestCPUAlignmentProfileResult struct {
|
||||
|
||||
// Candidates
|
||||
Candidates []CpuAlignmentProfileCandidate `json:"candidates"`
|
||||
|
||||
// Supported CPU models
|
||||
SupportedCpuModels []SupportedCpuModel `json:"supported_cpu_models"`
|
||||
}
|
||||
|
||||
// Item for list_cpu_alignment_profile response
|
||||
|
||||
Reference in New Issue
Block a user