Documentation
¶
Overview ¶
Package httpclient provides authentication-aware HTTP transports for upstream requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport adds configured authentication and follows OCI Bearer challenges.
func NewTransport ¶
func NewTransport(base http.RoundTripper, authForURL AuthFunc) *Transport
NewTransport creates an authentication-aware transport around base.
Click to show internal directories.
Click to hide internal directories.