//
pkg.gl
Category
github.com/dahuang-purestorage/openstorage
api
client
package
8.0.0+incompatible
Repository:
https://github.com/dahuang-purestorage/openstorage.git
Documentation:
pkg.go.dev
Overview
Versions
8
Dependencies
16
Dependents
0
Files
454 SLOC
#
Packages
cluster
No description provided by the author
volume
No description provided by the author
#
Functions
GetUnixServerPath
GetUnixServerPath returns a unix domain socket prepended with the provided path.
NewAuthClient
NewAuthClient returns a new REST client for specified server.
NewClient
NewClient returns a new REST client for specified server.
NewRequest
NewRequest instance.
#
Structs
Client
Client is an HTTP REST wrapper.
Request
Request is contructed iteratively by the client and finally dispatched.
Response
Response is a representation of HTTP response received from the server.
Status
Status upon error, attempts to parse the body of a response into a meaningful status.