Like Prometheus, but for logs.
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.
 
 
 
 
 
 
loki/vendor/cloud.google.com/go/storage
renovate[bot] 8e6647f926
fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#14940)
7 months ago
..
experimental fix(deps): update module cloud.google.com/go/storage to v1.46.0 (#14744) 7 months ago
internal fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#14940) 7 months ago
CHANGES.md fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#14940) 7 months ago
LICENSE loki: use new runtimeconfig package from Cortex (#1484) 5 years ago
README.md Bump cloud.google.com/go/storage from 1.27.0 to 1.29.0 (#8276) 2 years ago
acl.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.47.7 (#13935) 9 months ago
bucket.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
client.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
copy.go Bump cloud.google.com/go/storage from 1.27.0 to 1.29.0 (#8276) 2 years ago
doc.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
dynamic_delay.go fix(deps): update module cloud.google.com/go/storage to v1.46.0 (#14744) 7 months ago
emulator_test.sh promtail: GCPLog fixing `failed to receive pubsub messages` error (#6965) 3 years ago
grpc_client.go fix(deps): update module cloud.google.com/go/storage to v1.46.0 (#14744) 7 months ago
grpc_dp.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
grpc_metrics.go fix(deps): update module cloud.google.com/go/storage to v1.46.0 (#14744) 7 months ago
hmac.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
http_client.go fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#14940) 7 months ago
iam.go Upgrade Thanos objstore, dskit and other modules (#10366) 2 years ago
invoke.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
notifications.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
option.go fix(deps): update module cloud.google.com/go/storage to v1.46.0 (#14744) 7 months ago
post_policy_v4.go chore(deps): Update Prometheus in Loki and Promtail (#12245) 1 year ago
reader.go fix(deps): update module github.com/fsouza/fake-gcs-server to v1.50.2 (#14313) 7 months ago
storage.go fix(deps): update module cloud.google.com/go/storage to v1.47.0 (#14940) 7 months ago
storage.replay dep => go mod (#1062) 6 years ago
writer.go feat: upgrade prometheus (#13671) 10 months ago

README.md

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