Documentation ¶
Index ¶
Constants ¶
View Source
const PlanDependencyHTTPD = "httpd"
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(dependencies DependencyService, clock chronos.Clock, logger LogEmitter) packit.BuildFunc
func Detect ¶
func Detect() packit.DetectFunc
Types ¶
type BuildPlanMetadata ¶
type Buildpack ¶
type Buildpack struct {
HTTPD BuildpackHTTPD `yaml:"httpd"`
}
func ParseBuildpack ¶
type BuildpackHTTPD ¶
type BuildpackHTTPD struct {
Version string `yaml:"version"`
}
type DependencyService ¶
type DependencyService interface { Resolve(path, name, version, stack string) (postal.Dependency, error) Install(dependency postal.Dependency, cnbPath, layerPath string) error }
type LogEmitter ¶
func NewLogEmitter ¶
func NewLogEmitter(output io.Writer) LogEmitter
func (LogEmitter) Candidates ¶
func (e LogEmitter) Candidates(entries []packit.BuildpackPlanEntry)
func (LogEmitter) Environment ¶
func (e LogEmitter) Environment(environment packit.Environment)
func (LogEmitter) SelectedDependency ¶
func (e LogEmitter) SelectedDependency(entry packit.BuildpackPlanEntry, version string)
func (LogEmitter) Title ¶
func (e LogEmitter) Title(info packit.BuildpackInfo)
Click to show internal directories.
Click to hide internal directories.