Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient, opts ListFlavorBuilder) pagination.Pager
Types ¶
type Flavor ¶
type Flavor struct { EngineName string `json:"engine_name"` EngineVersion string `json:"engine_version"` Vcpus string `json:"vcpus"` Ram string `json:"ram"` SpecCode string `json:"spec_code"` AvailabilityZone []string `json:"availability_zone"` // AZ status AzStatus map[string]string `json:"az_status"` }
type FlavorPage ¶
type FlavorPage struct {
pagination.SinglePageBase
}
func (FlavorPage) IsEmpty ¶
func (r FlavorPage) IsEmpty() (bool, error)
type ListFlavorBuilder ¶
type ListFlavorOpts ¶
type ListFlavorOpts struct {
EngineName string `q:"engine_name"`
}
func (ListFlavorOpts) ToFlavorListDetailQuery ¶
func (opts ListFlavorOpts) ToFlavorListDetailQuery() (string, error)
type ListFlavorResponse ¶
type ListFlavorResponse struct { Flavors []Flavor `json:"flavors"` TotalCount int `json:"total_count"` }
func ExtractFlavors ¶
func ExtractFlavors(r pagination.Page) (ListFlavorResponse, error)
Click to show internal directories.
Click to hide internal directories.