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

supply

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 4 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