package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

GetCreator returns the Creator specified by the gateway_implementation flag.
NewHybridGateway returns a new HybridGateway based on the provided parameters.
NewL2VTGateConn creates a new L2VTGateConn object.
NewShardError returns a new error with the shard info amended.
NewTabletStatusAggregator creates a TabletStatusAggregator.
RegisterCreator registers a Creator with given name.
StreamHealthFromTargetStatsListener responds to a StreamHealth streaming RPC using a srvtopo.TargetStatsListener implementation.
WaitForTablets is a helper method to wait for the provided tablets, up until the *initialTabletTimeout.

# Constants

StatusTemplate is the display part to use to show a TabletCacheStatusList.

# Structs

HybridGateway implements the gateway.Gateway interface by forwarding the queries to the right underlying implementation: - it has one gateway that watches for tablets.
L2VTGateConn keeps a single connection to a vtgate backend.
TabletCacheStatus contains the status per destination for a gateway.
TabletStatusAggregator tracks tablet status for a gateway.

# Interfaces

A Gateway is the query processing module for each shard, which is used by ScatterConn.

# Type aliases

Creator is the factory method which can create the actual gateway object.
TabletCacheStatusList is a slice of TabletCacheStatus.