vt/

directory
v0.18.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: Apache-2.0

Directories

Path Synopsis
binlogplayer
Package binlogplayer contains the code that plays a vreplication stream on a client database.
Package binlogplayer contains the code that plays a vreplication stream on a client database.
eventtoken
Package eventtoken includes utility methods for event token handling.
Package eventtoken includes utility methods for event token handling.
grpcbinlogstreamer
Package grpcbinlogstreamer contains the gRPC implementation of the binlog streamer server component.
Package grpcbinlogstreamer contains the gRPC implementation of the binlog streamer server component.
Package callerid stores/retrieves CallerIDs (immediate CallerID and effective CallerID) to/from the Context
Package callerid stores/retrieves CallerIDs (immediate CallerID and effective CallerID) to/from the Context
Package callinfo stores custom values into the Context (related to the RPC source)
Package callinfo stores custom values into the Context (related to the RPC source)
Package dbconfigs provides the registration for command line options to collect db connection parameters.
Package dbconfigs provides the registration for command line options to collect db connection parameters.
Package dbconnpool exposes a single DBConnection object with wrapped access to a single DB connection, and a ConnectionPool object to pool these DBConnections.
Package dbconnpool exposes a single DBConnection object with wrapped access to a single DB connection, and a ConnectionPool object to pool these DBConnections.
Package discovery provides a way to discover all tablets e.g.
Package discovery provides a way to discover all tablets e.g.
Package dtids contains dtid convenience functions.
Package dtids contains dtid convenience functions.
Package events defines common structures used for events dispatched from various other package.
Package events defines common structures used for events dispatched from various other package.
external
Package grpcclient contains utility methods for gRPC client implementations to use.
Package grpcclient contains utility methods for gRPC client implementations to use.
Package logz provides an infrastructure to expose a list of entries as a sortable table on a webpage.
Package logz provides an infrastructure to expose a list of entries as a sortable table on a webpage.
azblobbackupstorage
Package azblobbackupstorage implements the BackupStorage interface for Azure Blob Storage
Package azblobbackupstorage implements the BackupStorage interface for Azure Blob Storage
backupstats
Package backupstats provides a Stats interface for backup and restore operations in the mysqlctl package.
Package backupstats provides a Stats interface for backup and restore operations in the mysqlctl package.
backupstorage
Package backupstorage contains the interface and file system implementation of the backup system.
Package backupstorage contains the interface and file system implementation of the backup system.
cephbackupstorage
Package cephbackupstorage implements the BackupStorage interface for Ceph Cloud Storage.
Package cephbackupstorage implements the BackupStorage interface for Ceph Cloud Storage.
filebackupstorage
Package filebackupstorage implements the BackupStorage interface for a local filesystem (which can be an NFS mount).
Package filebackupstorage implements the BackupStorage interface for a local filesystem (which can be an NFS mount).
gcsbackupstorage
Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.
Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.
grpcmysqlctlclient
Package grpcmysqlctlclient contains the gRPC1 version of the mysqlctl client protocol.
Package grpcmysqlctlclient contains the gRPC1 version of the mysqlctl client protocol.
grpcmysqlctlserver
Package grpcmysqlctlserver contains the gRPC implementation of the server side of the remote execution of mysqlctl commands.
Package grpcmysqlctlserver contains the gRPC implementation of the server side of the remote execution of mysqlctl commands.
mysqlctlclient
Package mysqlctlclient contains the generic client side of the remote mysqlctl protocol.
Package mysqlctlclient contains the generic client side of the remote mysqlctl protocol.
mysqlctlproto
Package mysqlctlproto provides utility functions for working with data structures in mysqlctl.proto.
Package mysqlctlproto provides utility functions for working with data structures in mysqlctl.proto.
s3backupstorage
Package s3backupstorage implements the BackupStorage interface for AWS S3.
Package s3backupstorage implements the BackupStorage interface for AWS S3.
tmutils
Package tmutils contains helper methods to deal with the tabletmanagerdata proto3 structures.
Package tmutils contains helper methods to deal with the tabletmanagerdata proto3 structures.
proto
Package servenv contains functionality that is common for all Vitess server programs.
Package servenv contains functionality that is common for all Vitess server programs.
Package srvtopo contains a set of helper methods and classes to use the topology service in a serving environment.
Package srvtopo contains a set of helper methods and classes to use the topology service in a serving environment.
acl
Package throttler provides a client-side, local throttler which is used to throttle (and actively pace) writes during the resharding process.
Package throttler provides a client-side, local throttler which is used to throttle (and actively pace) writes during the resharding process.
grpcthrottlerclient
Package grpcthrottlerclient contains the gRPC version of the throttler client protocol.
Package grpcthrottlerclient contains the gRPC version of the throttler client protocol.
grpcthrottlerserver
Package grpcthrottlerserver contains the gRPC implementation of the server side of the throttler service.
Package grpcthrottlerserver contains the gRPC implementation of the server side of the throttler service.
throttlerclient
Package throttlerclient defines the generic RPC client interface for the throttler service.
Package throttlerclient defines the generic RPC client interface for the throttler service.
throttlerclienttest
Package throttlerclienttest contains the testsuite against which each RPC implementation of the throttlerclient interface must be tested.
Package throttlerclienttest contains the testsuite against which each RPC implementation of the throttlerclient interface must be tested.
Package tlstest contains utility methods to create test certificates.
Package tlstest contains utility methods to create test certificates.
Package topo is the module responsible for interacting with the topology service.
Package topo is the module responsible for interacting with the topology service.
consultopo
Package consultopo implements topo.Server with consul as the backend.
Package consultopo implements topo.Server with consul as the backend.
etcd2topo
Package etcd2topo implements topo.Server with etcd as the backend.
Package etcd2topo implements topo.Server with etcd as the backend.
events
Package events defines the structures used for events relating directly to individual topology elements, like keyspaces, shards, and tablets.
Package events defines the structures used for events relating directly to individual topology elements, like keyspaces, shards, and tablets.
helpers
Package helpers contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
Package helpers contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
memorytopo
Package memorytopo contains an implementation of the topo.Factory / topo.Conn interfaces based on an in-memory tree of data.
Package memorytopo contains an implementation of the topo.Factory / topo.Conn interfaces based on an in-memory tree of data.
test
Package test contains utilities to test topo.Conn implementations.
Package test contains utilities to test topo.Conn implementations.
topoproto
Package topoproto contains utility functions to deal with the proto3 structures defined in proto/topodata.
Package topoproto contains utility functions to deal with the proto3 structures defined in proto/topodata.
topotests
Package topotests contains all the unit tests for the topo.Server code that is based on topo.Conn.
Package topotests contains all the unit tests for the topo.Server code that is based on topo.Conn.
Package topotools contains high level functions based on vt/topo and vt/actionnode.
Package topotools contains high level functions based on vt/topo and vt/actionnode.
events
Package events defines the structures used for events dispatched from the wrangler package.
Package events defines the structures used for events dispatched from the wrangler package.
Package vitessdriver contains the Vitess Go SQL driver.
Package vitessdriver contains the Vitess Go SQL driver.
Package vtaclcheck analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements
Package vtaclcheck analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements
cache
Package cache provides a generic key/value cache with support for background filling.
Package cache provides a generic key/value cache with support for background filling.
cluster/discovery/fakediscovery
Package fakediscovery provides a fake, in-memory discovery implementation.
Package fakediscovery provides a fake, in-memory discovery implementation.
cluster/internal/caches/schemacache
Package schemacache provides wrapper functions for interacting with instances of the generic (vtadmin/cache).Cache that store schemas.
Package schemacache provides wrapper functions for interacting with instances of the generic (vtadmin/cache).Cache that store schemas.
cluster/resolver
Package resolver provides a discovery-based resolver for VTAdmin clusters.
Package resolver provides a discovery-based resolver for VTAdmin clusters.
internal/backoff
Package backoff implements different backoff strategies for retrying failed operations in VTAdmin.
Package backoff implements different backoff strategies for retrying failed operations in VTAdmin.
internal/rand
Package rand provides functions mirroring math/rand that are safe for concurrent use, seeded independently of math/rand's global source.
Package rand provides functions mirroring math/rand that are safe for concurrent use, seeded independently of math/rand's global source.
rbac
Package rbac provides role-based access control for vtadmin API endpoints.
Package rbac provides role-based access control for vtadmin API endpoints.
sort
Package sort provides convenience wrappers for sorting various vtadmin types.
Package sort provides convenience wrappers for sorting various vtadmin types.
vtadminproto
Package vtadminproto provides helper functions for working with vtadminpb protobuf types.
Package vtadminproto provides helper functions for working with vtadminpb protobuf types.
vtsql/fakevtsql
Package fakevtsql provides an interface for mocking out sql.DB responses in tests that depend on a vtsql.DB instance.
Package fakevtsql provides an interface for mocking out sql.DB responses in tests that depend on a vtsql.DB instance.
Package vtctl contains the implementation of all the Vitess management commands.
Package vtctl contains the implementation of all the Vitess management commands.
fakevtctlclient
Package fakevtctlclient contains a fake for the vtctlclient interface.
Package fakevtctlclient contains a fake for the vtctlclient interface.
grpcclientcommon
Package grpcclientcommon defines the flags shared by both grpcvtctlclient and grpcvtctldclient.
Package grpcclientcommon defines the flags shared by both grpcvtctlclient and grpcvtctldclient.
grpcvtctlclient
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
grpcvtctldclient
Package grpcvtctldclient contains the gRPC version of the vtctld client protocol.
Package grpcvtctldclient contains the gRPC version of the vtctld client protocol.
grpcvtctldserver/testutil
Package testutil contains utility functions for writing tests for the grpcvtctldserver.
Package testutil contains utility functions for writing tests for the grpcvtctldserver.
grpcvtctlserver
Package grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.
Package grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.
reparentutil/reparenttestutil
Package reparenttestutil contains utility functions for writing tests
Package reparenttestutil contains utility functions for writing tests
vtctlclient
Package vtctlclient contains the generic client side of the remote vtctl protocol.
Package vtctlclient contains the generic client side of the remote vtctl protocol.
vtctlclienttest
Package vtctlclienttest contains the testsuite against which each RPC implementation of the vtctlclient interface must be tested.
Package vtctlclienttest contains the testsuite against which each RPC implementation of the vtctlclient interface must be tested.
vtctldclient
Package vtctldclient contains the generic client side of the remote vtctld protocol.
Package vtctldclient contains the generic client side of the remote vtctld protocol.
workflow
Package workflow defines types and functions for working with Vitess workflows.
Package workflow defines types and functions for working with Vitess workflows.
Package vtctld contains all the code to expose a vtctld server based on the provided topo.Server.
Package vtctld contains all the code to expose a vtctld server based on the provided topo.Server.
Package vterrors provides simple error handling primitives for Vitess
Package vterrors provides simple error handling primitives for Vitess
Package vtexplain analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements
Package vtexplain analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements
Package vtgate provides query routing rpc services for vttablets.
Package vtgate provides query routing rpc services for vttablets.
buffer
Package buffer provides a buffer for PRIMARY traffic during failovers.
Package buffer provides a buffer for PRIMARY traffic during failovers.
fakerpcvtgateconn
Package fakerpcvtgateconn provides a fake implementation of vtgateconn.Impl that doesn't do any RPC, but uses a local map to return results.
Package fakerpcvtgateconn provides a fake implementation of vtgateconn.Impl that doesn't do any RPC, but uses a local map to return results.
grpcvtgateconn
Package grpcvtgateconn provides gRPC connectivity for VTGate.
Package grpcvtgateconn provides gRPC connectivity for VTGate.
grpcvtgateservice
Package grpcvtgateservice provides the gRPC glue for vtgate
Package grpcvtgateservice provides the gRPC glue for vtgate
planbuilder/operators
Package operators contains the operators used to plan queries.
Package operators contains the operators used to plan queries.
vtgateservice
Package vtgateservice provides to interface definition for the vtgate service
Package vtgateservice provides to interface definition for the vtgate service
highway
Package highwayhash implements the pseudo-random-function (PRF) HighwayHash.
Package highwayhash implements the pseudo-random-function (PRF) HighwayHash.
vtorc
collection
Package collection holds routines for collecting "high frequency" metrics and handling their auto-expiry based on a configured retention time.
Package collection holds routines for collecting "high frequency" metrics and handling their auto-expiry based on a configured retention time.
db
metrics/query
Package query provdes query metrics with this file providing aggregared metrics based on the underlying values.
Package query provdes query metrics with this file providing aggregared metrics based on the underlying values.
customrule/filecustomrule
Package filecustomrule implements static custom rule from a config file
Package filecustomrule implements static custom rule from a config file
customrule/topocustomrule
Package topocustomrule implements a topo service backed listener for query rules.
Package topocustomrule implements a topo service backed listener for query rules.
endtoend
Package endtoend is a test-only package.
Package endtoend is a test-only package.
filelogger
Package filelogger implements an optional plugin that logs all queries to syslog.
Package filelogger implements an optional plugin that logs all queries to syslog.
queryservice
Package queryservice contains the interface for the service definition of the Query Service.
Package queryservice contains the interface for the service definition of the Query Service.
sandboxconn
Package sandboxconn provides a fake QueryService implementation for tests.
Package sandboxconn provides a fake QueryService implementation for tests.
sysloglogger
Package sysloglogger implements an optional plugin that logs all queries to syslog.
Package sysloglogger implements an optional plugin that logs all queries to syslog.
tabletconntest
Package tabletconntest provides the test methods to make sure a tabletconn/queryservice pair over RPC works correctly.
Package tabletconntest provides the test methods to make sure a tabletconn/queryservice pair over RPC works correctly.
tabletmanager
Package tabletmanager exports the TabletManager object.
Package tabletmanager exports the TabletManager object.
tabletmanager/events
Package events contains event structs used by the tabletmanager package.
Package events contains event structs used by the tabletmanager package.
tabletmanager/vdiff
package vdiff implements the Vitess Diff functionality which compares the logical contents of MySQL tables across keyspaces and shards
package vdiff implements the Vitess Diff functionality which compares the logical contents of MySQL tables across keyspaces and shards
tabletmanager/vreplication/queryhistory
Package queryhistory provides tools for verifying that a SQL statement history conforms to a set of expectations.
Package queryhistory provides tools for verifying that a SQL statement history conforms to a set of expectations.
tabletserver/schema/schematest
Package schematest provides support for testing packages that depend on schema
Package schematest provides support for testing packages that depend on schema
tabletserver/tabletenv
Package tabletenv maintains environment variables and types that are common for all packages of tabletserver.
Package tabletenv maintains environment variables and types that are common for all packages of tabletserver.
tabletserver/txserializer
Package txserializer provides the vttablet hot row protection.
Package txserializer provides the vttablet hot row protection.
tabletserver/vstreamer/testenv
Package testenv supplies test functions for testing vstreamer.
Package testenv supplies test functions for testing vstreamer.
tabletservermock
Package tabletservermock provides mock interfaces for tabletserver.
Package tabletservermock provides mock interfaces for tabletserver.
Package vttest contains helpers to set up Vitess for testing.
Package vttest contains helpers to set up Vitess for testing.
Package wrangler contains the Wrangler object to manage complex topology actions.
Package wrangler contains the Wrangler object to manage complex topology actions.
testlib
Package testlib contains utility methods to include in unit tests to deal with topology common tasks, like fake tablets and action loops.
Package testlib contains utility methods to include in unit tests to deal with topology common tasks, like fake tablets and action loops.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL