Documentation ¶
Index ¶
Constants ¶
View Source
const PlanDependencyHTTPD = "httpd"
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(entries EntryResolver, dependencies DependencyService, clock chronos.Clock, logger LogEmitter) packit.BuildFunc
func Detect ¶
func Detect(parser Parser) packit.DetectFunc
Types ¶
type BuildPlanMetadata ¶
type DependencyService ¶
type DependencyService interface { Resolve(path, name, version, stack string) (postal.Dependency, error) Install(dependency postal.Dependency, cnbPath, layerPath string) error }
type EntryResolver ¶ added in v0.0.169
type EntryResolver interface { Resolve(string, []packit.BuildpackPlanEntry, []interface{}) (packit.BuildpackPlanEntry, []packit.BuildpackPlanEntry) MergeLayerTypes(string, []packit.BuildpackPlanEntry) (launch, build bool) }
type LogEmitter ¶
func NewLogEmitter ¶
func NewLogEmitter(output io.Writer) LogEmitter
func (LogEmitter) Environment ¶
func (e LogEmitter) Environment(environment packit.Environment)
func (LogEmitter) Title ¶
func (e LogEmitter) Title(info packit.BuildpackInfo)
type VersionParser ¶ added in v0.0.167
type VersionParser struct{}
func NewVersionParser ¶ added in v0.0.167
func NewVersionParser() VersionParser
func (VersionParser) ParseVersion ¶ added in v0.0.167
func (v VersionParser) ParseVersion(path string) (string, string, error)
Click to show internal directories.
Click to hide internal directories.