Package gcp provides fundamental Wire providers and types for Google Cloud Platform (GCP).
DefaultIdentity is a Wire provider set that provides the project ID and token source from Application Default Credentials (ADC).
DefaultCredentials obtains the default GCP credentials with Cloud Platform scope.
DefaultTransport returns http.DefaultTransport.
HTTPClient is an HTTP client that makes requests authenticated with Cloud- Platform-scoped authentication tokens.
NewHTTPClient creates a new authenticated HTTP client.
ProjectID is a GCP Project ID.
DefaultProjectID obtains the project ID from the default GCP credentials.
TokenSource wraps a GCP token source that provides Cloud-Platform- scoped tokens.
CredentialsTokenSource extracts the token source from GCP credentials.
|cloudsql||Package cloudsql contains Wire providers that are common across Google Cloud SQL.|
|gcpcloud||Package gcpcloud contains Wire providers for GCP services.|