debian-forge-composer/vendor/cloud.google.com/go/storage
Simon de Vlieger bccd1639af deps: update images to 0.94
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2024-10-25 11:23:16 +02:00
..
internal deps: update images to 0.94 2024-10-25 11:23:16 +02:00
acl.go build(deps): bump the go-deps group across 1 directory with 15 updates 2024-06-17 09:54:49 +02:00
bucket.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
CHANGES.md deps: update images to 0.94 2024-10-25 11:23:16 +02:00
client.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
copy.go build(deps): bump cloud.google.com/go/compute from 1.10.0 to 1.19.3 2023-05-22 11:51:42 +02:00
doc.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
dynamic_delay.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
emulator_test.sh build(deps): bump cloud.google.com/go/storage from 1.18.2 to 1.22.0 2022-04-20 14:27:18 +02:00
grpc_client.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
grpc_dp.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
grpc_metrics.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
hmac.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
http_client.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
iam.go build(deps): bump cloud.google.com/go/storage from 1.27.0 to 1.30.1 2023-05-22 19:23:32 +02:00
invoke.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
LICENSE internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
notifications.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
option.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
post_policy_v4.go go.mod: bump osbuild/images to c2aa82cc9a86 2023-08-22 10:12:13 +02:00
reader.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
README.md build(deps): bump cloud.google.com/go/compute from 1.10.0 to 1.19.3 2023-05-22 11:51:42 +02:00
storage.go deps: update images to 0.94 2024-10-25 11:23:16 +02:00
storage.replay internal/upload: Add support for upload to GCP and CLI tool using it 2021-02-25 18:44:21 +00:00
writer.go images: update dependency 2024-03-04 16:20:26 +01: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 := io.ReadAll(rc)
if err != nil {
	log.Fatal(err)
}