Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigNativeImageArgs = "BP_NATIVE_IMAGE_BUILD_ARGUMENTS" DeprecatedConfigNativeImageArgs = "BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS" CompressorUpx = "upx" CompressorGzexe = "gzexe" CompressorNone = "none" )
View Source
const ( ConfigNativeImage = "BP_NATIVE_IMAGE" DeprecatedConfigNativeImage = "BP_BOOT_NATIVE_IMAGE" BinaryCompressionMethod = "BP_BINARY_COMPRESSION_METHOD" PlanEntryNativeImage = "native-image-application" PlanEntryNativeProcessed = "native-processed" PlanEntryNativeImageBuilder = "native-image-builder" PlanEntryJVMApplication = "jvm-application" PlanEntrySpringBoot = "spring-boot" PlanEntryUpx = "upx" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaselineArguments ¶
type BaselineArguments struct {
StackID string
}
BaselineArguments provides a set of arguments that are always set
type Build ¶
type Build struct { Logger bard.Logger SBOMScanner sbom.SBOMScanner }
func (Build) Build ¶
func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)
type Detect ¶
func (Detect) Detect ¶
func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)
type ExplodedJarArguments ¶
type ExplodedJarArguments struct { ApplicationPath string LayerPath string Manifest *properties.Properties }
ExplodedJarArguments provides a set of arguments specific to building from an exploded jar directory
type JarArguments ¶
JarArguments provides a set of arguments specific to building from a jar file
type NativeImage ¶
type NativeImage struct { ApplicationPath string Arguments string ArgumentsFile string Executor effect.Executor JarFilePattern string Logger bard.Logger Manifest *properties.Properties StackID string Compressor string }
func NewNativeImage ¶
func NewNativeImage(applicationPath string, arguments string, argumentsFile string, compressor string, jarFilePattern string, manifest *properties.Properties, stackID string) (NativeImage, error)
func (NativeImage) Contribute ¶
func (NativeImage) Name ¶
func (NativeImage) Name() string
func (NativeImage) ProcessArguments ¶
type NoStartOrMainClass ¶
type NoStartOrMainClass struct{}
NoStartOrMainClass is an error returned when a start or main class cannot be found
func (NoStartOrMainClass) Error ¶
func (e NoStartOrMainClass) Error() string
type UserArguments ¶
type UserArguments struct {
Arguments string
}
UserArguments augments the existing arguments with those provided by the end user
type UserFileArguments ¶
type UserFileArguments struct {
ArgumentsFile string
}
UserFileArguments augments the existing arguments with those provided by the end user through a file
Click to show internal directories.
Click to hide internal directories.