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

supply

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 10 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 Installer added in v0.0.4

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

type Manifest

type Manifest interface {
	AllDependencyVersions(string) []string
}

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"`
	Ncpus      int       `yaml:"num_threads"`
}

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
	Installer Installer
	Command   Command
	Log       *libbuildpack.Logger
}

func New

func New(stager Stager, command Command, manifest Manifest, installer Installer, 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