Update quobyte client API to v0.1.8

This update picks up https://github.com/quobyte/api/pull/19 which adds
the needed `SetTransport` option. With this update, we can add the IP
deny list into quobyte operations.
This commit is contained in:
Jonathan Basseri
2020-09-30 13:28:22 -07:00
parent 0ad06e991a
commit 40bb82a5b8
7 changed files with 47 additions and 27 deletions

View File

@@ -32,6 +32,10 @@ func (client *QuobyteClient) GetAPIRetryPolicy() string {
return client.apiRetryPolicy
}
func (client *QuobyteClient) SetTransport(t http.RoundTripper) {
client.client.Transport = t
}
// NewQuobyteClient creates a new Quobyte API client
func NewQuobyteClient(url string, username string, password string) *QuobyteClient {
return &QuobyteClient{