Documentation
¶
Index ¶
Constants ¶
View Source
const CodeFailed = 1
Variables ¶
This section is empty.
Functions ¶
func CodeFor ¶ added in v0.13.0
func CodeFor(errType LifecycleExitError, exitCodes map[LifecycleExitError]int) int
Types ¶
type LifecycleExitError ¶ added in v0.13.0
type LifecycleExitError int
const ( FailedDetect LifecycleExitError = iota FailedDetectWithErrors // no buildpacks detected DetectError // no buildpacks detected and at least one errored AnalyzeError // generic analyze error RestoreError // generic restore error FailedBuildWithErrors // buildpack error during /bin/build BuildError // generic build error ExportError // generic export error RebaseError // generic rebase error LaunchError // generic launch error )
type Platform ¶
type Platform interface {
API() string
CodeFor(errType LifecycleExitError) int
}
Click to show internal directories.
Click to hide internal directories.