Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 volume type with the provided ID. To extract the volume type from the result, call the Extract method on the GetResult.
type Image ¶
type Image struct { Checksum string `json:"checksum" mapstructure:"checksum"` ContainerFormat string `json:"container_format" mapstructure:"container_format"` CreatedAt string `json:"created_at" mapstructure:"created_at"` DirectURL string `json:"direct_url" mapstructure:"direct_url"` DiskFormat string `json:"disk_format" mapstructure:"disk_format"` File string `json:"file" mapstructure:"file"` ID string `json:"id" mapstructure:"id"` MinDisk int `json:"min_disk" mapstructure:"min_disk"` MinRam int `json:"min_ram" mapstructure:"min_ram"` Name string `json:"name" mapstructure:"name"` Owner string `json:"owner" mapstructure:"owner"` Protected bool `json:"protected" mapstructure:"protected"` Schema string `json:"schema" mapstructure:"schema"` Self string `json:"self" mapstructure:"self"` Size int `json:"size" mapstructure:"size"` Status string `json:"status" mapstructure:"status"` Tags []map[string]string `json:"tags" mapstructure:"tags"` UpdatedAt string `json:"updated_at" mapstructure:"updated_at"` VirtualSize string `json:"virtual_size" mapstructure:"virtual_size"` Visibility string `json:"visibility" mapstructure:"visibility"` }
Image represents an Glance image
Click to show internal directories.
Click to hide internal directories.