Versions in this module Expand all Collapse all v0 v0.1.0 Aug 16, 2026 Changes in this version + var ErrNoCredentials = errors.NewSentinel("gcpclient.no_credentials", ...) + var ErrNoOptions = errors.NewSentinel("gcpclient.no_options", ...) + var ErrNoScopes = errors.NewSentinel("gcpclient.no_scopes", ...) + type Option func(*options) + func WithBuildTimeout(d time.Duration) Option + func WithDetectOptions(opts *credentials.DetectOptions) Option + func WithLifetimeContext(ctx context.Context) Option + func WithLogger(logger *slog.Logger) Option + func WithScopes(scopes ...string) Option + type Source interface + GCPClientOptions func(ctx context.Context) ([]option.ClientOption, error) + func Ambient(opts ...Option) Source + func FromOptions(clientOpts []option.ClientOption, opts ...Option) (Source, error) + func PerCall(opts ...Option) Source