finalize

package
v3.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/command.go
	Execute(string, io.Writer, io.Writer, string, ...string) error
	Output(dir string, program string, args ...string) (string, error)
}

type Finalizer

type Finalizer struct {
	BuildDir   string
	Manifest   Manifest
	Stager     Stager
	Command    Command
	Harmonizer Harmonizer
	Log        *libbuildpack.Logger
}

func (*Finalizer) Run

func (f *Finalizer) Run() error

type Harmonizer

type Harmonizer interface {
	CheckWebConfig() error
	LinkLegacyHwc() error
}

type HarmonizerImpl

type HarmonizerImpl struct {
	Log      *libbuildpack.Logger
	BuildDir string
	DepDir   string
}

move to hwc package and rename to just Hwc

func NewHarmonizer

func NewHarmonizer(logger *libbuildpack.Logger, buildDir, depDir string) *HarmonizerImpl

func (*HarmonizerImpl) CheckWebConfig

func (h *HarmonizerImpl) CheckWebConfig() error

func (*HarmonizerImpl) LinkLegacyHwc

func (h *HarmonizerImpl) LinkLegacyHwc() error

type Installer

type Installer interface {
	//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/installer.go
	InstallDependency(libbuildpack.Dependency, string) error
	InstallOnlyVersion(string, string) error
}

type Manifest

type Manifest interface {
	//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/manifest.go
	AllDependencyVersions(string) []string
	DefaultVersion(string) (libbuildpack.Dependency, error)
}

type Stager

type Stager interface {
	//TODO: See more options at https://github.com/cloudfoundry/libbuildpack/blob/master/stager.go
	BuildDir() string
	DepDir() string
	DepsIdx() string
	DepsDir() string
	AddBinDependencyLink(string, string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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