Documentation ¶
Index ¶
- type Cache
- func (_m *Cache) Checkout(workDir string, art artifact.Artifact, s strategy.CheckoutStrategy, ...) error
- func (_m *Cache) Commit(workDir string, art *artifact.Artifact, s strategy.CheckoutStrategy, ...) error
- func (_m *Cache) Fetch(remoteSrc string, arts ...artifact.Artifact) error
- func (_m *Cache) Push(workDir string, remoteDst string, art artifact.Artifact) error
- func (_m *Cache) Status(workDir string, art artifact.Artifact, shortCircuit bool) (artifact.Status, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is an autogenerated mock type for the Cache type
func (*Cache) Checkout ¶
func (_m *Cache) Checkout(workDir string, art artifact.Artifact, s strategy.CheckoutStrategy, p *pb.ProgressBar) error
Checkout provides a mock function with given fields: workDir, art, s, p
func (*Cache) Commit ¶
func (_m *Cache) Commit(workDir string, art *artifact.Artifact, s strategy.CheckoutStrategy, l *agglog.AggLogger) error
Commit provides a mock function with given fields: workDir, art, s, l
Click to show internal directories.
Click to hide internal directories.