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 map[string]*artifact.Artifact) error
- func (_m *Cache) Push(remoteDst string, arts map[string]*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 NewCache ¶ added in v0.4.0
func NewCache(t mockConstructorTestingTNewCache) *Cache
NewCache creates a new instance of Cache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
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.