go/

directory
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0

README

README

This directory contains all the Go code for Vitess.

Most of the packages at the top level are general-purpose and are suitable for use outside Vitess. Packages that are specific to Vitess are in the vt subdirectory. Binaries are in the cmd subdirectory.

Please see GoDoc for a listing of the packages and their purposes.

vt/proto contains the compiled protos for go, one per each directory. When importing these protos (for instance XXX.proto), we rename them on import to XXXpb. For instance:

import (
    topodatapb "vitess.io/vitess/go/vt/proto/topodata"
)

Directories

Path Synopsis
Package acl contains functions to enforce access control lists.
Package acl contains functions to enforce access control lists.
Package cache implements a LRU cache.
Package cache implements a LRU cache.
cmd
internal/docgen
Package docgen provides common logic for generating markdown doctrees from a root cobra.Command for the vitessio/website repository.
Package docgen provides common logic for generating markdown doctrees from a root cobra.Command for the vitessio/website repository.
mysqlctl
mysqlctl initializes and controls mysqld with Vitess-specific configuration.
mysqlctl initializes and controls mysqld with Vitess-specific configuration.
mysqlctld
mysqlctld is a daemon that starts or initializes mysqld and provides an RPC interface for vttablet to stop and start mysqld from a different container without having to restart the container running mysqlctld.
mysqlctld is a daemon that starts or initializes mysqld and provides an RPC interface for vttablet to stop and start mysqld from a different container without having to restart the container running mysqlctld.
mysqlctld/cli
mysqlctld is a daemon that starts or initializes mysqld and provides an RPC interface for vttablet to stop and start mysqld from a different container without having to restart the container running mysqlctld.
mysqlctld is a daemon that starts or initializes mysqld and provides an RPC interface for vttablet to stop and start mysqld from a different container without having to restart the container running mysqlctld.
vtcombo
vtcombo: a single binary that contains: - a ZK topology server based on an in-memory map.
vtcombo: a single binary that contains: - a ZK topology server based on an in-memory map.
vtcombo/cli
vtcombo: a single binary that contains: - a ZK topology server based on an in-memory map.
vtcombo: a single binary that contains: - a ZK topology server based on an in-memory map.
vtctldclient/command
Package command contains the commands used by vtctldclient.
Package command contains the commands used by vtctldclient.
vtgateclienttest/cli
Package cli is the implementation of vtgateclienttest.
Package cli is the implementation of vtgateclienttest.
vtgateclienttest/services
Package services exposes all the services for the vtgateclienttest binary.
Package services exposes all the services for the vtgateclienttest binary.
vttablet
vt tablet server: Serves queries and performs housekeeping jobs.
vt tablet server: Serves queries and performs housekeeping jobs.
vttestserver/cli
vttestserver allows users to spawn a self-contained Vitess server for local testing/CI.
vttestserver allows users to spawn a self-contained Vitess server for local testing/CI.
zk
zk/internal/zkfilepath
Package zkfilepath provides filepath utilities specialized to zookeeper.
Package zkfilepath provides filepath utilities specialized to zookeeper.
zk/internal/zkfs
Package zkfs provides utilities for working with zookeepr in a filesystem-like manner.
Package zkfs provides utilities for working with zookeepr in a filesystem-like manner.
zkctld
zkctld is a daemon that starts or initializes ZooKeeper with Vitess-specific configuration.
zkctld is a daemon that starts or initializes ZooKeeper with Vitess-specific configuration.
constants
Package event provides a reflect-based framework for low-frequency global dispatching of events, which are values of any arbitrary type, to a set of listener functions, which are usually registered by plugin packages during init().
Package event provides a reflect-based framework for low-frequency global dispatching of events, which are values of any arbitrary type, to a set of listener functions, which are usually registered by plugin packages during init().
syslogger
Package syslogger uses the event package to listen for any event that implements the Syslogger interface.
Package syslogger uses the event package to listen for any event that implements the Syslogger interface.
Package exit provides an alternative to os.Exit(int).
Package exit provides an alternative to os.Exit(int).
Package fileutil contains utility functions related to files and paths.
Package fileutil contains utility functions related to files and paths.
Package flagutil contains flags that parse string lists and string maps.
Package flagutil contains flags that parse string lists and string maps.
Package hack gives you some efficient functionality at the cost of breaking some Go rules.
Package hack gives you some efficient functionality at the cost of breaking some Go rules.
Package history implements a circular buffer with adjacent-item deduplication.
Package history implements a circular buffer with adjacent-item deduplication.
internal
flag
Package flag is an internal package to allow us to gracefully transition from the standard library's flag package to pflag.
Package flag is an internal package to allow us to gracefully transition from the standard library's flag package to pflag.
Package ioutil provides wrappers around golang IO interfaces.
Package ioutil provides wrappers around golang IO interfaces.
Package json2 provides some improvements over the original json.
Package json2 provides some improvements over the original json.
Package jsonutil contains json-related utility functions
Package jsonutil contains json-related utility functions
Package list is the standard library's 'container/list', but using Generics for performance.
Package list is the standard library's 'container/list', but using Generics for performance.
Package mysql is a library to support MySQL binary protocol, both client and server sides.
Package mysql is a library to support MySQL binary protocol, both client and server sides.
collations/charset/korean
Package korean provides Korean encodings such as EUC-KR.
Package korean provides Korean encodings such as EUC-KR.
collations/charset/simplifiedchinese
Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
collations/vindex
text is a repository of text-related packages related to internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.
text is a repository of text-related packages related to internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.
collations/vindex/collate
Package collate contains types for comparing and sorting Unicode strings according to a given collation order.
Package collate contains types for comparing and sorting Unicode strings according to a given collation order.
collations/vindex/unicode
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in vitess.io/vitess/go/mysql/collations/vindex, layout engines, or are otherwise more low-level in nature.
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in vitess.io/vitess/go/mysql/collations/vindex, layout engines, or are otherwise more low-level in nature.
collations/vindex/unicode/norm
Package norm contains types and functions for normalizing Unicode strings.
Package norm contains types and functions for normalizing Unicode strings.
endtoend
Package endtoend is a test-only package.
Package endtoend is a test-only package.
fakesqldb
Package fakesqldb provides a MySQL server for tests.
Package fakesqldb provides a MySQL server for tests.
hex
Package netutil contains network-related utility functions.
Package netutil contains network-related utility functions.
Package pools provides functionality to manage and reuse resources like connections.
Package pools provides functionality to manage and reuse resources like connections.
Package protoutil provides helper functions for working with well-known protobuf types.
Package protoutil provides helper functions for working with well-known protobuf types.
Package slice contains generic Slice helpers; Some of this code is sourced from https://github.com/luraim/fun (Apache v2)
Package slice contains generic Slice helpers; Some of this code is sourced from https://github.com/luraim/fun (Apache v2)
Package sqltypes implements interfaces and types that represent SQL values.
Package sqltypes implements interfaces and types that represent SQL values.
Package stats is a wrapper for expvar.
Package stats is a wrapper for expvar.
opentsdb
Package opentsdb adds support for pushing stats to opentsdb.
Package opentsdb adds support for pushing stats to opentsdb.
Package streamlog provides a non-blocking message broadcaster.
Package streamlog provides a non-blocking message broadcaster.
Package tb exposes some handy traceback functionality buried in the runtime.
Package tb exposes some handy traceback functionality buried in the runtime.
test
dbg
endtoend/filelock
Package filelock provides a platform-independent API for advisory file locking.
Package filelock provides a platform-independent API for advisory file locking.
Package timer provides various enhanced timer functions.
Package timer provides various enhanced timer functions.
tools
nolint
nolint
Package trace contains a helper interface that allows various tracing tools to be plugged in to components using this interface.
Package trace contains a helper interface that allows various tracing tools to be plugged in to components using this interface.
Package viperutil provides a utility layer to streamline and standardize interacting with viper-backed configuration values across vitess components.
Package viperutil provides a utility layer to streamline and standardize interacting with viper-backed configuration values across vitess components.
internal/log
Package log provides dual-use logging between vitess's vt/log package and viper's jww log.
Package log provides dual-use logging between vitess's vt/log package and viper's jww log.
vt
binlog/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.
binlog/eventtoken
Package eventtoken includes utility methods for event token handling.
Package eventtoken includes utility methods for event token handling.
binlog/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.
callerid
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
callinfo
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)
dbconfigs
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.
dbconnpool
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.
discovery
Package discovery provides a way to discover all tablets e.g.
Package discovery provides a way to discover all tablets e.g.
dtids
Package dtids contains dtid convenience functions.
Package dtids contains dtid convenience functions.
env
events
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.
grpcclient
Package grpcclient contains utility methods for gRPC client implementations to use.
Package grpcclient contains utility methods for gRPC client implementations to use.
key
log
logz
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.
mysqlctl/azblobbackupstorage
Package azblobbackupstorage implements the BackupStorage interface for Azure Blob Storage
Package azblobbackupstorage implements the BackupStorage interface for Azure Blob Storage
mysqlctl/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.
mysqlctl/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.
mysqlctl/cephbackupstorage
Package cephbackupstorage implements the BackupStorage interface for Ceph Cloud Storage.
Package cephbackupstorage implements the BackupStorage interface for Ceph Cloud Storage.
mysqlctl/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).
mysqlctl/gcsbackupstorage
Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.
Package gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.
mysqlctl/grpcmysqlctlclient
Package grpcmysqlctlclient contains the gRPC1 version of the mysqlctl client protocol.
Package grpcmysqlctlclient contains the gRPC1 version of the mysqlctl client protocol.
mysqlctl/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.
mysqlctl/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.
mysqlctl/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.
mysqlctl/s3backupstorage
Package s3backupstorage implements the BackupStorage interface for AWS S3.
Package s3backupstorage implements the BackupStorage interface for AWS S3.
mysqlctl/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.
servenv
Package servenv contains functionality that is common for all Vitess server programs.
Package servenv contains functionality that is common for all Vitess server programs.
srvtopo
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.
throttler
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.
throttler/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.
tlstest
Package tlstest contains utility methods to create test certificates.
Package tlstest contains utility methods to create test certificates.
topo
Package topo is the module responsible for interacting with the topology service.
Package topo is the module responsible for interacting with the topology service.
topo/consultopo
Package consultopo implements topo.Server with consul as the backend.
Package consultopo implements topo.Server with consul as the backend.
topo/etcd2topo
Package etcd2topo implements topo.Server with etcd as the backend.
Package etcd2topo implements topo.Server with etcd as the backend.
topo/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.
topo/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.
topo/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.
topo/test
Package test contains utilities to test topo.Conn implementations.
Package test contains utilities to test topo.Conn implementations.
topo/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.
topo/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.
topotools
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.
topotools/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.
vitessdriver
Package vitessdriver contains the Vitess Go SQL driver.
Package vitessdriver contains the Vitess Go SQL driver.
vtaclcheck
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
vtadmin/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.
vtadmin/cluster/discovery/fakediscovery
Package fakediscovery provides a fake, in-memory discovery implementation.
Package fakediscovery provides a fake, in-memory discovery implementation.
vtadmin/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.
vtadmin/cluster/resolver
Package resolver provides a discovery-based resolver for VTAdmin clusters.
Package resolver provides a discovery-based resolver for VTAdmin clusters.
vtadmin/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.
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.
vtadmin/rbac
Package rbac provides role-based access control for vtadmin API endpoints.
Package rbac provides role-based access control for vtadmin API endpoints.
vtadmin/sort
Package sort provides convenience wrappers for sorting various vtadmin types.
Package sort provides convenience wrappers for sorting various vtadmin types.
vtadmin/vtadminproto
Package vtadminproto provides helper functions for working with vtadminpb protobuf types.
Package vtadminproto provides helper functions for working with vtadminpb protobuf types.
vtadmin/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.
vtctl
Package vtctl contains the implementation of all the Vitess management commands.
Package vtctl contains the implementation of all the Vitess management commands.
vtctl/grpcclientcommon
Package grpcclientcommon defines the flags shared by both grpcvtctlclient and grpcvtctldclient.
Package grpcclientcommon defines the flags shared by both grpcvtctlclient and grpcvtctldclient.
vtctl/grpcvtctlclient
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
Package grpcvtctlclient contains the gRPC version of the vtctl client protocol
vtctl/grpcvtctldclient
Package grpcvtctldclient contains the gRPC version of the vtctld client protocol.
Package grpcvtctldclient contains the gRPC version of the vtctld client protocol.
vtctl/grpcvtctldserver/testutil
Package testutil contains utility functions for writing tests for the grpcvtctldserver.
Package testutil contains utility functions for writing tests for the grpcvtctldserver.
vtctl/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.
vtctl/reparentutil/reparenttestutil
Package reparenttestutil contains utility functions for writing tests
Package reparenttestutil contains utility functions for writing tests
vtctl/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.
vtctl/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.
vtctl/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.
vtctl/workflow
Package workflow defines types and functions for working with Vitess workflows.
Package workflow defines types and functions for working with Vitess workflows.
vtctld
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.
vterrors
Package vterrors provides simple error handling primitives for Vitess
Package vterrors provides simple error handling primitives for Vitess
vtexplain
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
vtgate
Package vtgate provides query routing rpc services for vttablets.
Package vtgate provides query routing rpc services for vttablets.
vtgate/buffer
Package buffer provides a buffer for PRIMARY traffic during failovers.
Package buffer provides a buffer for PRIMARY traffic during failovers.
vtgate/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.
vtgate/grpcvtgateconn
Package grpcvtgateconn provides gRPC connectivity for VTGate.
Package grpcvtgateconn provides gRPC connectivity for VTGate.
vtgate/grpcvtgateservice
Package grpcvtgateservice provides the gRPC glue for vtgate
Package grpcvtgateservice provides the gRPC glue for vtgate
vtgate/planbuilder/operators
Package operators contains the operators used to plan queries.
Package operators contains the operators used to plan queries.
vtgate/vtgateservice
Package vtgateservice provides to interface definition for the vtgate service
Package vtgateservice provides to interface definition for the vtgate service
vthash/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.
vtorc/metrics/query
Package query provides query metrics with this file providing aggregated metrics based on the underlying values.
Package query provides query metrics with this file providing aggregated metrics based on the underlying values.
vttablet/customrule/filecustomrule
Package filecustomrule implements static custom rule from a config file
Package filecustomrule implements static custom rule from a config file
vttablet/customrule/topocustomrule
Package topocustomrule implements a topo service backed listener for query rules.
Package topocustomrule implements a topo service backed listener for query rules.
vttablet/endtoend
Package endtoend is a test-only package.
Package endtoend is a test-only package.
vttablet/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.
vttablet/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.
vttablet/sandboxconn
Package sandboxconn provides a fake QueryService implementation for tests.
Package sandboxconn provides a fake QueryService implementation for tests.
vttablet/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.
vttablet/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.
vttablet/tabletmanager
Package tabletmanager exports the TabletManager object.
Package tabletmanager exports the TabletManager object.
vttablet/tabletmanager/events
Package events contains event structs used by the tabletmanager package.
Package events contains event structs used by the tabletmanager package.
vttablet/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
vttablet/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.
vttablet/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
vttablet/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.
vttablet/tabletserver/throttle/base
This codebase originates from https://github.com/github/freno, See https://github.com/github/freno/blob/master/LICENSE
This codebase originates from https://github.com/github/freno, See https://github.com/github/freno/blob/master/LICENSE
vttablet/tabletserver/txserializer
Package txserializer provides the vttablet hot row protection.
Package txserializer provides the vttablet hot row protection.
vttablet/tabletserver/vstreamer/testenv
Package testenv supplies test functions for testing vstreamer.
Package testenv supplies test functions for testing vstreamer.
vttablet/tabletservermock
Package tabletservermock provides mock interfaces for tabletserver.
Package tabletservermock provides mock interfaces for tabletserver.
vttest
Package vttest contains helpers to set up Vitess for testing.
Package vttest contains helpers to set up Vitess for testing.
wrangler
Package wrangler contains the Wrangler object to manage complex topology actions.
Package wrangler contains the Wrangler object to manage complex topology actions.
wrangler/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.
Package yaml2 ensures that the right yaml package gets imported.
Package yaml2 ensures that the right yaml package gets imported.

Jump to

Keyboard shortcuts

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