...
1 package client
2
3 type CacheResource struct {
4 CacheVolumes []CacheVolume `json:"cache_volumes,omitempty"`
5 }
6
7 type CacheVolume struct {
8 VolumeNumber int32 `json:"volume_number,omitempty"`
9
10 DevicePath string `json:"device_path,omitempty"`
11
12 DevicePathCache string `json:"device_path_cache,omitempty"`
13
14 DeviceMetaCache string `json:"device_meta_cache,omitempty"`
15 AllocatedSizeKib int64 `json:"allocated_size_kib,omitempty"`
16 UsableSizeKib int64 `json:"usable_size_kib,omitempty"`
17
18 DiskState string `json:"disk_state,omitempty"`
19 }
20
View as plain text