mockosproxy

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockosproxy is a generated GoMock package.

Package mockosproxy is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileInstanceInterface

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

MockFileInstanceInterface is a mock of FileInstanceInterface interface.

func NewMockFileInstanceInterface

func NewMockFileInstanceInterface(ctrl *gomock.Controller) *MockFileInstanceInterface

NewMockFileInstanceInterface creates a new mock instance.

func (*MockFileInstanceInterface) Close

func (m *MockFileInstanceInterface) Close() error

Close mocks base method.

func (*MockFileInstanceInterface) EXPECT

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

func (*MockFileInstanceInterface) Read

func (m *MockFileInstanceInterface) Read(p []byte) (int, error)

Read mocks base method.

func (*MockFileInstanceInterface) Seek

func (m *MockFileInstanceInterface) Seek(offset int64, whence int) (int64, error)

Seek mocks base method.

func (*MockFileInstanceInterface) Write

func (m *MockFileInstanceInterface) Write(b []byte) (int, error)

Write mocks base method.

type MockFileInstanceInterfaceMockRecorder

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

MockFileInstanceInterfaceMockRecorder is the mock recorder for MockFileInstanceInterface.

func (*MockFileInstanceInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockFileInstanceInterfaceMockRecorder) Read

Read indicates an expected call of Read.

func (*MockFileInstanceInterfaceMockRecorder) Seek

func (mr *MockFileInstanceInterfaceMockRecorder) Seek(offset, whence any) *gomock.Call

Seek indicates an expected call of Seek.

func (*MockFileInstanceInterfaceMockRecorder) Write

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(name string) (osproxy.FileInstanceInterface, 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) FileMode

func (m *MockOs) FileMode(perm fsproxy.FileMode) fsproxy.FileMode

FileMode mocks base method.

func (*MockOs) Getenv

func (m *MockOs) Getenv(key string) string

Getenv mocks base method.

func (*MockOs) IsNotExist

func (m *MockOs) IsNotExist(err error) bool

IsNotExist mocks base method.

func (*MockOs) MkdirAll

func (m *MockOs) MkdirAll(path string, perm fsproxy.FileMode) error

MkdirAll mocks base method.

func (*MockOs) Open

func (m *MockOs) Open(name string) (*osproxy.FileInstance, error)

Open mocks base method.

func (*MockOs) Pipe

Pipe mocks base method.

func (*MockOs) Remove

func (m *MockOs) Remove(name string) error

Remove mocks base method.

func (*MockOs) RemoveAll

func (m *MockOs) RemoveAll(path string) error

RemoveAll mocks base method.

func (*MockOs) Stat

func (m *MockOs) Stat(name string) (*fsproxy.FileInfoInstance, error)

Stat mocks base method.

func (*MockOs) TempDir

func (m *MockOs) TempDir() string

TempDir 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(name any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOsMockRecorder) FileMode

func (mr *MockOsMockRecorder) FileMode(perm any) *gomock.Call

FileMode indicates an expected call of FileMode.

func (*MockOsMockRecorder) Getenv

func (mr *MockOsMockRecorder) Getenv(key any) *gomock.Call

Getenv indicates an expected call of Getenv.

func (*MockOsMockRecorder) IsNotExist

func (mr *MockOsMockRecorder) IsNotExist(err any) *gomock.Call

IsNotExist indicates an expected call of IsNotExist.

func (*MockOsMockRecorder) MkdirAll

func (mr *MockOsMockRecorder) MkdirAll(path, perm any) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockOsMockRecorder) Open

func (mr *MockOsMockRecorder) Open(name any) *gomock.Call

Open indicates an expected call of Open.

func (*MockOsMockRecorder) Pipe

func (mr *MockOsMockRecorder) Pipe() *gomock.Call

Pipe indicates an expected call of Pipe.

func (*MockOsMockRecorder) Remove

func (mr *MockOsMockRecorder) Remove(name any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockOsMockRecorder) RemoveAll

func (mr *MockOsMockRecorder) RemoveAll(path any) *gomock.Call

RemoveAll indicates an expected call of RemoveAll.

func (*MockOsMockRecorder) Stat

func (mr *MockOsMockRecorder) Stat(name any) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockOsMockRecorder) TempDir

func (mr *MockOsMockRecorder) TempDir() *gomock.Call

TempDir indicates an expected call of TempDir.

Jump to

Keyboard shortcuts

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