You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add X-Auth-Token support
- removed old Resell client
- removed old QuotaManager client
- created one client (all in one) that includes clients Resell and QuotaManager
- new client uses X-Auth-Token instead of X-Token
- updated Go version (1.14 -> 1.20)
- Resell URL is taken from the identity service
- added support auth with user from another domain (different from scope)
- removed context for every request, because gophercloud doesn't support it
-[Cloud Quota Management API ](https://developers.selectel.ru/docs/selectel-cloud-platform/main-services/cloud-quota-management/)
8
9
9
10
## Documentation
10
11
11
-
The Go library documentation is available at [godoc.org](https://godoc.org/github.com/selectel/go-selvpcclient/v2/selvpcclient).
12
-
13
-
The API usage examples are available at [knowledge base](https://kb.selectel.com/24381383.html).
14
-
API documentation is also available at the [VPC page](https://my.selectel.ru/vpc/docs) (if you've created an account on the [registration page](https://my.selectel.ru/registration)).
12
+
The Go library documentation is available at [godoc.org](https://godoc.org/github.com/selectel/go-selvpcclient/v3/selvpcclient).
15
13
16
14
## What this library is capable of
17
15
18
-
You can use this library to work with the following objects of the Selectel VPC API:
Selectel VPC Cloud is based on the [OpenStack](https://www.openstack.org), so you don't need this library to work with actual servers, volumes, networks, etc.
34
37
You can use the [Gophercloud](https://github.com/gophercloud/gophercloud) project to work with the OpenStack objects.
@@ -40,15 +43,15 @@ You can use the [Gophercloud](https://github.com/gophercloud/gophercloud) projec
40
43
You can install `go-selvpcclient` as a Go package:
41
44
42
45
```bash
43
-
go get github.com/selectel/go-selvpcclient/selvpcclient/v2
46
+
go get github.com/selectel/go-selvpcclient/selvpcclient/v3
44
47
```
45
48
46
49
### Authentication
47
50
48
51
To work with the Selectel VPC API you first need to:
49
52
50
53
* create a Selectel account: [registration page](https://my.selectel.ru/registration)
51
-
*obtain an API token: [api keys](http://my.selectel.ru/profile/apikeys)
54
+
*create the service user: [users and roles](https://docs.selectel.ru/control-panel-actions/users-and-roles)
0 commit comments