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

cache

package
v1.6.18 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Stager               Stager
	Command              Command
	Log                  *libbuildpack.Logger
	NodeVersion          string
	NPMVersion           string
	YarnVersion          string
	Prebuild             string
	PackageJSONCacheDirs []string
}

func (*Cache) Initialize

func (c *Cache) Initialize() error

func (*Cache) Restore

func (c *Cache) Restore() error

func (*Cache) Save

func (c *Cache) Save() error

type Command

type Command interface {
	Execute(string, io.Writer, io.Writer, string, ...string) error
}

type Stager

type Stager interface {
	BuildDir() string
	CacheDir() string
	ClearCache() error
}

Jump to

Keyboard shortcuts

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