Documentation ¶
Index ¶
Constants ¶
View Source
const ( PushImageErr = "could not push image" // Error Prefix matches error thrown by Docker // See https://github.com/moby/moby/blob/master/client/errors.go#L18 DockerConnectionFailed = ".*(Cannot connect to the Docker daemon.*) Is" // Build cancelled due to other build failures BuildCancelled = ".*context canceled.*" )
View Source
const ( Init = Phase("Init") Build = Phase("Build") Deploy = Phase("Deploy") StatusCheck = Phase("StatusCheck") FileSync = Phase("FileSync") DevInit = Phase("DevInit") Cleanup = Phase("Cleanup") )
These are phases in a DevLoop
Variables ¶
This section is empty.
Functions ¶
func ActionableErr ¶
func ActionableErr(phase Phase, err error) *proto.ActionableErr
ActionableErr returns an actionable error message with suggestions
func SetSkaffoldOptions ¶
func SetSkaffoldOptions(opts config.SkaffoldOptions)
SetSkaffoldOptions set Skaffold config options once. These options are used later to suggest actionable error messages based on skaffold run context
func ShowAIError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.