kaniko/vendor/cloud.google.com/go/storage
dependabot[bot] b42c967098
Bump cloud.google.com/go/storage from 1.20.0 to 1.21.0 (#1947)
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.20.0...spanner/v1.21.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 01:40:56 +05:30
..
internal Bump cloud.google.com/go/storage from 1.20.0 to 1.21.0 (#1947) 2022-02-22 01:40:56 +05:30
CHANGES.md Bump cloud.google.com/go/storage from 1.20.0 to 1.21.0 (#1947) 2022-02-22 01:40:56 +05:30
LICENSE bump go-containerregistry dep 2020-08-04 19:41:26 -07:00
README.md Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
acl.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
bucket.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
copy.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
doc.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
emulator_test.sh Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
go_mod_tidy_hack.go Bump deps (#1885) 2022-01-21 13:59:16 -05:00
hmac.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
iam.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
invoke.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
notifications.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
post_policy_v4.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
reader.go Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0 (#1903) 2022-01-31 04:10:27 -05:00
storage.go Bump cloud.google.com/go/storage from 1.20.0 to 1.21.0 (#1947) 2022-02-22 01:40:56 +05:30
storage.replay bump go-containerregistry dep 2020-08-04 19:41:26 -07:00
writer.go Bump cloud.google.com/go/storage from 1.20.0 to 1.21.0 (#1947) 2022-02-22 01:40:56 +05:30

README.md

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