debian-forge-composer/vendor/cloud.google.com/go/storage
Tomáš Hozza 2f087f1a6c Update osbuild/images to v0.40.0
In addition, simplify the SPEC file to not have to update the minimum
required osbuild version gazillion times, but just once.

Update the minimum required osbuild version to v109, due to changes in
grub2 stages required by the new osbuild/images version.

Update osbild SHA in Schutzfile to v109.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-02-26 09:08:50 +01:00
..
internal Update osbuild/images to v0.40.0 2024-02-26 09:08:50 +01:00
acl.go deps: update osbuild/images to 246b718310ea 2023-07-21 12:05:00 +02:00
bucket.go Update osbuild/images to v0.40.0 2024-02-26 09:08:50 +01:00
CHANGES.md Update osbuild/images to v0.40.0 2024-02-26 09:08:50 +01: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 build(deps): bump the go-deps group with 10 updates 2024-02-01 12:23:01 +01:00
hmac.go build(deps): bump the go-deps group with 10 updates 2023-11-13 14:26:11 +01:00
http_client.go Update osbuild/images to v0.40.0 2024-02-26 09:08:50 +01: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 2024-02-01 12:23:01 +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 Update osbuild/images to v0.40.0 2024-02-26 09:08:50 +01: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)
}