packagers

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executable

type Executable interface {
	Execute(pexec.Execution) error
}

type Jam

type Jam struct {
	// contains filtered or unexported fields
}

jam is a packager that builds packit buildpacks' source code into tarballs. This type wraps the jam executable, and implements the freezer.Packager interface, and can therefore be passed as an argument to occam.BuildpackStore.WithPackager().

func NewJam

func NewJam() Jam

func (Jam) Execute

func (j Jam) Execute(buildpackDir, output, version string, offline bool) error

func (Jam) WithExecutable

func (j Jam) WithExecutable(executable Executable) Jam

type Libpak

type Libpak struct {
	// contains filtered or unexported fields
}

create-package is a packager that builds libpak buildpacks' source code into tarballs. This type wraps that packaging tool. Libpak implements the freezer.Packager interface, and can therefore be passed as an argument to occam.BuildpackStore.WithPackager().

func NewLibpak

func NewLibpak() Libpak

func (Libpak) Execute

func (l Libpak) Execute(buildpackDir, output, version string, cached bool) error

func (Libpak) WithExecutable

func (l Libpak) WithExecutable(executable Executable) Libpak

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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