package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewFakeStorage creates a new FakeStorage.
NewReader constructs a new reader for SQL instance data.
NewStorage creates a new storage struct.
NewTestingReader constructs a new Reader with control for the database in which the `sql_instances` table should exist.
NewTestingStorage constructs a new storage with control for the database in which the sql_instances table should exist.
SortInstances sorts instances by their id.
# Variables
PreallocatedCount refers to the number of preallocated instance IDs within the system.sql_instances table.
ReclaimLoopInterval is the interval at which expired instance IDs are reclaimed and new ones will be preallocated.
# Structs
FakeStorage implements the instanceprovider.storage interface.
Reader implements the sqlinstance.AddressResolver interface.
Storage implements the storage layer for the sqlinstance subsystem.