vitess-gh/go
Michael Berlin aa9dfda4d5 GCS backup plugin: Adapt to new API of the GCS Go client.
This unbreaks our Go build.

In commit b467501b2a6e4998b369e3569864906a1261972c they changed their API from one-shot commands to a client.Bucket.Object pattern.

Where we previously stored only the "authCtx" in the global instance of the GSC backup plugin, we're now keeping the instance of the GSC Go client.

Note that we're supposed to call Close() on the GSC client instance eventually. However, our backup interface doesn't foresee a Close() yet. Therefore, for now, we keep the GSC Go Client instance around once it was actively used. The cost of this "leak" is therefore minimal.

NOTE: In their new API I didn't find a way to fill in the project id. We'll need to look into it.
NOTE: This code change is untested and may not work at all. However, it's good enough to merge and unbreak our build.
2015-11-25 18:22:23 -08:00
..
acl
bson bson: Allow decoding int64 into int32. 2015-08-22 16:06:28 -07:00
bufio2
bytes2
cache tabletserver: stats should not reorder query plans 2015-09-12 13:17:37 -07:00
cacheservice
cgzip Fix cgzip for new GC in Go 1.5. 2015-07-31 17:20:52 -07:00
cmd Switching tabletconn API out of tproto.QueyrResultList. 2015-11-19 16:22:40 -08:00
event
ewma Add license info for tests 2015-10-18 15:12:34 -07:00
exit Fix package comment in go/exit. 2015-09-24 09:11:24 -07:00
fileutil
flagutil
hack go 1.5 prep 2015-07-31 09:10:57 -07:00
history
ioutil2
memcache go 1.5 prep 2015-07-31 09:10:57 -07:00
mysql sqltypes: new Value 2015-11-17 12:59:45 -08:00
netutil netutil: Do not capitalize and use punctions in error messages as preferred by the common Go lang style guide. 2015-08-22 13:22:43 -07:00
pools resource_pool: deflaked test 2015-10-16 17:47:30 -07:00
proc Detect flaky unit tests based on their suffix _flaky_test.go. 2015-08-30 22:28:14 -07:00
ratelimiter
rpcplus Removing SASL over BSON support. 2015-09-01 09:15:37 -07:00
rpcwrap Removing SASL over BSON support. 2015-09-01 09:15:37 -07:00
sqldb more protos renamed 2015-11-12 01:13:51 -08:00
sqltypes protos: rest of the protos renamed to ...pb 2015-11-19 22:03:19 -08:00
stats stats: Remove the stats variable type "States". 2015-11-13 16:36:47 -08:00
streamlog streamlog: simplify code 2015-10-04 11:55:45 -07:00
sync2 Detect flaky unit tests based on their suffix _flaky_test.go. 2015-08-30 22:28:14 -07:00
tb
terminal
testfiles
timer Detect flaky unit tests based on their suffix _flaky_test.go. 2015-08-30 22:28:14 -07:00
trace
vt GCS backup plugin: Adapt to new API of the GCS Go client. 2015-11-25 18:22:23 -08:00
zk stats: Remove the stats variable type "States". 2015-11-13 16:36:47 -08:00
README.md

README.md

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.

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