Skip to content

Commit

Permalink
fix(): inventory types
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul-D78 <[email protected]>
  • Loading branch information
Rahul-D78 committed Aug 13, 2024
1 parent bf61901 commit 2f52fbf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/controller/v1alpha1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,16 @@ type GpuProperties struct {
}

type GpuUtilization struct {
TotalGPUs uint `json:"totalGPUs,omitempty"`
Allocated uint `json:"allocated,omitempty"`
Free uint `json:"free,omitempty"`
TotalGPUs string `json:"totalGPUs,omitempty"`
Free string `json:"free,omitempty"`
Allocated string `json:"allocated,omitempty"`
Memory string `json:"memory,omitempty"`
Reserved []Reserved `json:"reserved,omitempty"`
}

type Reserved struct {
SliceName string `json:"sliceName,omitempty"`
NumReservedGPUs uint `json:"numReservedGPUs,omitempty"`
NumReservedGPUs string `json:"numReservedGPUs,omitempty"`
}

type VCPURestriction struct {
Expand Down

0 comments on commit 2f52fbf

Please sign in to comment.