mock_ioutilwrapper

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_ioutilwrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIOUtil

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

MockIOUtil is a mock of IOUtil interface.

func NewMockIOUtil

func NewMockIOUtil(ctrl *gomock.Controller) *MockIOUtil

NewMockIOUtil creates a new mock instance.

func (*MockIOUtil) EXPECT

func (m *MockIOUtil) EXPECT() *MockIOUtilMockRecorder

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

func (*MockIOUtil) ReadFile

func (m *MockIOUtil) ReadFile(arg0 string) ([]byte, error)

ReadFile mocks base method.

func (*MockIOUtil) TempFile

func (m *MockIOUtil) TempFile(arg0, arg1 string) (oswrapper.File, error)

TempFile mocks base method.

func (*MockIOUtil) WriteFile

func (m *MockIOUtil) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error

WriteFile mocks base method.

type MockIOUtilMockRecorder

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

MockIOUtilMockRecorder is the mock recorder for MockIOUtil.

func (*MockIOUtilMockRecorder) ReadFile

func (mr *MockIOUtilMockRecorder) ReadFile(arg0 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockIOUtilMockRecorder) TempFile

func (mr *MockIOUtilMockRecorder) TempFile(arg0, arg1 interface{}) *gomock.Call

TempFile indicates an expected call of TempFile.

func (*MockIOUtilMockRecorder) WriteFile

func (mr *MockIOUtilMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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