Documentation
¶
Index ¶
Constants ¶
View Source
const ( GoLayerName = "go" GoModLocation = "go.mod" )
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(buildProcess BuildProcess, logs scribe.Emitter, clock chronos.Clock, sbomGenerator SBOMGenerator) packit.BuildFunc
func Detect ¶
func Detect(goModParser VersionParser) packit.DetectFunc
Types ¶
type BuildPlanMetadata ¶
type BuildProcess ¶
type Executable ¶
type GoModParser ¶
type GoModParser struct{}
func NewGoModParser ¶
func NewGoModParser() GoModParser
func (GoModParser) ParseVersion ¶
func (p GoModParser) ParseVersion(path string) (string, error)
type ModVendor ¶
type ModVendor struct {
// contains filtered or unexported fields
}
func NewModVendor ¶
type VersionParser ¶
Click to show internal directories.
Click to hide internal directories.