supply

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 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 Apt

type Apt interface {
	Setup() error
	HasKeys() bool
	HasRepos() bool
	AddKeys() error
	AddRepos() error
	Update() error
	DownloadAll() error
	InstallAll() error
	Clean() error
	HasClean() bool
}

type Stager

type Stager interface {
	LinkDirectoryInDepDir(string, string) error
	DepDir() string
	CacheDir() string
}

type Supplier

type Supplier struct {
	Stager Stager
	Log    *libbuildpack.Logger
	Apt    Apt
}

func New

func New(stager Stager, apt Apt, logger *libbuildpack.Logger) *Supplier

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