Documentation ¶
Index ¶
- func Build(entries EntryResolver, dependencies DependencyManager, ...) packit.BuildFunc
- func Detect(buildpackYMLParser VersionParser) packit.DetectFunc
- type BuildpackYMLParser
- type DependencyManager
- type DotnetSymlinker
- type EntryResolver
- type RuntimeVersionResolver
- type SBOMGenerator
- type Symlinker
- type VersionParser
- type VersionResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( entries EntryResolver, dependencies DependencyManager, dotnetSymlinker DotnetSymlinker, versionResolver VersionResolver, sbomGenerator SBOMGenerator, logger scribe.Emitter, clock chronos.Clock, ) packit.BuildFunc
func Detect ¶
func Detect(buildpackYMLParser 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 DependencyManager ¶
type DependencyManager interface { Deliver(dependency postal.Dependency, cnbPath, layerPath, platformPath string) error GenerateBillOfMaterials(dependencies ...postal.Dependency) []packit.BOMEntry }
type DotnetSymlinker ¶
type EntryResolver ¶
type RuntimeVersionResolver ¶
type RuntimeVersionResolver struct {
// contains filtered or unexported fields
}
func NewRuntimeVersionResolver ¶
func NewRuntimeVersionResolver(logger scribe.Emitter) RuntimeVersionResolver
func (RuntimeVersionResolver) Resolve ¶
func (r RuntimeVersionResolver) Resolve(path string, entry packit.BuildpackPlanEntry, stack string) (postal.Dependency, error)
type SBOMGenerator ¶ added in v0.8.0
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.