Documentation
¶
Index ¶
Constants ¶
View Source
const ( // State/Existence Errors CodeVMDormant = 15 CodeVMNotFound = 16 // Execution/Environment Errors CodeHostPortInUse = 22 // Auth/Authentication Errors CodeNotLoggedIn = 41 )
Variables ¶
This section is empty.
Functions ¶
func RecoverGcloudAuth ¶ added in v0.27.1
RecoverGcloudAuth intercepts a podman/docker stdout/stderr byte array, checks if the google cloud docker credential helper caused the failure, and if so, interactively prompts the user to re-authenticate and auto-runs `gcloud auth login`.
Returns true if the user successfully re-authenticated, indicating the caller should retry the command. Returns false otherwise.
Types ¶
Click to show internal directories.
Click to hide internal directories.