package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Functions
Create will create a new Volume based on the values in CreateOpts.
Delete will delete the existing Volume with the provided ID.
ExtendSize will extend the size of the volume based on the provided information.
ExtractVolumes extracts and returns Volumes.
Get retrieves the Volume with the provided ID.
List returns Volumes optionally limited by the conditions provided in ListOpts.
Update will update the Volume with provided information.
# Structs
Attachment contains the disk attachment information.
CreateOpts contains options for creating a Volume.
DeleteOpts contain options for deleting an existing Volume.
DeleteResult contains the response body and error from a Delete request.
ErrorInfo contains the error message returned when an error occurs.
ExtendChargeOpts contains the charging parameters of the volume.
ExtendOpts contains options for extending the size of an existing Volume.
ExtendSizeOpts contains the new size of the volume, in GB.
GetResult contains the response body from a Get request.
JobResponse contains all the information from Create and ExtendSize response.
JobResult contains the response body and error from Create and ExtendSize requests.
ListOpts holds options for listing Volumes.
SchedulerOpts contains the scheduler hints.
UpdateOpts contain options for updating an existing Volume.
UpdateResult contains the response body from a Update request.
Volume contains all the information associated with a Volume.
VolumeOpts contains options for creating a Volume.
VolumePage is a pagination.pager that is returned from a call to the List function.
# Interfaces
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
DeleteOptsBuilder is an interface by which can be able to build the query string of volume deletion.
ExtendOptsBuilder allows extensions to add additional parameters to the ExtendSize request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.