Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListVolumeTypeURL ¶
func ListVolumeTypeURL(c *golangsdk.ServiceClient) string
Types ¶
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func ListVolumeType ¶
func ListVolumeType(client *golangsdk.ServiceClient) (r GetResult)
func (GetResult) Extract ¶
func (r GetResult) Extract() (*EdgeVolume, error)
func (GetResult) ExtractVolumeType ¶
func (r GetResult) ExtractVolumeType() (*VolumeType, error)
type ListOpts ¶
type ListOpts struct { Limit int `q:"limit"` Offset int `q:"offset"` Name string `q:"name"` Status string `q:"status"` }
ListOpts holds options for listing Voulmes. It is passed to the List function.
func (ListOpts) ToListVolumesQuery ¶
type ListOptsBuilder ¶
type ListResult ¶
type ListResult struct {
// contains filtered or unexported fields
}
func List ¶
func List(client *golangsdk.ServiceClient, opts ListOptsBuilder) (r ListResult)
func (ListResult) Extract ¶
func (r ListResult) Extract() (*Volumes, error)
type VolumeType ¶
type VolumeType struct {
VolumeTypes []common.VolumeType `json:"volume_types"`
}
Click to show internal directories.
Click to hide internal directories.