terraform-provider-docker/vendor/cloud.google.com/go/storage
dubo-dubon-duponey 27a9f37c69 Move to standalone plugin SDK (#200)
Closes #197 
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
2019-10-09 20:25:38 +02:00
..
acl.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
bucket.go Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
copy.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
doc.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
go110.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
hmac.go Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
iam.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
invoke.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
not_go110.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
notifications.go Update to Terraform 0.12 (#150). Closes #144 2019-06-11 00:24:55 +02:00
reader.go Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
README.md Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
storage.go Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
storage.replay Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02:00
writer.go Move to standalone plugin SDK (#200) 2019-10-09 20:25:38 +02: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)
}