# README
google
The google
package provides:
- Some google-specific authentication methods.
- Some GCR-specific listing methods.
# Functions
List calls /tags/list for the given repository.
NewEnvAuthenticator returns an authn.Authenticator that generates access tokens from the environment we're running in.
NewGcloudAuthenticator returns an oauth2.TokenSource that generates access tokens by shelling out to the gcloud sdk.
NewJSONKeyAuthenticator returns a Basic authenticator which uses Service Account as a way of authenticating with Google Container Registry.
NewTokenAuthenticator returns an oauth2.TokenSource that generates access tokens by using the Google SDK to produce JWT tokens from a Service Account.
NewTokenSourceAuthenticator converts an oauth2.TokenSource into an authn.Authenticator.
Walk recursively descends repositories, calling walkFn.
WithAuth is a functional option for overriding the default authenticator on a remote image.
WithAuthFromKeychain is a functional option for overriding the default authenticator on a remote image using an authn.Keychain.
WithContext is a functional option for overriding the default context.Context for HTTP request to list remote images.
WithTransport is a functional option for overriding the default transport on a remote image.
WithUserAgent adds the given string to the User-Agent header for any HTTP requests.
# Variables
GetGcloudCmd is exposed so we can test this.
Keychain exports an instance of the google Keychain.
# Structs
ManifestInfo is a Manifests entry is the output of List and Walk.
Tags is the result of List and Walk.