mocks

package
v0.0.0-...-f311442 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	mock.Mock
}

File is an autogenerated mock type for the File type

func (*File) Close

func (_m *File) Close() error

Close provides a mock function with given fields:

func (*File) OsPath

func (_m *File) OsPath() filestore.OsPath

OsPath provides a mock function with given fields:

func (*File) Path

func (_m *File) Path() filestore.Path

Path provides a mock function with given fields:

func (*File) Read

func (_m *File) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

func (*File) Seek

func (_m *File) Seek(offset int64, whence int) (int64, error)

Seek provides a mock function with given fields: offset, whence

func (*File) Size

func (_m *File) Size() int64

Size provides a mock function with given fields:

func (*File) Write

func (_m *File) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

type FileStore

type FileStore struct {
	mock.Mock
}

FileStore is an autogenerated mock type for the FileStore type

func (*FileStore) Create

func (_m *FileStore) Create(p filestore.Path) (filestore.File, error)

Create provides a mock function with given fields: p

func (*FileStore) CreateTemp

func (_m *FileStore) CreateTemp() (filestore.File, error)

CreateTemp provides a mock function with given fields:

func (*FileStore) Delete

func (_m *FileStore) Delete(p filestore.Path) error

Delete provides a mock function with given fields: p

func (*FileStore) Open

func (_m *FileStore) Open(p filestore.Path) (filestore.File, error)

Open provides a mock function with given fields: p

func (*FileStore) Store

Store provides a mock function with given fields: p, f

Jump to

Keyboard shortcuts

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