debian-forge-composer/vendor/cloud.google.com/go/storage
Ondřej Budai 807f249146 go.mod: bump images to v0.26.0
This is mainly needed in order to get the RHEL 9 SAP Azure images.
2023-12-22 00:11:19 +00:00
..
internal go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00:00
acl.go deps: update osbuild/images to 246b718310ea 2023-07-21 12:05:00 +02:00
bucket.go go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00:00
CHANGES.md go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00:00
client.go go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00: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 vendor: Update osbuild/images to commit dd48a38be218 2023-09-21 16:56:54 +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 go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00:00
hmac.go build(deps): bump the go-deps group with 10 updates 2023-11-13 14:26:11 +01:00
http_client.go go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00: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 build(deps): bump the go-deps group with 10 updates 2023-11-13 14:26:11 +01: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 osbuild/images to 246b718310ea 2023-07-21 12:05:00 +02:00
option.go deps: update osbuild/images to 246b718310ea 2023-07-21 12:05:00 +02:00
post_policy_v4.go go.mod: bump osbuild/images to c2aa82cc9a86 2023-08-22 10:12:13 +02:00
reader.go build(deps): bump the go-deps group with 10 updates 2023-11-13 14:26:11 +01: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 go.mod: bump images to v0.26.0 2023-12-22 00:11:19 +00: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 go.mod: bump osbuild/images to c2aa82cc9a86 2023-08-22 10:12:13 +02: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)
}