cache

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCacheDisabled = errors.New("cache is disabled")
	ErrChartNotFound = errors.New("chart not found")
)
View Source
var ChartsCache = Config{}

Functions

This section is empty.

Types

type Config added in v0.28.1

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

func (*Config) AddToCache added in v0.28.1

func (c *Config) AddToCache(file string)

func (*Config) FindInCache added in v0.28.1

func (c *Config) FindInCache(chart, version string) (string, error)

func (*Config) Init added in v0.28.1

func (c *Config) Init(dir string) error

func (*Config) IsEnabled added in v0.28.1

func (c *Config) IsEnabled() bool

type NotCreatedError added in v0.30.2

type NotCreatedError struct {
	Err error
	Dir string
}

func (NotCreatedError) Error added in v0.30.2

func (err NotCreatedError) Error() string

func (NotCreatedError) Is added in v0.30.2

func (NotCreatedError) Is(target error) bool

func (NotCreatedError) Unwrap added in v0.30.2

func (err NotCreatedError) Unwrap() error

Jump to

Keyboard shortcuts

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