mock_oswrapper

package
v0.0.0-...-b702281 Latest Latest
Warning

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

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

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 fs.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.

type MockFileMockRecorder

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

MockFileMockRecorder is the mock recorder for MockFile.

func (*MockFileMockRecorder) Chmod

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

Chmod indicates an expected call of Chmod.

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

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

Sync indicates an expected call of Sync.

func (*MockFileMockRecorder) Write

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

Write indicates an expected call of Write.

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 fs.FileMode) error

MkdirAll mocks base method.

func (*MockOS) OpenFile

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

OpenFile 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.

func (*MockOS) Setenv

func (m *MockOS) Setenv(arg0, arg1 string)

Setenv mocks base method.

func (*MockOS) Stat

func (m *MockOS) Stat(arg0 string) (fs.FileInfo, error)

Stat mocks base method.

func (*MockOS) Unsetenv

func (m *MockOS) Unsetenv(arg0 string)

Unsetenv mocks base method.

type MockOSMockRecorder

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

MockOSMockRecorder is the mock recorder for MockOS.

func (*MockOSMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockOSMockRecorder) IsNotExist

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

IsNotExist indicates an expected call of IsNotExist.

func (*MockOSMockRecorder) MkdirAll

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

MkdirAll indicates an expected call of MkdirAll.

func (*MockOSMockRecorder) OpenFile

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

OpenFile indicates an expected call of OpenFile.

func (*MockOSMockRecorder) RemoveAll

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

RemoveAll indicates an expected call of RemoveAll.

func (*MockOSMockRecorder) Rename

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

Rename indicates an expected call of Rename.

func (*MockOSMockRecorder) Setenv

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

Setenv indicates an expected call of Setenv.

func (*MockOSMockRecorder) Stat

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

Stat indicates an expected call of Stat.

func (*MockOSMockRecorder) Unsetenv

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

Unsetenv indicates an expected call of Unsetenv.

Jump to

Keyboard shortcuts

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