appd

package
v4.0.0-...-c8b5d0b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VersionDirectory

func VersionDirectory(layer libcnb.Layer) (string, error)

Types

type Build

type Build struct {
	Logger bard.Logger
}

func (Build) Build

func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)

type Detect

type Detect struct {
	Logger bard.Logger
}

func (Detect) Detect

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

type JavaAgent

type JavaAgent struct {
	AgentDependency                 libpak.BuildpackDependency
	BuildpackPath                   string
	ConfigurationResolver           libpak.ConfigurationResolver
	DependencyCache                 libpak.DependencyCache
	ExternalConfigurationDependency *libpak.BuildpackDependency
	LayerContributor                libpak.LayerContributor
	Logger                          bard.Logger
}

func NewJavaAgent

func NewJavaAgent(buildpackPath string, agentDependency libpak.BuildpackDependency, configurationResolver libpak.ConfigurationResolver, externalConfigurationDependency *libpak.BuildpackDependency, cache libpak.DependencyCache) (JavaAgent, []libcnb.BOMEntry)

func (JavaAgent) Contribute

func (j JavaAgent) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (JavaAgent) ContributeAgent

func (j JavaAgent) ContributeAgent(layer libcnb.Layer) error

func (JavaAgent) ContributeConfiguration

func (j JavaAgent) ContributeConfiguration(layer libcnb.Layer) error

func (JavaAgent) ContributeExternalConfiguration

func (j JavaAgent) ContributeExternalConfiguration(layer libcnb.Layer) error

func (JavaAgent) Name

func (JavaAgent) Name() string

type NodeJSAgent

type NodeJSAgent struct {
	ApplicationPath  string
	BuildpackPath    string
	Executor         effect.Executor
	LayerContributor libpak.DependencyLayerContributor
	Logger           bard.Logger
}

func NewNodeJSAgent

func NewNodeJSAgent(applicationPath string, buildpackPath string, dependency libpak.BuildpackDependency, cache libpak.DependencyCache) (NodeJSAgent, libcnb.BOMEntry)

func (NodeJSAgent) Contribute

func (n NodeJSAgent) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (NodeJSAgent) Name

func (n NodeJSAgent) Name() string

type PHPAgent

type PHPAgent struct {
	Executor         effect.Executor
	LayerContributor libpak.DependencyLayerContributor
	Logger           bard.Logger
}

func NewPHPAgent

func NewPHPAgent(dependency libpak.BuildpackDependency, cache libpak.DependencyCache) (PHPAgent, libcnb.BOMEntry)

func (PHPAgent) Contribute

func (p PHPAgent) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (PHPAgent) Name

func (p PHPAgent) Name() string

Jump to

Keyboard shortcuts

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