зеркало из https://github.com/github/vitess-gh.git
aa9dfda4d5
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. |
||
---|---|---|
.. | ||
acl | ||
bson | ||
bufio2 | ||
bytes2 | ||
cache | ||
cacheservice | ||
cgzip | ||
cmd | ||
event | ||
ewma | ||
exit | ||
fileutil | ||
flagutil | ||
hack | ||
history | ||
ioutil2 | ||
memcache | ||
mysql | ||
netutil | ||
pools | ||
proc | ||
ratelimiter | ||
rpcplus | ||
rpcwrap | ||
sqldb | ||
sqltypes | ||
stats | ||
streamlog | ||
sync2 | ||
tb | ||
terminal | ||
testfiles | ||
timer | ||
trace | ||
vt | ||
zk | ||
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.