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: Mar 21, 2018 License: Apache-2.0 Imports: 9 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 {
	Run(cmd *exec.Cmd) error
}

type Manifest

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

type Package

type Package struct {
	Name string `yaml:"name"`
}

type Packages

type Packages struct {
	Packages []Source `yaml:"packages"`
}

type Source

type Source struct {
	CranMirror string    `yaml:"cran_mirror"`
	Packages   []Package `yaml:"packages"`
}

type Stager

type Stager interface {
	BuildDir() string
	DepDir() string
	DepsDir() string
	DepsIdx() string
	LinkDirectoryInDepDir(string, string) error
}

type Supplier

type Supplier struct {
	Stager   Stager
	Manifest Manifest
	Command  Command
	Log      *libbuildpack.Logger
}

func New

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

func (*Supplier) InstallPackages

func (s *Supplier) InstallPackages(packages_to_install Packages) error

func (*Supplier) InstallR

func (s *Supplier) InstallR() error

func (*Supplier) RewriteRHome

func (s *Supplier) RewriteRHome() error

R> .libPaths()

func (*Supplier) Run

func (s *Supplier) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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