mocks

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStorer

type FileStorer struct {
	mock.Mock
}

FileStorer is an autogenerated mock type for the FileStorer type

func NewFileStorer

func NewFileStorer(t interface {
	mock.TestingT
	Cleanup(func())
}) *FileStorer

NewFileStorer creates a new instance of FileStorer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FileStorer) Delete

func (_m *FileStorer) Delete(_a0 string) error

Delete provides a mock function with given fields: _a0

func (*FileStorer) Fetch

func (_m *FileStorer) Fetch(_a0 string) (io.ReadCloser, error)

Fetch provides a mock function with given fields: _a0

func (*FileStorer) FileSystem

func (_m *FileStorer) FileSystem() *afero.Afero

FileSystem provides a mock function with given fields:

func (*FileStorer) PresignedURL

func (_m *FileStorer) PresignedURL(_a0 string, _a1 string) (string, error)

PresignedURL provides a mock function with given fields: _a0, _a1

func (*FileStorer) Store

func (_m *FileStorer) Store(_a0 string, _a1 io.ReadSeeker, _a2 string, _a3 *string) (*storage.StoreResult, error)

Store provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*FileStorer) Tags

func (_m *FileStorer) Tags(_a0 string) (map[string]string, error)

Tags provides a mock function with given fields: _a0

func (*FileStorer) TempFileSystem

func (_m *FileStorer) TempFileSystem() *afero.Afero

TempFileSystem provides a mock function with given fields:

Jump to

Keyboard shortcuts

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