Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvAppDir = "CNB_APP_DIR" EnvLayersDir = "CNB_LAYERS_DIR" EnvNoColor = "CNB_NO_COLOR" // defaults to false EnvPlatformAPI = "CNB_PLATFORM_API" EnvProcessType = "CNB_PROCESS_TYPE" DefaultPlatformAPI = "0.3" DefaultProcessType = "web" DefaultExecExt = path.ExecExt )
View Source
const CodeForFailed = 1
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DefaultExiter ¶
type DefaultExiter struct{}
func (*DefaultExiter) CodeFor ¶
func (e *DefaultExiter) CodeFor(errType LifecycleExitError) int
type Exiter ¶
type Exiter interface {
CodeFor(errType LifecycleExitError) int
}
type LegacyExiter ¶
type LegacyExiter struct{}
func (*LegacyExiter) CodeFor ¶
func (e *LegacyExiter) CodeFor(errType LifecycleExitError) int
type LifecycleExitError ¶
type LifecycleExitError int
const (
LaunchError LifecycleExitError = iota
)
Click to show internal directories.
Click to hide internal directories.