Documentation
¶
Overview ¶
Package call defines the options used to configure individual calls against the Databricks API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*internaloptions.CallOptions) error
Option configures a single call against the Databricks API.
func WithDisableRetry ¶
func WithDisableRetry() Option
WithDisableRetry is a convenience option that disables retries.
func WithLimiter ¶
WithLimiter returns an Option that uses the given Limiter. If no limiter is provided, the call is not rate limited.
func WithRetrier ¶
WithRetrier returns an Option that uses the given Retrier provider. If no retrier is provided, the call is not retried.
The provider function must be thread-safe.
func WithTimeout ¶
WithTimeout returns an Option that sets the timeout for the call. If the context already has a deadline, it is updated to the minimum of the context's deadline and the timeout. A timeout of zero means no timeout.
The timeout covers the entire execution, including retries.