Versions in this module Expand all Collapse all v3 v3.0.0 Jan 5, 2022 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 BootableOpts struct + Bootable bool + func (opts BootableOpts) ToBootableMap() (map[string]interface{}, error) + type ChangeTypeOpts struct + MigrationPolicy MigrationPolicy + NewType string + func (opts ChangeTypeOpts) ToVolumeChangeTypeMap() (map[string]interface{}, error) + type ChangeTypeOptsBuilder interface + ToVolumeChangeTypeMap func() (map[string]interface{}, error) + type ChangeTypeResult struct + func ChangeType(client *gophercloud.ServiceClient, id string, opts ChangeTypeOptsBuilder) (r ChangeTypeResult) + 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 ImageMetadataOpts struct + Metadata map[string]string + func (opts ImageMetadataOpts) ToImageMetadataMap() (map[string]interface{}, error) + type ImageMetadataOptsBuilder interface + ToImageMetadataMap func() (map[string]interface{}, error) + 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 MigrationPolicy string + const MigrationPolicyNever + const MigrationPolicyOnDemand + type ReserveResult struct + func Reserve(client *gophercloud.ServiceClient, id string) (r ReserveResult) + type SetBootableResult struct + func SetBootable(client *gophercloud.ServiceClient, id string, opts BootableOpts) (r SetBootableResult) + type SetImageMetadataResult struct + func SetImageMetadata(client *gophercloud.ServiceClient, id string, opts ImageMetadataOptsBuilder) (r SetImageMetadataResult) + 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 + Protected bool + Visibility 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 + Protected bool + Size int + Status string + UpdatedAt time.Time + Visibility string + VolumeID string + VolumeType ImageVolumeType + func (r *VolumeImage) UnmarshalJSON(b []byte) error Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v2