Documentation ¶
Index ¶
- Constants
- Variables
- func Build(entryResolver EntryResolver, dependencyMapper DependencyMapper, ...) packit.BuildFunc
- func Detect(buildpackYMLParser BuildpackYMLParser) packit.DetectFunc
- type BuildpackYMLParser
- type DependencyManager
- type DependencyMapper
- type DotnetSymlinker
- type EntryResolver
- type RuntimeToSdks
- type SBOMGenerator
- type SDKVersionMapper
- type SdkVersionParser
- type Symlinker
Constants ¶
View Source
const (
DotnetDependency = "dotnet-sdk"
)
Variables ¶
View Source
var Priorities = []interface{}{
"RUNTIME_VERSION",
"buildpack.yml",
"global.json",
"runtimeconfig.json",
"",
}
Functions ¶
func Build ¶
func Build(entryResolver EntryResolver, dependencyMapper DependencyMapper, dependencyManager DependencyManager, dotnetSymlinker DotnetSymlinker, sbomGenerator SBOMGenerator, logger scribe.Emitter, clock chronos.Clock, ) packit.BuildFunc
func Detect ¶
func Detect(buildpackYMLParser BuildpackYMLParser) packit.DetectFunc
Types ¶
type BuildpackYMLParser ¶
type DependencyManager ¶
type DependencyManager interface { Resolve(path, id, version, stack string) (postal.Dependency, error) Deliver(dependency postal.Dependency, cnbPath, layerPath, platformPath string) error GenerateBillOfMaterials(dependencies ...postal.Dependency) []packit.BOMEntry }
type DependencyMapper ¶
type DotnetSymlinker ¶
type EntryResolver ¶
type RuntimeToSdks ¶
type SBOMGenerator ¶ added in v0.7.0
type SDKVersionMapper ¶
type SDKVersionMapper struct {
// contains filtered or unexported fields
}
func NewSDKVersionMapper ¶
func NewSDKVersionMapper(logger scribe.Emitter) SDKVersionMapper
func (SDKVersionMapper) FindCorrespondingVersion ¶
func (r SDKVersionMapper) FindCorrespondingVersion(path, versionKey string) (string, error)
type SdkVersionParser ¶
type SdkVersionParser struct{}
func NewSdkVersionParser ¶
func NewSdkVersionParser() SdkVersionParser
Source Files ¶
Click to show internal directories.
Click to hide internal directories.