Documentation ¶
Index ¶
Constants ¶
View Source
const ( PlanEntryLiberty = "liberty" PlanEntryJRE = "jre" PlanEntryJVMApplicationPackage = "jvm-application-package" PlanEntryJavaAppServer = "java-app-server" PlanEntrySyft = "syft" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct { BuildpackPath string ConfigurationResolver libpak.ConfigurationResolver DependencyCache libpak.DependencyCache ExternalConfigurationDependency *libpak.BuildpackDependency LayerContributor libpak.LayerContributor Logger bard.Logger ServerName string }
func NewBase ¶
func NewBase( buildpackPath string, serverName string, externalConfigurationDependency *libpak.BuildpackDependency, configurationResolver libpak.ConfigurationResolver, cache libpak.DependencyCache, ) Base
func (Base) ContributeConfigTemplates ¶
func (Base) ContributeExternalConfiguration ¶
type Build ¶
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 Distribution ¶
type Distribution struct { ApplicationPath string Executor effect.Executor Features []string IFixes []string LayerContributor libpak.DependencyLayerContributor Logger bard.Logger ServerName string }
func NewDistribution ¶
func NewDistribution( dependency libpak.BuildpackDependency, cache libpak.DependencyCache, serverName string, applicationPath string, features []string, ifixes []string, executor effect.Executor, ) Distribution
func (Distribution) Contribute ¶
func (Distribution) Name ¶
func (d Distribution) Name() string
type FeatureDescriptor ¶
func ReadFeatureDescriptor ¶
func ReadFeatureDescriptor(configRoot string, logger bard.Logger) (*FeatureDescriptor, error)
func (*FeatureDescriptor) ResolveFeatures ¶
func (d *FeatureDescriptor) ResolveFeatures() error
type FeatureInstaller ¶
type FeatureInstaller struct { RuntimeRootPath string ServerName string TemplatePath string Features []*Feature }
func NewFeatureInstaller ¶
func NewFeatureInstaller(runtimeRootPath, serverName, templatePath string, features []*Feature) FeatureInstaller
func (FeatureInstaller) Install ¶
func (i FeatureInstaller) Install() error
Install the user features into the Liberty server.
Click to show internal directories.
Click to hide internal directories.