transport

package
v0.0.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL