Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 v1.0.12 Apr 7, 2019 Changes in this version + type AttachMode string + const ReadOnly + const ReadWrite + type AttachOpts struct + HostName string + InstanceUUID string + Mode AttachMode + MountPoint string + func (opts AttachOpts) ToVolumeAttachMap() (map[string]interface{}, error) + type AttachOptsBuilder interface + ToVolumeAttachMap func() (map[string]interface{}, error) + type AttachResult struct + func Attach(client *gophercloud.ServiceClient, id string, opts AttachOptsBuilder) (r AttachResult) + type BeginDetachingResult struct + func BeginDetaching(client *gophercloud.ServiceClient, id string) (r BeginDetachingResult) + type DetachOpts struct + AttachmentID string + func (opts DetachOpts) ToVolumeDetachMap() (map[string]interface{}, error) + type DetachOptsBuilder interface + ToVolumeDetachMap func() (map[string]interface{}, error) + type DetachResult struct + func Detach(client *gophercloud.ServiceClient, id string, opts DetachOptsBuilder) (r DetachResult) + type ExtendSizeOpts struct + NewSize int + func (opts ExtendSizeOpts) ToVolumeExtendSizeMap() (map[string]interface{}, error) + type ExtendSizeOptsBuilder interface + ToVolumeExtendSizeMap func() (map[string]interface{}, error) + type ExtendSizeResult struct + func ExtendSize(client *gophercloud.ServiceClient, id string, opts ExtendSizeOptsBuilder) (r ExtendSizeResult) + type ForceDeleteResult struct + func ForceDelete(client *gophercloud.ServiceClient, id string) (r ForceDeleteResult) + type ImageVolumeType struct + CreatedAt time.Time + Deleted bool + DeletedAt time.Time + Description string + ExtraSpecs map[string]interface{} + ID string + IsPublic bool + Name string + QosSpecsID string + UpdatedAt time.Time + func (r *ImageVolumeType) UnmarshalJSON(b []byte) error + type InitializeConnectionOpts struct + Host string + IP string + Initiator string + Multipath *bool + OSType string + Platform string + Wwnns string + Wwpns []string + func (opts InitializeConnectionOpts) ToVolumeInitializeConnectionMap() (map[string]interface{}, error) + type InitializeConnectionOptsBuilder interface + ToVolumeInitializeConnectionMap func() (map[string]interface{}, error) + type InitializeConnectionResult struct + func InitializeConnection(client *gophercloud.ServiceClient, id string, ...) (r InitializeConnectionResult) + func (r InitializeConnectionResult) Extract() (map[string]interface{}, error) + type ReserveResult struct + func Reserve(client *gophercloud.ServiceClient, id string) (r ReserveResult) + type TerminateConnectionOpts struct + Host string + IP string + Initiator string + Multipath *bool + OSType string + Platform string + Wwnns string + Wwpns []string + func (opts TerminateConnectionOpts) ToVolumeTerminateConnectionMap() (map[string]interface{}, error) + type TerminateConnectionOptsBuilder interface + ToVolumeTerminateConnectionMap func() (map[string]interface{}, error) + type TerminateConnectionResult struct + func TerminateConnection(client *gophercloud.ServiceClient, id string, ...) (r TerminateConnectionResult) + type UnreserveResult struct + func Unreserve(client *gophercloud.ServiceClient, id string) (r UnreserveResult) + type UploadImageOpts struct + ContainerFormat string + DiskFormat string + Force bool + ImageName string + func (opts UploadImageOpts) ToVolumeUploadImageMap() (map[string]interface{}, error) + type UploadImageOptsBuilder interface + ToVolumeUploadImageMap func() (map[string]interface{}, error) + type UploadImageResult struct + func UploadImage(client *gophercloud.ServiceClient, id string, opts UploadImageOptsBuilder) (r UploadImageResult) + func (r UploadImageResult) Extract() (VolumeImage, error) + type VolumeImage struct + ContainerFormat string + Description string + DiskFormat string + ImageID string + ImageName string + Size int + Status string + UpdatedAt time.Time + VolumeID string + VolumeType ImageVolumeType + func (r *VolumeImage) UnmarshalJSON(b []byte) error