supply

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v0.0.5

type Command interface {
	Execute(string, io.Writer, io.Writer, string, ...string) error
	Output(string, string, ...string) (string, error)
	Run(cmd *exec.Cmd) error
}

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
	DepsIdx() string
	DepsDir() string
	BuildDir() string
	WriteProfileD(string, string) error
}

type Supplier

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

func New

func New(stager Stager, manifest Manifest, logger *libbuildpack.Logger, command Command) *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

func (*Supplier) WriteProfileD added in v0.0.5

func (s *Supplier) WriteProfileD() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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