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

supply

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.0.3

type Config struct {
	Version string `yaml:"version"`
}

type Manifest

type Manifest interface {
	InstallOnlyVersion(string, string) error
	DefaultVersion(depName string) (libbuildpack.Dependency, error)
	AllDependencyVersions(string) []string
	InstallDependency(dep libbuildpack.Dependency, outputDir string) error
	RootDir() string
}

type Stager

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

type Supplier

type Supplier struct {
	Stager       Stager
	Manifest     Manifest
	Log          *libbuildpack.Logger
	Config       Config
	VersionLines map[string]string
}

func New

func New(stager Stager, manifest Manifest, logger *libbuildpack.Logger) *Supplier

func (*Supplier) InstallNginx added in v0.0.3

func (s *Supplier) InstallNginx() error

func (*Supplier) InstallVarify added in v0.0.3

func (s *Supplier) InstallVarify() error

func (*Supplier) Run

func (s *Supplier) Run() error

func (*Supplier) Setup added in v0.0.3

func (s *Supplier) Setup() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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