You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/vendor/cloud.google.com/go/storage
upodroid 2228b18fcb
revendor the libraries
5 years ago
..
CHANGES.md revendor the libraries 5 years ago
LICENSE builder/hyperone: fix & add tests for tags 6 years ago
README.md go get go get github.com/hashicorp/go-getter@master && tidy 7 years ago
acl.go Use the hashicorp/go-getter to download files 7 years ago
bucket.go revendor the libraries 5 years ago
copy.go revendor the libraries 5 years ago
doc.go revendor the libraries 5 years ago
go.mod revendor the libraries 5 years ago
go.sum revendor the libraries 5 years ago
go110.go revendor the libraries 5 years ago
go_mod_tidy_hack.go builder/hyperone: fix & add tests for tags 6 years ago
hmac.go builder/hyperone: fix & add tests for tags 6 years ago
iam.go Drop the iso_checksum_type & iso_checksum_url fields (#8437) 6 years ago
invoke.go Use the hashicorp/go-getter to download files 7 years ago
not_go110.go Use the hashicorp/go-getter to download files 7 years ago
notifications.go Use the hashicorp/go-getter to download files 7 years ago
post_policy_v4.go revendor the libraries 5 years ago
reader.go revendor the libraries 5 years ago
storage.go revendor the libraries 5 years ago
storage.replay go get go get github.com/hashicorp/go-getter@master && tidy 7 years ago
writer.go revendor the libraries 5 years ago

README.md

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