Package volumes provides information and interaction with the volume API resource for the Rackspace Block Storage service.
- func Delete(client *gophercloud.ServiceClient, id string) os.DeleteResult
- func List(client *gophercloud.ServiceClient) pagination.Pager
- type CreateOpts
- type CreateResult
- type GetResult
- type UpdateOpts
- type UpdateResult
- type Volume
Delete will delete the existing Volume with the provided ID.
type CreateOpts ¶
type CreateResult ¶
CreateResult represents the result of a create operation
Create will create a new Volume based on the values in CreateOpts. To extract the Volume object from the response, call the Extract method on the CreateResult.
GetResult represents the result of a get operation
Get retrieves the Volume with the provided ID. To extract the Volume object from the response, call the Extract method on the GetResult.
type UpdateOpts ¶
UpdateOpts contain options for updating an existing Volume. This object is passed to the volumes.Update function. For more information about the parameters, see the Volume object.
type UpdateResult ¶
UpdateResult represents the result of an update operation
Update will update the Volume with provided information. To extract the updated Volume from the response, call the Extract method on the UpdateResult.