cache

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 7 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 {
	// contains filtered or unexported fields
}

Cache represents the location that a build system caches its downloaded artifacts for reuse.

func NewCache

func NewCache(build build.Build, destination string) (Cache, error)

NewCache creates a new Cache instance.

func NewGradleCache

func NewGradleCache(build build.Build) (Cache, error)

NewGradleCache creates a new Cache instance for Gradle.

func NewMavenCache

func NewMavenCache(build build.Build) (Cache, error)

NewMavenCache creates a new Cache instance for Maven.

func (Cache) Contribute

func (c Cache) Contribute() error

Contribute links the cache layer to the destination if it does not already exist.

Jump to

Keyboard shortcuts

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