Documentation ¶
Index ¶
- Constants
- func Build(buildEnvironment BuildEnvironment, entries EntryResolver, ...) packit.BuildFunc
- func Detect(buildEnvironment BuildEnvironment, parser Parser) packit.DetectFunc
- type BindingResolver
- type BuildEnvironment
- type BuildPlanMetadata
- type DependencyService
- type EntryResolver
- type GenerateConfig
- type GenerateHTTPDConfig
- type Parser
- type SBOMGenerator
- type VersionParser
Constants ¶
View Source
const PlanDependencyHTTPD = "httpd"
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( buildEnvironment BuildEnvironment, entries EntryResolver, dependencies DependencyService, generateConfig GenerateConfig, sbomGenerator SBOMGenerator, clock chronos.Clock, logger scribe.Emitter, ) packit.BuildFunc
func Detect ¶
func Detect(buildEnvironment BuildEnvironment, parser Parser) packit.DetectFunc
Types ¶
type BindingResolver ¶ added in v0.4.0
type BindingResolver interface {
Resolve(typ, provider, platformDir string) ([]servicebindings.Binding, error)
}
type BuildEnvironment ¶ added in v0.4.1
type BuildEnvironment struct { BasicAuthFile string HTTPDVersion string `env:"BP_HTTPD_VERSION"` Reload bool `env:"BP_LIVE_RELOAD_ENABLED"` WebServer string `env:"BP_WEB_SERVER"` WebServerForceHTTPS bool `env:"BP_WEB_SERVER_FORCE_HTTPS"` WebServerPushStateEnabled bool `env:"BP_WEB_SERVER_ENABLE_PUSH_STATE"` WebServerRoot string `env:"BP_WEB_SERVER_ROOT"` }
type BuildPlanMetadata ¶
type DependencyService ¶
type DependencyService interface { Resolve(path, name, version, stack string) (postal.Dependency, error) Deliver(dependency postal.Dependency, cnbPath, layerPath, platformPath string) error GenerateBillOfMaterials(dependencies ...postal.Dependency) []packit.BOMEntry }
type EntryResolver ¶ added in v0.0.169
type GenerateConfig ¶ added in v0.4.0
type GenerateConfig interface {
Generate(workingDir, platformPath string, buildEnvironment BuildEnvironment) error
}
type GenerateHTTPDConfig ¶ added in v0.4.0
type GenerateHTTPDConfig struct {
// contains filtered or unexported fields
}
func NewGenerateHTTPDConfig ¶ added in v0.4.0
func NewGenerateHTTPDConfig(bindingResolver BindingResolver, logger scribe.Emitter) GenerateHTTPDConfig
func (GenerateHTTPDConfig) Generate ¶ added in v0.4.0
func (g GenerateHTTPDConfig) Generate(workingDir, platformPath string, buildEnvironment BuildEnvironment) error
type SBOMGenerator ¶ added in v0.5.0
type VersionParser ¶ added in v0.0.167
type VersionParser struct{}
func NewVersionParser ¶ added in v0.0.167
func NewVersionParser() VersionParser
func (VersionParser) ParseVersion ¶ added in v0.0.167
func (v VersionParser) ParseVersion(path string) (string, string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.