Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoConfigureGCRCredentialHelper ¶
func AutoConfigureGCRCredentialHelper(cf *configfile.ConfigFile)
AutoConfigureGCRCredentialHelper automatically adds the `gcloud` credential helper to docker's configuration. This doesn't modify the ~/.docker/config.json. It's only in-memory
func ClientOptions ¶ added in v1.1.0
func ClientOptions(ctx context.Context) []option.ClientOption
ClientOptions returns a list of options to be configured when connecting to Google Cloud services.
func ExtractProjectID ¶
ExtractProjectID extracts the GCP projectID from a docker image name This only works if the imageName is pushed to gcr.io.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.