mocks

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

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) error

Checkout provides a mock function with given fields: workDir, art, s

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

func (*Cache) Fetch

func (_m *Cache) Fetch(workDir string, remoteSrc string, art artifact.Artifact) error

Fetch provides a mock function with given fields: workDir, remoteSrc, art

func (*Cache) Push

func (_m *Cache) Push(workDir string, remoteDst string, art artifact.Artifact) error

Push provides a mock function with given fields: workDir, remoteDst, art

func (*Cache) Status

func (_m *Cache) Status(workDir string, art artifact.Artifact) (artifact.ArtifactWithStatus, error)

Status provides a mock function with given fields: workDir, art

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL