package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ListenAndServeInMemGRPC is similar to netutil.ListenAndServeGRPC, but uses an in-memory listener instead.
New will create a new server.
NewSubStopper creates a new stopper that will be stopped when either the parent is stopped or its own Stop is called.
NewTestSimpleDirectoryServer constructs a new simple directory server.
NewTestStaticDirectoryServer constructs a new static directory server.
SetupTestDirectory returns an instance of the directory cache and the in-memory test static directory server.
# Structs
Process stores information about a running tenant process.
TestDirectoryServer is a directory server implementation that is used for testing.
TestSimpleDirectoryServer is a directory server that returns a single pre-defined address for all tenants.
TestStaticDirectoryServer is a directory server that stores a static mapping of tenants to their pods.