Documentation ¶
Index ¶
Constants ¶
View Source
const (
DotnetDependency = "dotnet-sdk"
)
Variables ¶
View Source
var Priorities = []interface{}{ "BP_DOTNET_FRAMEWORK_VERSION", "buildpack.yml", "global.json", regexp.MustCompile(`.*\.(cs)|(fs)|(vb)proj`), "runtimeconfig.json", "", }
Functions ¶
func Build ¶
func Build(entryResolver EntryResolver, dependencyManager DependencyManager, 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 EntryResolver ¶
type SBOMGenerator ¶ added in v0.7.0
type SdkVersionParser ¶
type SdkVersionParser struct{}
func NewSdkVersionParser ¶
func NewSdkVersionParser() SdkVersionParser
Click to show internal directories.
Click to hide internal directories.