Documentation ¶
Index ¶
- Constants
- type Base
- func (b Base) Contribute(layer libcnb.Layer) (libcnb.Layer, error)
- func (b Base) ContributeAccessLogging(layer libcnb.Layer) error
- func (b Base) ContributeConfiguration(layer libcnb.Layer) error
- func (b Base) ContributeExternalConfiguration(layer libcnb.Layer) error
- func (b Base) ContributeLifecycle(layer libcnb.Layer) error
- func (b Base) ContributeLogging(layer libcnb.Layer) error
- func (Base) Name() string
- type Build
- type Detect
- type Home
Constants ¶
View Source
const ( PlanEntryJVMApplication = "jvm-application" PlanEntryJVMApplicationPackage = "jvm-application-package" PlanEntryJRE = "jre" PlanEntrySyft = "syft" PlanEntryJavaApplicationServer = "java-app-server" JavaAppServerTomcat = "tomcat" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { AccessLoggingDependency libpak.BuildpackDependency ApplicationPath string BuildpackPath string ConfigurationResolver libpak.ConfigurationResolver ContextPath string DependencyCache libpak.DependencyCache ExternalConfigurationDependency *libpak.BuildpackDependency LayerContributor libpak.LayerContributor LifecycleDependency libpak.BuildpackDependency LoggingDependency libpak.BuildpackDependency Logger bard.Logger WarFilesExist bool }
func NewBase ¶
func NewBase( applicationPath string, buildpackPath string, configurationResolver libpak.ConfigurationResolver, contextPath string, accessLoggingDependency libpak.BuildpackDependency, externalConfigurationDependency *libpak.BuildpackDependency, lifecycleDependency libpak.BuildpackDependency, loggingDependency libpak.BuildpackDependency, cache libpak.DependencyCache, warFilesExist bool, ) (Base, []libcnb.BOMEntry)
func (Base) ContributeAccessLogging ¶
func (Base) ContributeConfiguration ¶
func (Base) ContributeExternalConfiguration ¶
type Build ¶
type Build struct { Logger bard.Logger SBOMScanner sbom.SBOMScanner }
func (Build) Build ¶
func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)
func (Build) ContextPath ¶
func (b Build) ContextPath(configurationResolver libpak.ConfigurationResolver) string
type Detect ¶
func (Detect) Detect ¶
func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)
type Home ¶
type Home struct { LayerContributor libpak.DependencyLayerContributor Logger bard.Logger }
func NewHome ¶
func NewHome(dependency libpak.BuildpackDependency, cache libpak.DependencyCache) (Home, libcnb.BOMEntry)
Click to show internal directories.
Click to hide internal directories.