package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewDirectoryCache constructs a new directoryCache instance that tracks SQL tenant processes managed by a given directory server.
PodWatcher provides a callback channel to which tenant pod change notifications will be sent by the directory.
RefreshDelay specifies the minimum amount of time that must elapse between attempts to refresh pods for a given tenant after ReportFailure is called.
TenantWatcher provides a callback channel to which tenant metadata change notifications will be sent by the directory.
# Interfaces
DirectoryCache is the external interface for the tenant directory cache.
# Type aliases
DirOption defines an option that can be passed to directoryCache in order to control its behavior.