Documentation ¶
Index ¶
- func Build(entries EntryResolver, dependencies DependencyManager, ...) packit.BuildFunc
- func Detect(environment Environment, versionParser VersionParser) packit.DetectFunc
- type BuildpackYMLParser
- type ConfigParser
- type DependencyManager
- type EntryResolver
- type Environment
- type RuntimeConfigParser
- type RuntimeVersionResolver
- type SBOMGenerator
- type VersionParser
- type VersionResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( entries EntryResolver, dependencies DependencyManager, versionResolver VersionResolver, sbomGenerator SBOMGenerator, configParser ConfigParser, logger scribe.Emitter, clock chronos.Clock, ) packit.BuildFunc
func Detect ¶
func Detect(environment Environment, versionParser VersionParser) packit.DetectFunc
Types ¶
type BuildpackYMLParser ¶
type BuildpackYMLParser struct{}
func NewBuildpackYMLParser ¶
func NewBuildpackYMLParser() BuildpackYMLParser
func (BuildpackYMLParser) ParseVersion ¶
func (p BuildpackYMLParser) ParseVersion(path string) (string, error)
type ConfigParser ¶
type DependencyManager ¶
type DependencyManager interface { Deliver(dependency postal.Dependency, cnbPath, layerPath, platformPath string) error GenerateBillOfMaterials(dependencies ...postal.Dependency) []packit.BOMEntry }
type EntryResolver ¶
type Environment ¶
type RuntimeConfigParser ¶
type RuntimeConfigParser struct{}
func NewRuntimeConfigParser ¶
func NewRuntimeConfigParser() RuntimeConfigParser
type RuntimeVersionResolver ¶
type RuntimeVersionResolver struct {
// contains filtered or unexported fields
}
func NewRuntimeVersionResolver ¶
func NewRuntimeVersionResolver(logger scribe.Emitter, environment Environment) RuntimeVersionResolver
func (RuntimeVersionResolver) Resolve ¶
func (r RuntimeVersionResolver) Resolve(path string, entry packit.BuildpackPlanEntry, stack string) (postal.Dependency, error)
type SBOMGenerator ¶
type VersionParser ¶
type VersionResolver ¶
type VersionResolver interface {
Resolve(path string, entry packit.BuildpackPlanEntry, stack string) (postal.Dependency, error)
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.