executable

package
v6.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanEntryJVMApplication        = "jvm-application"
	PlanEntryJVMApplicationPackage = "jvm-application-package"
	PlanEntryJRE                   = "jre"
	PlanEntryWatchexec             = "watchexec"
	PlanEntrySyft                  = "syft"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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 ClassPath

type ClassPath struct {
	ClassPath        []string
	Launch           bool
	LayerContributor libpak.LayerContributor
	Logger           bard.Logger
}

func NewClassPath

func NewClassPath(classpath []string, launch bool) ClassPath

func (ClassPath) Contribute

func (c ClassPath) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (ClassPath) Name

func (ClassPath) Name() string

type Detect

type Detect struct {
	Logger bard.Logger
}

func (Detect) Detect

func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)

type ExecutableJAR added in v6.2.0

type ExecutableJAR struct {
	MainClass   string
	Path        string
	Properties  *properties.Properties
	Executable  bool
	ExplodedJAR bool
}

func LoadExecutableJAR added in v6.2.0

func LoadExecutableJAR(appPath string, executableJarGlob string) (ExecutableJAR, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL