Documentation ¶
Index ¶
- func NewFromProvider(p herd.HostProvider) herd.HostProvider
- type Cache
- func (c *Cache) Equivalent(p herd.HostProvider) bool
- func (c *Cache) Invalidate()
- func (c *Cache) Keep()
- func (c *Cache) Load(ctx context.Context, lm herd.LoadingMessage) (*herd.HostSet, error)
- func (c *Cache) Name() string
- func (c *Cache) ParseViper(v *viper.Viper) error
- func (c *Cache) Prefix() string
- func (c *Cache) SetCacheDir(dir string)
- func (c *Cache) Source() herd.HostProvider
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) SetCacheDir ¶
func (*Cache) Source ¶
func (c *Cache) Source() herd.HostProvider
Click to show internal directories.
Click to hide internal directories.