You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decort-golang-sdk/pkg/cloudapi/sizes/models.go

26 lines
416 B

package sizes
// Main onformation about configured available flavors
type ItemSize struct {
// Description
Description string `json:"desc"`
// List of disk IDs
Disks []uint64 `json:"disks"`
// ID
ID uint64 `json:"id"`
// Memory
Memory uint64 `json:"memory"`
// Name
Name string `json:"name"`
// VCPUs
VCPUs uint64 `json:"vcpus"`
}
// List of configured available flavors
type ListSizes []ItemSize