Skip to content

Commit

Permalink
HostShare Datastores struct
Browse files Browse the repository at this point in the history
  • Loading branch information
William Wei committed Jul 26, 2023
1 parent 08bb8f7 commit 57afd8c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/oca/go/src/goca/schemas/host/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,18 @@ type Share struct {
}

type Datastores struct {
DiskUsage int `xml:"DISK_USAGE,omitempty"`
FreeDisk int `xml:"FREE_DISK,omitempty"`
MaxDisk int `xml:"MAX_DISK,omitempty"`
UsedDisk int `xml:"USED_DISK,omitempty"`
DiskUsage int `xml:"DISK_USAGE,omitempty"`
FreeDisk int `xml:"FREE_DISK,omitempty"`
MaxDisk int `xml:"MAX_DISK,omitempty"`
UsedDisk int `xml:"USED_DISK,omitempty"`
Datastore Datastore `xml:"DS,omitempty"`
}

type Datastore struct {
ID int `xml:"ID,omitempty"`
TotalMB int `xml:"TOTAL_MB,omitempty"`
FreeMB int `xml:"FREE_MB,omitempty"`
UsedMB int `xml:"USED_MB,omitempty"`
}

type PCIDevices struct {
Expand Down

0 comments on commit 57afd8c

Please sign in to comment.