cache

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 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) Load

func (c *Cache) Load(ctx context.Context, lm herd.LoadingMessage) (herd.Hosts, 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