mock_oswrapper

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_oswrapper 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) Chmod

func (m *MockFile) Chmod(arg0 os.FileMode) error

Chmod mocks base method

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) Sync

func (m *MockFile) Sync() error

Sync mocks base method

func (*MockFile) Write

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

Write mocks base method

func (*MockFile) WriteAt added in v1.31.0

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

WriteAt mocks base method

type MockFileMockRecorder added in v1.17.3

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

MockFileMockRecorder is the mock recorder for MockFile

func (*MockFileMockRecorder) Chmod added in v1.17.3

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

Chmod indicates an expected call of Chmod

func (*MockFileMockRecorder) Close added in v1.17.3

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

Close indicates an expected call of Close

func (*MockFileMockRecorder) Name added in v1.17.3

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

Name indicates an expected call of Name

func (*MockFileMockRecorder) Sync added in v1.17.3

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

Sync indicates an expected call of Sync

func (*MockFileMockRecorder) Write added in v1.17.3

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

Write indicates an expected call of Write

func (*MockFileMockRecorder) WriteAt added in v1.31.0

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

WriteAt indicates an expected call of WriteAt

type MockOS

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

MockOS is a mock of OS interface

func NewMockOS

func NewMockOS(ctrl *gomock.Controller) *MockOS

NewMockOS creates a new mock instance

func (*MockOS) Create

func (m *MockOS) Create(arg0 string) (oswrapper.File, error)

Create mocks base method

func (*MockOS) EXPECT

func (m *MockOS) EXPECT() *MockOSMockRecorder

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

func (*MockOS) IsNotExist

func (m *MockOS) IsNotExist(arg0 error) bool

IsNotExist mocks base method

func (*MockOS) MkdirAll

func (m *MockOS) MkdirAll(arg0 string, arg1 os.FileMode) error

MkdirAll mocks base method

func (*MockOS) OpenFile

func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (oswrapper.File, error)

OpenFile mocks base method

func (*MockOS) Remove added in v1.34.0

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

Remove mocks base method

func (*MockOS) RemoveAll

func (m *MockOS) RemoveAll(arg0 string) error

RemoveAll mocks base method

func (*MockOS) Rename

func (m *MockOS) Rename(arg0, arg1 string) error

Rename mocks base method

type MockOSMockRecorder added in v1.17.3

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

MockOSMockRecorder is the mock recorder for MockOS

func (*MockOSMockRecorder) Create added in v1.17.3

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

Create indicates an expected call of Create

func (*MockOSMockRecorder) IsNotExist added in v1.17.3

func (mr *MockOSMockRecorder) IsNotExist(arg0 interface{}) *gomock.Call

IsNotExist indicates an expected call of IsNotExist

func (*MockOSMockRecorder) MkdirAll added in v1.17.3

func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll

func (*MockOSMockRecorder) OpenFile added in v1.17.3

func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile

func (*MockOSMockRecorder) Remove added in v1.34.0

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

Remove indicates an expected call of Remove

func (*MockOSMockRecorder) RemoveAll added in v1.17.3

func (mr *MockOSMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockOSMockRecorder) Rename added in v1.17.3

func (mr *MockOSMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call

Rename indicates an expected call of Rename

Jump to

Keyboard shortcuts

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