mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
![]() 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) |
||
---|---|---|
.. | ||
credentials | ||
grpctransport | ||
httptransport | ||
internal | ||
oauth2adapt | ||
auth.go | ||
CHANGES.md | ||
LICENSE | ||
README.md | ||
threelegged.go |
Google Auth Library for Go
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.