internaloptions

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: 7 Imported by: 0

Documentation

Overview

Package internaloptions contains the resolved options types produced by applying github.com/databricks/sdk-go/options/client.Option and github.com/databricks/sdk-go/options/call.Option values.

IMPORTANT: This package is NOT part of the public API of the Databricks SDK. Its contents may change at any time without notice. Clients should not directly depend on functionalities in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallOptions

type CallOptions struct {
	Retrier     func() ops.Retrier
	RateLimiter ops.Limiter
	Timeout     time.Duration
}

CallOptions is the resolved per-call configuration produced by applying call.Option values.

type ClientOptions

type ClientOptions struct {
	// Profile resolution.
	ProfileName              string
	ProfileFile              string
	DisableProfileResolution bool

	Host        string
	AccountID   string
	WorkspaceID string

	Credentials auth.Credentials

	Timeout    time.Duration
	HTTPClient *http.Client
	Logger     *slog.Logger
}

ClientOptions is the resolved client configuration produced by applying client.Option values.

func (*ClientOptions) Resolve

func (c *ClientOptions) Resolve() error

Resolve fills in defaults and validates the resolved client options.

Resolve always populates the HTTPClient and Logger fields with default values if not provided.

Jump to

Keyboard shortcuts

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