cache

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 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 Cache

type Cache struct {
	// contains filtered or unexported fields
}

func New

func New(binarName string, archiveURL string, destDir string) *Cache

func NewGoodhostsCache

func NewGoodhostsCache(destDir string) *Cache

func NewOcCache

func NewOcCache(destDir string) *Cache

func NewPodmanCache

func NewPodmanCache(destDir string) *Cache

func (*Cache) CacheBinary

func (c *Cache) CacheBinary() error

CacheBinary downloads and caches the requested binary into the CRC directory

func (*Cache) EnsureIsCached

func (c *Cache) EnsureIsCached() error

func (*Cache) IsCached

func (c *Cache) IsCached() bool

Jump to

Keyboard shortcuts

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