Update Quobyte API

This commit is contained in:
Venkata Subbarao Chunduri
2017-10-26 15:09:37 +02:00
parent 58fd063a6c
commit d5778398e2
5 changed files with 133 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
# Quobyte API Clients
Get the quoybte api client
Get the quobyte api client
```bash
go get github.com/quobyte/api
@@ -18,6 +18,7 @@ import (
func main() {
client := quobyte_api.NewQuobyteClient("http://apiserver:7860", "user", "password")
client.SetAPIRetryPolicy(quobyte_api.RetryInfinitely) // Default quobyte_api.RetryInteractive
req := &quobyte_api.CreateVolumeRequest{
Name: "MyVolume",
RootUserID: "root",