VictoriaMetrics/vendor/cloud.google.com/go/storage
dependabot[bot] 1a6b9157e2
build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589)
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.16.0...storage/v1.16.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 12:51:42 +03:00
..
internal/apiv2 build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
acl.go build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
bucket.go build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
CHANGES.md build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
copy.go vendor: make vendor-update 2020-06-06 00:01:19 +03:00
doc.go build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
go_mod_tidy_hack.go build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
go.mod build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
go.sum build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03: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 build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03: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
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 build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00
README.md vendor: make vendor-update 2021-02-09 01:08:56 +02:00
storage.go build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +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 build(deps): bump cloud.google.com/go/storage from 1.16.0 to 1.16.1 (#1589) 2021-09-01 12:51:42 +03:00

Cloud Storage Go Reference

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)
}