Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCreateOpener ¶
FileCreateOpener is an autogenerated mock type for the FileCreateOpener type
func NewFileCreateOpener ¶
func NewFileCreateOpener(t mockConstructorTestingTNewFileCreateOpener) *FileCreateOpener
NewFileCreateOpener creates a new instance of FileCreateOpener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileCreateOpener) OpenCreate ¶
func (_m *FileCreateOpener) OpenCreate(path string) (io.WriteCloser, error)
OpenCreate provides a mock function with given fields: path
type FileReadOpener ¶
FileReadOpener is an autogenerated mock type for the FileReadOpener type
func NewFileReadOpener ¶
func NewFileReadOpener(t mockConstructorTestingTNewFileReadOpener) *FileReadOpener
NewFileReadOpener creates a new instance of FileReadOpener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileReadOpener) OpenRead ¶
func (_m *FileReadOpener) OpenRead(path string) (io.ReadCloser, error)
OpenReadOnly provides a mock function with given fields: path
Click to show internal directories.
Click to hide internal directories.