Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2014 Changes in this version + var ErrInvalidDiskConfig = errors.New("DiskConfig must be either diskconfig.Auto or diskconfig.Manual.") + type CreateOptsExt struct + DiskConfig DiskConfig + func (opts CreateOptsExt) ToServerCreateMap() (map[string]interface{}, error) + type DiskConfig string + const Auto + const Manual + func ExtractDiskConfig(page pagination.Page, index int) (*DiskConfig, error) + func ExtractGet(result servers.GetResult) (*DiskConfig, error) + func ExtractRebuild(result servers.RebuildResult) (*DiskConfig, error) + func ExtractUpdate(result servers.UpdateResult) (*DiskConfig, error) + type RebuildOptsExt struct + DiskConfig DiskConfig + func (opts RebuildOptsExt) ToServerRebuildMap() (map[string]interface{}, error) + type ResizeOptsExt struct + DiskConfig DiskConfig + func (opts ResizeOptsExt) ToServerResizeMap() (map[string]interface{}, error)