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.