Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoConfigureGCRCredentialHelper ¶
func AutoConfigureGCRCredentialHelper(cf *configfile.ConfigFile, registry string)
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 CloudBuildClient ¶ added in v0.37.0
func CloudBuildClient() (*cloudbuild.Service, error)
CloudBuildClient returns an authenticated client for interacting with the Google Cloud Build API. This client is created once and cached for repeated use in Skaffold.
func CloudStorageClient ¶ added in v0.37.0
CloudStorageClient returns an authenticated client for interacting with the Google Cloud Storage API. This client is not cached by Skaffold, because it needs to be closed each time it is done being used by the caller.
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.