mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: BSD-3-Clause Imports: 3 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(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

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

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

func (*Cache) PathForChecksum

func (_m *Cache) PathForChecksum(checksum string) (string, error)

PathForChecksum provides a mock function with given fields: checksum

func (*Cache) Push

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

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

func (*Cache) Status

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

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

Jump to

Keyboard shortcuts

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