Documentation ¶
Overview ¶
Package bufapiclient provides client-side Connect constructs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectClientProvider ¶ added in v1.5.0
func NewConnectClientProvider( logger *zap.Logger, client *http.Client, options ...RegistryProviderOption, ) (registryv1alpha1apiclient.Provider, error)
NewConnectClientProvider creates a new Provider using Connect as its underlying transport.
Types ¶
type RegistryProviderOption ¶
type RegistryProviderOption func(*registryProviderOptions)
RegistryProviderOption is an option for a new registry Provider.
func RegistryProviderWithAddressMapper ¶
func RegistryProviderWithAddressMapper(addressMapper func(string) string) RegistryProviderOption
RegistryProviderWithAddressMapper returns a new RegistryProviderOption that maps addresses with the given function.
func RegistryProviderWithContextModifierProvider ¶
func RegistryProviderWithContextModifierProvider(contextModifierProvider func(address string) (func(context.Context) context.Context, error)) RegistryProviderOption
RegistryProviderWithContextModifierProvider returns a new RegistryProviderOption that creates a context modifier for a given address. This is used to modify the context before every RPC invocation.
Click to show internal directories.
Click to hide internal directories.