Versions in this module Expand all Collapse all v4 v4.0.0 Jun 4, 2024 Changes in this version + func IDFromName(client *eclcloud.ServiceClient, name string) (string, error) + func ListDetail(client *eclcloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AccessType string + const AllAccess + const PrivateAccess + const PublicAccess + type Flavor struct + Disk int + Ephemeral int + ID string + IsPublic bool + Name string + RAM int + RxTxFactor float64 + Swap int + VCPUs int + func ExtractFlavors(r pagination.Page) ([]Flavor, error) + func (r *Flavor) UnmarshalJSON(b []byte) error + type FlavorPage struct + func (page FlavorPage) IsEmpty() (bool, error) + func (page FlavorPage) NextPageURL() (string, error) + type GetResult struct + func Get(client *eclcloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Flavor, error) + type ListOpts struct + AccessType AccessType + ChangesSince string + Limit int + Marker string + MinDisk int + MinRAM int + SortDir string + SortKey string + func (opts ListOpts) ToFlavorListQuery() (string, error) + type ListOptsBuilder interface + ToFlavorListQuery func() (string, error) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v3