Documentation ¶
Index ¶
- Constants
- func BuildpackPath(baseDir, buildpackName string) string
- func NewCompileFailError(err error) error
- func NewFinalizeFailError(err error) error
- func NewNoSupplyScriptFailError(err error) error
- func NewReleaseFailError(err error) error
- func NewSupplyFailError(err error) error
- type Buildpack
- type BuildpackMetadata
- type Config
- type DescriptiveError
- type LifecycleMetadata
- type ProcessTypes
- type Release
- type Runner
- type StagingInfo
- type StagingResult
Constants ¶
View Source
const ( Unknown = "Unknown reason" DetectFailMsg = "NoAppDetectedError" CompileFailMsg = "BuildpackCompileFailed" ReleaseFailMsg = "BuildpackReleaseFailed" FullDetectFailMsg = "None of the buildpacks detected a compatible application" SupplyFailMsg = "Failed to run all supply scripts" NoSupplyScriptFailMsg = "Error: one of the buildpacks chosen to supply dependencies does not support multi-buildpack apps" MissingFinalizeWarnMsg = "" /* 158-byte string literal not displayed */ FinalizeFailMsg = "Failed to run finalize script" SystemFailCode = 1 DetectFailCode = 222 CompileFailCode = 223 ReleaseFailCode = 224 SupplyFailCode = 225 FinalizeFailCode = 227 )
Variables ¶
This section is empty.
Functions ¶
func BuildpackPath ¶
func NewCompileFailError ¶
func NewFinalizeFailError ¶
func NewReleaseFailError ¶
func NewSupplyFailError ¶
Types ¶
type BuildpackMetadata ¶
type Config ¶
type Config struct { BuildDir string BuildpacksDir string OutputDropletLocation string OutputBuildArtifactsCache string OutputMetadataLocation string BuildpackOrder []string SkipDetect bool BuildArtifactsCache string }
func (Config) BuildArtifactsCacheDir ¶
func (*Config) InitBuildpacks ¶
func (Config) SupplyBuildpacks ¶
type DescriptiveError ¶
func (DescriptiveError) Error ¶
func (e DescriptiveError) Error() string
type LifecycleMetadata ¶
type LifecycleMetadata struct { BuildpackKey string `json:"buildpack_key,omitempty"` DetectedBuildpack string `json:"detected_buildpack"` Buildpacks []BuildpackMetadata `json:"buildpacks"` }
type ProcessTypes ¶
type Release ¶
type Release struct {
DefaultProcessTypes ProcessTypes `yaml:"default_process_types"`
}
type Runner ¶
type StagingInfo ¶
type StagingInfo struct { DetectedBuildpack string `json:"detected_buildpack" yaml:"detected_buildpack"` StartCommand string `json:"start_command" yaml:"start_command"` }
StagingInfo is used for export/import droplets.
type StagingResult ¶
type StagingResult struct { LifecycleMetadata `json:"lifecycle_metadata"` ProcessTypes `json:"process_types"` ExecutionMetadata string `json:"execution_metadata"` LifecycleType string `json:"lifecycle_type"` }
func NewStagingResult ¶
func NewStagingResult(procTypes ProcessTypes, lifeMeta LifecycleMetadata) StagingResult
Click to show internal directories.
Click to hide internal directories.