leo

package
v0.3.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PlanEntryLeo = "leo"
)

Variables

This section is empty.

Functions

This section is empty.

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 {
}

func (Detect) Detect

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

type Leo

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

Leo will handle installing the `leo` tool & adding it to the PATH

func NewLeo

func NewLeo(dependency libpak.BuildpackDependency, cache libpak.DependencyCache) Leo

func (Leo) Contribute

func (r Leo) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Leo) Execute added in v0.1.4

func (r Leo) Execute(command string, args []string) (*bytes.Buffer, error)

func (Leo) Name

func (r Leo) Name() string

Jump to

Keyboard shortcuts

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