package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/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.
No description provided by the author
Update will update the Volume with provided information.
# Structs
Attachment contains the disk attachment information.
No description provided by the author
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.
IOPSAndThroughput is the struct of IOPS and throughput.
JobResponse contains all the information from Create and ExtendSize response.
JobResult contains the response body and error from Create and ExtendSize requests.
Link is an object that represents a link to which the disk belongs.
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.
VolumeMetadata is an object that represents the metadata about the disk.
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.