mock_fs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_fs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) Create

func (m *MockInterface) Create(arg0 string) (io.WriteCloser, error)

Create mocks base method.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) MkdirAll

func (m *MockInterface) MkdirAll(arg0 string) error

MkdirAll mocks base method.

func (*MockInterface) Open

func (m *MockInterface) Open(arg0 string) (io.ReadCloser, error)

Open mocks base method.

func (*MockInterface) Remove

func (m *MockInterface) Remove(arg0 string) error

Remove mocks base method.

func (*MockInterface) Stat

func (m *MockInterface) Stat(arg0 string) (os.FileInfo, error)

Stat mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Create

func (mr *MockInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockInterfaceMockRecorder) MkdirAll

func (mr *MockInterfaceMockRecorder) MkdirAll(arg0 interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockInterfaceMockRecorder) Open

func (mr *MockInterfaceMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockInterfaceMockRecorder) Remove

func (mr *MockInterfaceMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockInterfaceMockRecorder) Stat

func (mr *MockInterfaceMockRecorder) Stat(arg0 interface{}) *gomock.Call

Stat indicates an expected call of Stat.

Jump to

Keyboard shortcuts

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