Documentation ¶
Overview ¶
Package worker implements the worker side of Mettle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
A Cache implements a filesystem-based blob cache. Since all the blobs are keyed by hash we don't have to worry about invalidation. In normal use the server never writes it; we prefill a selected artifact list offline.
func (*Cache) MustStoreAll ¶
func (c *Cache) MustStoreAll(instanceName string, targets []string, storage string, secureStorage bool)
MustStoreAll is like StoreAll but dies on errors.
Click to show internal directories.
Click to hide internal directories.