finalize

package
v1.6.15 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(f *Finalizer) error

Types

type Command

type Command interface {
	Execute(string, io.Writer, io.Writer, string, ...string) error
	Output(dir string, program string, args ...string) (string, error)
}

type Finalizer

type Finalizer struct {
	Stager         Stager
	Log            *libbuildpack.Logger
	Logfile        *os.File
	Manifest       Manifest
	Command        Command
	ManagePyFinder ManagePyFinder
}

func (*Finalizer) HandleCollectstatic

func (f *Finalizer) HandleCollectstatic() error

func (*Finalizer) ReplaceDepsDirWithLiteral

func (f *Finalizer) ReplaceDepsDirWithLiteral() error

func (*Finalizer) ReplaceLiteralWithDepsDirAtRuntime

func (f *Finalizer) ReplaceLiteralWithDepsDirAtRuntime() error

type ManagePyFinder

type ManagePyFinder interface {
	FindManagePy(dir string) (string, error)
}

type Manifest

type Manifest interface {
	RootDir() string
}

type Stager

type Stager interface {
	BuildDir() string
	DepDir() string
	DepsIdx() string
	WriteProfileD(string, string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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