Help us shape the future of Go! Take the 2026 Go Developer Survey

supply

package
v1.8.25 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 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