glow

package
v0.0.0-...-86d10e1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const ExecutableName = "cnb2cf"

Variables

View Source
var PackagerBuildpackRegexp = regexp.MustCompile(`Packaged Shimmed Buildpack at: ([\w-\.^]*.zip)`)

Functions

This section is empty.

Types

type Archiver

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

func NewArchiver

func NewArchiver(packager Packager) Archiver

func (Archiver) Archive

func (a Archiver) Archive(dir, stack, tag string, cached bool) (string, error)

type CLI

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

func NewCLI

func NewCLI(executable Executable) CLI

func (CLI) Package

func (c CLI) Package(dir, stack string, options PackageOptions) (string, string, error)

type Executable

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

type PackageOptions

type PackageOptions struct {
	Cached       bool
	Dev          bool
	ManifestPath string
	Version      string
}

type Packager

type Packager interface {
	Package(dir string, stack string, options PackageOptions) (stdout string, stderr string, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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