supply

package
v1.8.29 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(gs *Supplier) error

Types

type Installer added in v1.8.23

type Installer interface {
	InstallDependency(libbuildpack.Dependency, string) error
	InstallOnlyVersion(string, string) error
}

type Manifest

type Manifest interface {
	AllDependencyVersions(string) []string
	DefaultVersion(string) (libbuildpack.Dependency, error)
}

type Stager

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

type Supplier

type Supplier struct {
	Stager     Stager
	Manifest   Manifest
	Installer  Installer
	Log        *libbuildpack.Logger
	VendorTool string
	GoVersion  string
	Godep      godep.Godep
}

func (*Supplier) InstallGo

func (gs *Supplier) InstallGo() error

func (*Supplier) InstallVendorTools

func (gs *Supplier) InstallVendorTools() error

func (*Supplier) SelectGoVersion

func (gs *Supplier) SelectGoVersion() error

func (*Supplier) SelectVendorTool

func (gs *Supplier) SelectVendorTool() error

func (*Supplier) WriteConfigYml

func (gs *Supplier) WriteConfigYml() error

func (*Supplier) WriteGoRootToProfileD

func (gs *Supplier) WriteGoRootToProfileD() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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