tomcat

package
v7.16.3 Latest Latest
Warning

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

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

Documentation

Index

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) Contribute

func (b Base) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Base) ContributeAccessLogging

func (b Base) ContributeAccessLogging(layer libcnb.Layer) error

func (Base) ContributeConfiguration

func (b Base) ContributeConfiguration(layer libcnb.Layer) error

func (Base) ContributeExternalConfiguration

func (b Base) ContributeExternalConfiguration(layer libcnb.Layer) error

func (Base) ContributeLifecycle

func (b Base) ContributeLifecycle(layer libcnb.Layer) error

func (Base) ContributeLogging

func (b Base) ContributeLogging(layer libcnb.Layer) error

func (Base) Name

func (Base) Name() string

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

type Detect struct {
	Logger bard.Logger
}

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)

func (Home) Contribute

func (h Home) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Home) Name

func (h Home) Name() string

Jump to

Keyboard shortcuts

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