Directories ¶
Path | Synopsis |
---|---|
Package acl contains functions to enforce access control lists.
|
Package acl contains functions to enforce access control lists. |
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or AsyncWriter) that also implements the interface but provides buffering and some help for textual I/O.
|
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or AsyncWriter) that also implements the interface but provides buffering and some help for textual I/O. |
cache implements a LRU cache.
|
cache implements a LRU cache. |
cmd
|
|
bsongen
bsongen will generate bson encoders and decoders for a given go type.
|
bsongen will generate bson encoders and decoders for a given go type. |
vtprimecache
vtprimecache is a standalone version of primecache
|
vtprimecache is a standalone version of primecache |
vttablet
vt tablet server: Serves queries and performs housekeeping jobs.
|
vt tablet server: Serves queries and performs housekeeping jobs. |
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. |
Only build on Linux, since the use of procfs is platform specific.
|
Only build on Linux, since the use of procfs is platform specific. |
Package exit provides an alternative to os.Exit(int) that executes deferred functions before exiting.
|
Package exit provides an alternative to os.Exit(int) that executes deferred functions before exiting. |
filutil contains a few utility functions related to files and path
|
filutil contains a few utility functions related to files and path |
Package flagutil contains flags that parse string lists and string maps.
|
Package flagutil contains flags that parse string lists and string maps. |
This packages contains a few utility functions for network related functions.
|
This packages contains a few utility functions for network related functions. |
Package pools provides functionality to manage and reuse resources like connections.
|
Package pools provides functionality to manage and reuse resources like connections. |
Package proc allows you to configure servers to be restarted with negligible downtime.
|
Package proc allows you to configure servers to be restarted with negligible downtime. |
Package rpc provides access to the exported methods of an object across a network or other I/O connection.
|
Package rpc provides access to the exported methods of an object across a network or other I/O connection. |
jsonrpc
Package jsonrpc implements a JSON-RPC ClientCodec and ServerCodec for the rpc package.
|
Package jsonrpc implements a JSON-RPC ClientCodec and ServerCodec for the rpc package. |
pbrpc
Package pbrpc implements a ClientCodec and ServerCodec for the rpc package using proto.
|
Package pbrpc implements a ClientCodec and ServerCodec for the rpc package using proto. |
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. |
Package timer provides timer functionality that can be controlled by the user.
|
Package timer provides timer functionality that can be controlled by the user. |
vt
|
|
binlog/binlogplayer
Package binlogplayer contains the code that plays a filtered replication stream on a client database.
|
Package binlogplayer contains the code that plays a filtered replication stream on a client database. |
client2/tablet
API compliant to the requirements of database/sql Open expects name to be "hostname:port/keyspace/shard" For query arguments, we assume place-holders in the query string in the form of :v0, :v1, etc.
|
API compliant to the requirements of database/sql Open expects name to be "hostname:port/keyspace/shard" For query arguments, we assume place-holders in the query string in the form of :v0, :v1, etc. |
dbconfigs
Package dbconfigs is reusable by vt tools to load the db configs file.
|
Package dbconfigs is reusable by vt tools to load the db configs file. |
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. |
primecache
primecache primes the MySQL buffer cache with the rows that are going to be modified by the replication stream.
|
primecache primes the MySQL buffer cache with the rows that are going to be modified by the replication stream. |
status
Package status defines a few useful functions for our binaries, mainly to link the status page with a vtctld instance.
|
Package status defines a few useful functions for our binaries, mainly to link the status page with a vtctld instance. |
tabletmanager/actor
Package actor contains the code for all the actions executed remotely on a tablet.
|
Package actor contains the code for all the actions executed remotely on a tablet. |
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
helpers package contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
|
helpers package contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another. |
topo/test
package test contains utilities to test topo.Server implementations.
|
package test contains utilities to test topo.Server implementations. |
topo/test/faketopo
faketopo contains utitlities for tests that have to interact with a Vitess topology.
|
faketopo contains utitlities for tests that have to interact with a Vitess topology. |
topotools
topotools contains high level functions based on vt/topo and vt/actionnode.
|
topotools contains high level functions based on vt/topo and vt/actionnode. |
vtgate
Package vtgate provides query routing rpc services for vttablets.
|
Package vtgate provides query routing rpc services for vttablets. |
vtgate/gorpcvtgateservice
Package gorpcvtgateservice provides to go rpc glue for vtgate
|
Package gorpcvtgateservice provides to go rpc glue for vtgate |
worker
'worker' package contains the framework, utility methods and core functions for long running actions.
|
'worker' package contains the framework, utility methods and core functions for long running actions. |
wrangler
wrangler contains the Wrangler object to manage complex topology actions.
|
wrangler contains the Wrangler object to manage complex topology actions. |
wrangler/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. |
wrangler/testlib
Package testlib contains utility methods to include in unit tests to deal with topology common tasks, liek fake tablets and action loops.
|
Package testlib contains utility methods to include in unit tests to deal with topology common tasks, liek fake tablets and action loops. |
Emulate a "global" namespace across n zk quorums.
|
Emulate a "global" namespace across n zk quorums. |
fakezk
Package fakezk is a pretty complete mock implementation of a Zookeper connection (see go/zk/zk.Conn).
|
Package fakezk is a pretty complete mock implementation of a Zookeper connection (see go/zk/zk.Conn). |
zkns/pdns
To be used with PowerDNS (pdns) as a "pipe backend" CoProcess.
|
To be used with PowerDNS (pdns) as a "pipe backend" CoProcess. |
zkocc
cache for zkocc
|
cache for zkocc |
Click to show internal directories.
Click to hide internal directories.