cache

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromProvider

func NewFromProvider(p herd.HostProvider) herd.HostProvider

Types

type Cache

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

func (*Cache) Equivalent

func (c *Cache) Equivalent(p herd.HostProvider) bool

func (*Cache) Invalidate

func (c *Cache) Invalidate()

func (*Cache) Keep added in v0.10.0

func (c *Cache) Keep()

func (*Cache) Load

func (c *Cache) Load(ctx context.Context, lm herd.LoadingMessage) (*herd.HostSet, error)

func (*Cache) Name

func (c *Cache) Name() string

func (*Cache) ParseViper

func (c *Cache) ParseViper(v *viper.Viper) error

func (*Cache) Prefix

func (c *Cache) Prefix() string

func (*Cache) SetCacheDir

func (c *Cache) SetCacheDir(dir string)

func (*Cache) Source

func (c *Cache) Source() herd.HostProvider

Jump to

Keyboard shortcuts

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