mock_afero

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_afero is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFile

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

MockFile is a mock of File interface

func NewMockFile

func NewMockFile(ctrl *gomock.Controller) *MockFile

NewMockFile creates a new mock instance

func (*MockFile) Close

func (m *MockFile) Close() error

Close mocks base method

func (*MockFile) EXPECT

func (m *MockFile) EXPECT() *MockFileMockRecorder

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

func (*MockFile) Name

func (m *MockFile) Name() string

Name mocks base method

func (*MockFile) Read

func (m *MockFile) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockFile) ReadAt

func (m *MockFile) ReadAt(arg0 []byte, arg1 int64) (int, error)

ReadAt mocks base method

func (*MockFile) Readdir

func (m *MockFile) Readdir(arg0 int) ([]os.FileInfo, error)

Readdir mocks base method

func (*MockFile) Readdirnames

func (m *MockFile) Readdirnames(arg0 int) ([]string, error)

Readdirnames mocks base method

func (*MockFile) Seek

func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error)

Seek mocks base method

func (*MockFile) Stat

func (m *MockFile) Stat() (os.FileInfo, error)

Stat mocks base method

func (*MockFile) Sync

func (m *MockFile) Sync() error

Sync mocks base method

func (*MockFile) Truncate

func (m *MockFile) Truncate(arg0 int64) error

Truncate mocks base method

func (*MockFile) Write

func (m *MockFile) Write(arg0 []byte) (int, error)

Write mocks base method

func (*MockFile) WriteAt

func (m *MockFile) WriteAt(arg0 []byte, arg1 int64) (int, error)

WriteAt mocks base method

func (*MockFile) WriteString

func (m *MockFile) WriteString(arg0 string) (int, error)

WriteString mocks base method

type MockFileMockRecorder

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

MockFileMockRecorder is the mock recorder for MockFile

func (*MockFileMockRecorder) Close

func (mr *MockFileMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockFileMockRecorder) Name

func (mr *MockFileMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockFileMockRecorder) Read

func (mr *MockFileMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockFileMockRecorder) ReadAt

func (mr *MockFileMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call

ReadAt indicates an expected call of ReadAt

func (*MockFileMockRecorder) Readdir

func (mr *MockFileMockRecorder) Readdir(arg0 interface{}) *gomock.Call

Readdir indicates an expected call of Readdir

func (*MockFileMockRecorder) Readdirnames

func (mr *MockFileMockRecorder) Readdirnames(arg0 interface{}) *gomock.Call

Readdirnames indicates an expected call of Readdirnames

func (*MockFileMockRecorder) Seek

func (mr *MockFileMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call

Seek indicates an expected call of Seek

func (*MockFileMockRecorder) Stat

func (mr *MockFileMockRecorder) Stat() *gomock.Call

Stat indicates an expected call of Stat

func (*MockFileMockRecorder) Sync

func (mr *MockFileMockRecorder) Sync() *gomock.Call

Sync indicates an expected call of Sync

func (*MockFileMockRecorder) Truncate

func (mr *MockFileMockRecorder) Truncate(arg0 interface{}) *gomock.Call

Truncate indicates an expected call of Truncate

func (*MockFileMockRecorder) Write

func (mr *MockFileMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockFileMockRecorder) WriteAt

func (mr *MockFileMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call

WriteAt indicates an expected call of WriteAt

func (*MockFileMockRecorder) WriteString

func (mr *MockFileMockRecorder) WriteString(arg0 interface{}) *gomock.Call

WriteString indicates an expected call of WriteString

Jump to

Keyboard shortcuts

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