VictoriaMetrics/vendor/cloud.google.com/go/auth
Aliaksandr Valialkin 40f56fa93b
vendor: run make vendor-update
Add exclude google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a to go.mod
according to https://github.com/googleapis/google-cloud-go/issues/11283#issuecomment-2558515586 .

This fixes the following strange issue on `make vendor-update`:

cloud.google.com/go/storage imports
        google.golang.org/grpc/stats/opentelemetry: ambiguous import: found package google.golang.org/grpc/stats/opentelemetry in multiple modules:
        google.golang.org/grpc v1.69.0 (/go/pkg/mod/google.golang.org/grpc@v1.69.0/stats/opentelemetry)
        google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a (/go/pkg/mod/google.golang.org/grpc/stats/opentelemetry@v0.0.0-20240907200651-3ffb98b2c93a)
2025-01-12 03:14:52 +01:00
..
credentials vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
grpctransport vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
httptransport vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
internal vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
oauth2adapt vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
auth.go vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
CHANGES.md vendor: run make vendor-update 2025-01-12 03:14:52 +01:00
LICENSE vendor: run make vendor-update 2024-04-17 22:54:56 +02:00
README.md vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
threelegged.go vendor: run make vendor-update 2025-01-12 03:14:52 +01:00

Google Auth Library for Go

Go Reference

Install

go get cloud.google.com/go/auth@latest

Usage

The most common way this library is used is transitively, by default, from any of our Go client libraries.

Notable use-cases

  • To create a credential directly please see examples in the credentials package.
  • To create a authenticated HTTP client please see examples in the httptransport package.
  • To create a authenticated gRPC connection please see examples in the grpctransport package.
  • To create an ID token please see examples in the idtoken package.

Contributing

Contributions are welcome. Please, see the CONTRIBUTING document for details.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.