EVS

The SDK interfaces based on the Cinder v2 API are as follows. For details about the invoking methods, see the sample codes.

Interface

Method

API

Volumes

List(client *gophercloud.ServiceClient, opts ListOptsBuilder)

GET /v2/{project_id}/volumes/detail

Link

Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder)

POST /v2/{project_id}/volumes

Link

Get(client *gophercloud.ServiceClient, id string)

GET /v2/{project_id}/volumes/{volume_id}

Link

Delete(client *gophercloud.ServiceClient, id string)

DELETE /v2/{project_id}/volumes/{volume_id}

Link

Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder)

PUT /v2/{project_id}/volumes/{volume_id}

Link