Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion struct { ID string `json:"id" mapstructure:"id"` Status string `json:"status" mapstructure:"status"` Links []map[string]string `json:"links" mapstructure:"links"` }
APIVersion represents an API version for Glance.
type GetResult ¶
type GetResult struct {
gophercloud.Result
}
GetResult represents the result of a get operation.
func Get ¶
func Get(client *gophercloud.ServiceClient) GetResult
Get will retrieve the image type with the provided ID. To extract the image type from the result, call the Extract method on the GetResult.
func (GetResult) Extract ¶
func (r GetResult) Extract() ([]APIVersion, error)
Extract will get the Volume object out of the commonResult object.
Click to show internal directories.
Click to hide internal directories.