Documentation ¶
Index ¶
- func Build(config Configuration, sourceRemover SourceRemover, ...) packit.BuildFunc
- func Detect(config Configuration, parser ProjectParser) packit.DetectFunc
- type BindingResolver
- type BuildPlanMetadata
- type Configuration
- type DotnetPublishProcess
- type DotnetSourceRemover
- type Executable
- type OutputSlicer
- type ProjectFileParser
- type ProjectParser
- type PublishProcess
- type SBOMGenerator
- type Slicer
- type SourceRemover
- type SymlinkManager
- type Symlinker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( config Configuration, sourceRemover SourceRemover, bindingResolver BindingResolver, homeDir string, symlinker SymlinkManager, publishProcess PublishProcess, slicer Slicer, clock chronos.Clock, logger scribe.Emitter, sbomGenerator SBOMGenerator, ) packit.BuildFunc
func Detect ¶
func Detect(config Configuration, parser ProjectParser) packit.DetectFunc
Types ¶
type BindingResolver ¶ added in v0.6.0
type BindingResolver interface {
Resolve(typ, provider, platformDir string) ([]servicebindings.Binding, error)
}
type BuildPlanMetadata ¶
type Configuration ¶ added in v0.9.1
type Configuration struct { LogLevel string `env:"BP_LOG_LEVEL"` DebugEnabled bool `env:"BP_DEBUG_ENABLED"` DisableOutputSlicing bool `env:"BP_DOTNET_DISABLE_BUILDPACK_OUTPUT_SLICING"` ProjectPath string `env:"BP_DOTNET_PROJECT_PATH"` PublishFlags []string RawPublishFlags string `env:"BP_DOTNET_PUBLISH_FLAGS"` }
type DotnetPublishProcess ¶
type DotnetPublishProcess struct {
// contains filtered or unexported fields
}
func NewDotnetPublishProcess ¶
func NewDotnetPublishProcess(executable Executable, logger scribe.Emitter, clock chronos.Clock) DotnetPublishProcess
type DotnetSourceRemover ¶ added in v0.1.1
type DotnetSourceRemover struct{}
func NewDotnetSourceRemover ¶ added in v0.1.1
func NewDotnetSourceRemover() DotnetSourceRemover
type Executable ¶
type OutputSlicer ¶ added in v0.7.3
type OutputSlicer struct{}
func NewOutputSlicer ¶ added in v0.7.3
func NewOutputSlicer() OutputSlicer
func (OutputSlicer) Slice ¶ added in v0.7.3
func (s OutputSlicer) Slice(assetsFile string) (pkgs, earlyPkgs, projects packit.Slice, err error)
type ProjectFileParser ¶ added in v0.0.122
type ProjectFileParser struct{}
func NewProjectFileParser ¶ added in v0.0.122
func NewProjectFileParser() ProjectFileParser
func (ProjectFileParser) FindProjectFile ¶ added in v0.3.1
func (p ProjectFileParser) FindProjectFile(path string) (string, error)
func (ProjectFileParser) NPMIsRequired ¶ added in v0.0.122
func (p ProjectFileParser) NPMIsRequired(path string) (bool, error)
func (ProjectFileParser) NodeIsRequired ¶ added in v0.0.122
func (p ProjectFileParser) NodeIsRequired(path string) (bool, error)
func (ProjectFileParser) ParseVersion ¶ added in v0.9.0
func (p ProjectFileParser) ParseVersion(path string) (string, error)
type ProjectParser ¶
type PublishProcess ¶
type SBOMGenerator ¶ added in v0.10.0
type SourceRemover ¶ added in v0.1.1
type SymlinkManager ¶ added in v0.6.0
type Symlinker ¶ added in v0.6.0
type Symlinker struct{}
func NewSymlinker ¶ added in v0.6.0
func NewSymlinker() Symlinker
Source Files ¶
Click to show internal directories.
Click to hide internal directories.