VictoriaMetrics/vendor/cloud.google.com/go/storage
2020-09-23 14:23:39 +03:00
..
acl.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
bucket.go vendor: make vendor-update 2020-09-23 14:23:39 +03:00
CHANGES.md vendor: make vendor-update 2020-09-23 14:23:39 +03:00
copy.go vendor: make vendor-update 2020-06-06 00:01:19 +03:00
doc.go vendor: make vendor-update 2020-09-23 14:23:39 +03:00
go.mod vendor: make vendor-update 2020-09-23 14:23:39 +03:00
go.sum vendor: make vendor-update 2020-09-23 14:23:39 +03:00
go110.go vendor: make vendor-update 2020-06-06 00:01:19 +03:00
go_mod_tidy_hack.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
hmac.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
iam.go make vendor-update 2020-02-26 20:45:27 +02:00
invoke.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
LICENSE app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
not_go110.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
notifications.go app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
post_policy_v4.go vendor: make vendor-update 2020-09-23 14:23:39 +03:00
reader.go vendor: make vendor-update 2020-05-12 14:25:35 +03:00
README.md app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
storage.go vendor: make vendor-update 2020-09-23 14:23:39 +03:00
storage.replay app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
writer.go vendor: make vendor-update 2020-06-19 02:39:53 +03:00

Cloud Storage GoDoc

Example Usage

First create a storage.Client to use throughout your application:

client, err := storage.NewClient(ctx)
if err != nil {
	log.Fatal(err)
}
// Read the object1 from bucket.
rc, err := client.Bucket("bucket").Object("object1").NewReader(ctx)
if err != nil {
	log.Fatal(err)
}
defer rc.Close()
body, err := ioutil.ReadAll(rc)
if err != nil {
	log.Fatal(err)
}