Help Center > > Developer Guide> Mapping Between API and SDK> Go> IMS


Updated at: Dec 31, 2019 GMT+08:00

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





Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder)

POST /v2/images

Delete(client *gophercloud.ServiceClient, id string)

DELETE /v2/images/{image_id}

List(c *gophercloud.ServiceClient, opts ListOptsBuilder)

GET /v2/images

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

PATCH /v2/images/{image_id}

Get(client *gophercloud.ServiceClient, id string)

GET /v2/images/{image_id}

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel