Documentation ¶
Index ¶
- Constants
- func GitClone(repo url.URL, destination string) error
- func IsZipFile(filename string) bool
- type DeaStagingInfo
- type Release
- type Runner
- func (runner *Runner) CleanUp() error
- func (runner *Runner) GetContentsDir() string
- func (runner *Runner) GetDepsDir() string
- func (runner *Runner) GoLikeLightning() (string, string, error)
- func (runner *Runner) MergeLaunchYML(buildpackIndex int, procMap resources.LaunchData) (resources.LaunchData, error)
- func (runner *Runner) ProcessFinalBuildpack(detectedBuildpack, detectedBuildpackDir string, procMap resources.LaunchData) (resources.LaunchData, error)
- func (runner *Runner) ProcessYML(selectedBuildpacks []string) (resources.LaunchData, error)
- func (runner *Runner) Run() (string, error)
- func (runner *Runner) Setup() error
- func (runner *Runner) WriteResultJSON(resultData buildpackapplifecycle.StagingResult, ...) (string, error)
- func (runner *Runner) WriteStagingInfoYML(resultData buildpackapplifecycle.StagingResult, ...) (string, error)
- func (runner *Runner) WriteStartCommands(detectedBuildpackDir, detectedBuildpack, detectOutput string, ...) (string, string, error)
- type ZipDownloader
Constants ¶
View Source
const DOWNLOAD_TIMEOUT = 10 * time.Minute
View Source
const DeaStagingInfoFilename = "staging_info.yml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeaStagingInfo ¶
type DeaStagingInfo struct { DetectedBuildpack string `json:"detected_buildpack" yaml:"detected_buildpack"` StartCommand string `json:"start_command" yaml:"start_command"` Config *buildpackapplifecycle.BuildpackConfig `json:"config,omitempty" yaml:"config,omitempty"` }
Used to generate YAML file read by the DEA
func (DeaStagingInfo) GetEntrypointPrefix ¶
func (stagingInfo DeaStagingInfo) GetEntrypointPrefix() string
type Release ¶
type Release struct {
DefaultProcessTypes buildpackapplifecycle.ProcessTypes `yaml:"default_process_types"`
}
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *buildpackapplifecycle.LifecycleBuilderConfig) *Runner
func (*Runner) GetContentsDir ¶
func (*Runner) GetDepsDir ¶
func (*Runner) MergeLaunchYML ¶
func (runner *Runner) MergeLaunchYML(buildpackIndex int, procMap resources.LaunchData) (resources.LaunchData, error)
func (*Runner) ProcessFinalBuildpack ¶
func (runner *Runner) ProcessFinalBuildpack(detectedBuildpack, detectedBuildpackDir string, procMap resources.LaunchData) (resources.LaunchData, error)
func (*Runner) ProcessYML ¶
func (runner *Runner) ProcessYML(selectedBuildpacks []string) (resources.LaunchData, error)
func (*Runner) WriteResultJSON ¶
func (runner *Runner) WriteResultJSON(resultData buildpackapplifecycle.StagingResult, buildpacks []buildpackapplifecycle.BuildpackMetadata) (string, error)
func (*Runner) WriteStagingInfoYML ¶
func (runner *Runner) WriteStagingInfoYML(resultData buildpackapplifecycle.StagingResult, buildpacks []buildpackapplifecycle.BuildpackMetadata) (string, error)
func (*Runner) WriteStartCommands ¶
type ZipDownloader ¶
type ZipDownloader struct {
// contains filtered or unexported fields
}
func NewZipDownloader ¶
func NewZipDownloader(skipSSLVerification bool) *ZipDownloader
func (*ZipDownloader) DownloadAndExtract ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.