package
0.0.0-20240507163704-2bcf714ecc87
Repository: https://github.com/lioric/go-cloud.git
Documentation: pkg.go.dev

# Packages

Package gcpcloud contains Wire providers for GCP services.

# Functions

CredentialsTokenSource extracts the token source from GCP credentials.
DefaultCredentials obtains the default GCP credentials with Cloud Platform scope.
DefaultProjectID obtains the project ID from the default GCP credentials.
DefaultTransport returns http.DefaultTransport.
NewHTTPClient creates a new authenticated HTTP client.

# Variables

DefaultIdentity is a Wire provider set that provides the project ID and token source from Application Default Credentials (ADC).

# Structs

HTTPClient is an HTTP client that makes requests authenticated with Cloud- Platform-scoped authentication tokens.

# Type aliases

ProjectID is a GCP Project ID.
TokenSource wraps a GCP token source that provides Cloud-Platform- scoped tokens.