mocks

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blobstore

type Blobstore struct {
	mock.Mock
}

Blobstore is an autogenerated mock type for the Blobstore type

func NewBlobstore added in v2.3.0

func NewBlobstore(t testing.TB) *Blobstore

NewBlobstore creates a new instance of Blobstore. It also registers a cleanup function to assert the mocks expectations.

func (*Blobstore) Delete

func (_m *Blobstore) Delete(_a0 *node.Node) error

Delete provides a mock function with given fields: _a0

func (*Blobstore) Download

func (_m *Blobstore) Download(_a0 *node.Node) (io.ReadCloser, error)

Download provides a mock function with given fields: _a0

func (*Blobstore) Upload

func (_m *Blobstore) Upload(_a0 *node.Node, reader io.Reader) error

Upload provides a mock function with given fields: _a0, reader

Jump to

Keyboard shortcuts

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