vitess-gh/go/vt
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
..
automation Retiring logutil.LoggerEvent in favor of logutilpb.Event. 2015-11-16 08:08:18 -08:00
binlog sqltypes: new Value 2015-11-17 12:59:45 -08:00
callerid protos: rest of the protos renamed to ...pb 2015-11-19 22:03:19 -08:00
callinfo
client Removing the last uses of vtgate/proto. 2015-11-18 10:53:48 -08:00
concurrency
dbconfigs
dbconnpool sqltypes: new Value 2015-11-17 12:59:45 -08:00
discovery Switching tabletconn API out of tproto.QueyrResultList. 2015-11-19 16:22:40 -08:00
env
estimator
etcdtopo vtctld: Clean out old UI. 2015-11-12 22:52:07 -08:00
events
health
hook
janitor
key Fix copy in KeyRangesOverlap. 2015-11-23 18:10:58 -08:00
logutil Retiring logutil.LoggerEvent in favor of logutilpb.Event. 2015-11-16 08:08:18 -08:00
mysqlctl GCS backup plugin: Adapt to new API of the GCS Go client. 2015-11-25 18:22:23 -08:00
proto proto: Update generated proto definitions. 2015-11-15 16:23:26 -08:00
rpc
schema sqltypes: new Value 2015-11-17 12:59:45 -08:00
schemamanager schemamanager: Replace fmt.PrintX calls with log.InfoX/ErrorX. 2015-11-14 21:14:40 -08:00
servenv
sqlannotation
sqlparser Merge pull request #1346 from youtube/suguwork 2015-11-25 10:45:20 -08:00
status more protos renamed 2015-11-12 01:13:51 -08:00
tableacl more protos renamed 2015-11-12 01:13:51 -08:00
tabletmanager Merge pull request #1345 from youtube/travis_go15 2015-11-22 20:20:58 -08:00
tabletserver Merge pull request #1346 from youtube/suguwork 2015-11-25 10:45:20 -08:00
topo Handling no-update case better in UpdateShardFields. 2015-11-19 16:31:52 -08:00
topotools healthcheck: Don't update tablet record if it's been taken over. 2015-11-17 17:08:57 -08:00
vtctl vtworkerclient: Move client test suite into its own package. 2015-11-21 21:15:36 -08:00
vterrors Refactoring the Execute method of the vtgate service. 2015-11-17 18:32:00 -08:00
vtgate vtgate: Clean up mapKeyRangesToShards() 2015-11-23 18:14:58 -08:00
vttest more protos renamed 2015-11-12 01:13:51 -08:00
worker vtworkerclient: Move client test suite into its own package. 2015-11-21 21:15:36 -08:00
wrangler Handling no-update case better in UpdateShardFields. 2015-11-19 16:31:52 -08:00
zktopo stats: Remove the stats variable type "States". 2015-11-13 16:36:47 -08:00