package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

AddressResolver wraps a NodeDescStore interface in an adapter that allows it be used as a nodedialer.AddressResolver.
CombineKVAddresses combines the remote and loopback addresses into a single slice, while aldo de-duplicating the loopback address if it's present in the remote addresses.
InitTestConnectorFactory replaces the kv connector factory with a lenient factory that does no filtering on KV Addresses.
NewConnector creates a new connector.

# Variables

Factory is a hook for binaries that include CCL code to inject a ConnectorFactory.
GossipSubscriptionSystemConfigMask filters a system config down to just the keys that a tenant SQL servers needs access to.

# Structs

ConnectorConfig encompasses the configuration required to create a Connector.
KVAddressConfig encompasses the network addresses, pointing to KV nodes, required to create a Connector.

# Interfaces

Connector mediates the communication of cluster-wide state to sandboxed SQL-only tenant servers through a restricted interface.
ConnectorFactory constructs a new tenant Connector from the provided network addresses pointing to KV nodes.
TokenBucketProvider supplies an endpoint (to tenants) for the TokenBucket API (defined in roachpb.Internal), used to interact with the tenant cost control token bucket.