Documentation
¶
Index ¶
- type Cache
- func (_m *Cache) Checkout(workspaceDir string, art artifact.Artifact, strat strategy.CheckoutStrategy) error
- func (_m *Cache) Commit(workspaceDir string, art *artifact.Artifact, strat strategy.CheckoutStrategy) error
- func (_m *Cache) Fetch(workspaceDir string, remoteSrc string, art artifact.Artifact) error
- func (_m *Cache) PathForChecksum(checksum string) (string, error)
- func (_m *Cache) Push(workspaceDir string, remoteDst string, art artifact.Artifact) error
- func (_m *Cache) Status(workspaceDir string, art artifact.Artifact) (artifact.ArtifactWithStatus, 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(workspaceDir string, art artifact.Artifact, strat strategy.CheckoutStrategy) error
Checkout provides a mock function with given fields: workspaceDir, art, strat
func (*Cache) Commit ¶
func (_m *Cache) Commit(workspaceDir string, art *artifact.Artifact, strat strategy.CheckoutStrategy) error
Commit provides a mock function with given fields: workspaceDir, art, strat
func (*Cache) Fetch ¶
Fetch provides a mock function with given fields: workspaceDir, remoteSrc, art
func (*Cache) PathForChecksum ¶
PathForChecksum provides a mock function with given fields: checksum
Click to show internal directories.
Click to hide internal directories.