Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthTransport ¶
type AuthTransport struct {
Manager conf.ManagerInterface
Base http.RoundTripper
Cred *conf.Credential
Mode AuthMode
// contains filtered or unexported fields
}
func (*AuthTransport) NewAccessToken ¶
func (t *AuthTransport) NewAccessToken(ctx context.Context) error
type Client ¶ added in v0.3.6
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶ added in v0.3.6
func NewClient( logger *logs.Gen3Logger, cred *conf.Credential, manager conf.ManagerInterface, userAgent string, baseHTTPClient *http.Client, mode AuthMode, ) *Client
func (*Client) Do ¶ added in v0.3.6
Do performs an HTTP request, retrying only bodyless GET, HEAD, and OPTIONS requests. The caller owns the response body.
func (*Client) Logger ¶ added in v0.3.6
func (c *Client) Logger() *logs.Gen3Logger
func (*Client) StandardClient ¶ added in v0.3.6
Click to show internal directories.
Click to hide internal directories.