mocks

package
v0.0.0-...-2b5ea0c Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore struct {
	mock.Mock
}

FileStore is an autogenerated mock type for the FileStore type

func NewFileStore

func NewFileStore(t mockConstructorTestingTNewFileStore) *FileStore

NewFileStore creates a new instance of FileStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*FileStore) CreateDir

func (_m *FileStore) CreateDir(path string) error

CreateDir provides a mock function with given fields: path

func (*FileStore) SaveFile

func (_m *FileStore) SaveFile(path string, data []byte) error

SaveFile provides a mock function with given fields: path, data

Jump to

Keyboard shortcuts

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