Documentation
¶
Overview ¶
Package transport provides a HTTP transport that automatically adds authentication headers to outgoing requests. It is meant to provide a convenient way to make authenticated requests against Databricks APIs that are not part of the SDKs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthTransport ¶
func NewAuthTransport(base http.RoundTripper, creds auth.Credentials) http.RoundTripper
NewAuthTransport returns a new HTTP transport that wraps the base transport to automatically add authentication headers to outgoing requests.
The returned transport is safe for concurrent use by multiple goroutines. If base is nil, the default transport is used. The function assumes that the given credentials are non-nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.