Documentation ¶
Index ¶
- type FileStorer
- func (_m *FileStorer) Delete(_a0 string) error
- func (_m *FileStorer) Fetch(_a0 string) (io.ReadCloser, error)
- func (_m *FileStorer) FileSystem() *afero.Afero
- func (_m *FileStorer) PresignedURL(_a0 string, _a1 string) (string, error)
- func (_m *FileStorer) Store(_a0 string, _a1 io.ReadSeeker, _a2 string, _a3 *string) (*storage.StoreResult, error)
- func (_m *FileStorer) Tags(_a0 string) (map[string]string, error)
- func (_m *FileStorer) TempFileSystem() *afero.Afero
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorer ¶
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: