Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalCache ¶ added in v0.2.1
NewLocalCache creates a cache backed by the given workspace.
Types ¶
type Options ¶
type Options struct {
Store repo.Store
MatrixStr string
// RunTest, when true, causes Build to invoke OnTest on the root target
// after OnBuild (or after reusing cached build metadata). The build
// cache is consulted as usual: on a cache hit the root's OnBuild is
// skipped and OnTest runs against the cached artifacts; on a cache
// miss OnBuild runs and the fresh metadata is cached before OnTest.
// Transitive dependencies honor the cache normally and do not have
// their OnTest hooks triggered.
RunTest bool
Stdout io.Writer
Stderr io.Writer
WorkspaceDir string
Cache cache.Cache
}
Click to show internal directories.
Click to hide internal directories.