mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnvironment

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

MockEnvironment is a mock of Environment interface.

func NewMockEnvironment

func NewMockEnvironment(ctrl *gomock.Controller) *MockEnvironment

NewMockEnvironment creates a new mock instance.

func (*MockEnvironment) EXPECT

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

func (*MockEnvironment) ExpandEnv

func (m *MockEnvironment) ExpandEnv(arg0 string) string

ExpandEnv mocks base method.

func (*MockEnvironment) Getenv

func (m *MockEnvironment) Getenv(arg0 string) string

Getenv mocks base method.

func (*MockEnvironment) Setenv

func (m *MockEnvironment) Setenv(arg0, arg1 string) error

Setenv mocks base method.

func (*MockEnvironment) Unsetenv

func (m *MockEnvironment) Unsetenv(arg0 string) error

Unsetenv mocks base method.

type MockEnvironmentExpandEnvCall

type MockEnvironmentExpandEnvCall struct {
	*gomock.Call
}

MockEnvironmentExpandEnvCall wrap *gomock.Call

func (*MockEnvironmentExpandEnvCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironmentExpandEnvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironmentExpandEnvCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironmentGetenvCall

type MockEnvironmentGetenvCall struct {
	*gomock.Call
}

MockEnvironmentGetenvCall wrap *gomock.Call

func (*MockEnvironmentGetenvCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironmentGetenvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironmentGetenvCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironmentMockRecorder

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

MockEnvironmentMockRecorder is the mock recorder for MockEnvironment.

func (*MockEnvironmentMockRecorder) ExpandEnv

ExpandEnv indicates an expected call of ExpandEnv.

func (*MockEnvironmentMockRecorder) Getenv

Getenv indicates an expected call of Getenv.

func (*MockEnvironmentMockRecorder) Setenv

Setenv indicates an expected call of Setenv.

func (*MockEnvironmentMockRecorder) Unsetenv

Unsetenv indicates an expected call of Unsetenv.

type MockEnvironmentSetenvCall

type MockEnvironmentSetenvCall struct {
	*gomock.Call
}

MockEnvironmentSetenvCall wrap *gomock.Call

func (*MockEnvironmentSetenvCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironmentSetenvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironmentSetenvCall) Return

Return rewrite *gomock.Call.Return

type MockEnvironmentUnsetenvCall

type MockEnvironmentUnsetenvCall struct {
	*gomock.Call
}

MockEnvironmentUnsetenvCall wrap *gomock.Call

func (*MockEnvironmentUnsetenvCall) Do

Do rewrite *gomock.Call.Do

func (*MockEnvironmentUnsetenvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockEnvironmentUnsetenvCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriter

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

MockFileReaderWriter is a mock of FileReaderWriter interface.

func NewMockFileReaderWriter

func NewMockFileReaderWriter(ctrl *gomock.Controller) *MockFileReaderWriter

NewMockFileReaderWriter creates a new mock instance.

func (*MockFileReaderWriter) EXPECT

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

func (*MockFileReaderWriter) MkdirAll

func (m *MockFileReaderWriter) MkdirAll(arg0 string, arg1 fs.FileMode) error

MkdirAll mocks base method.

func (*MockFileReaderWriter) ReadFile

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

ReadFile mocks base method.

func (*MockFileReaderWriter) Reader

func (m *MockFileReaderWriter) Reader(arg0 string) (io.ReadCloser, error)

Reader mocks base method.

func (*MockFileReaderWriter) RemoveAll

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

RemoveAll mocks base method.

func (*MockFileReaderWriter) Stat

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

Stat mocks base method.

func (m *MockFileReaderWriter) Symlink(arg0, arg1 string) error

Symlink mocks base method.

func (*MockFileReaderWriter) WriteFile

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

WriteFile mocks base method.

func (*MockFileReaderWriter) Writer

func (m *MockFileReaderWriter) Writer(arg0 string, arg1 fs.FileMode) (io.WriteCloser, error)

Writer mocks base method.

type MockFileReaderWriterMkdirAllCall

type MockFileReaderWriterMkdirAllCall struct {
	*gomock.Call
}

MockFileReaderWriterMkdirAllCall wrap *gomock.Call

func (*MockFileReaderWriterMkdirAllCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterMkdirAllCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterMkdirAllCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterMockRecorder

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

MockFileReaderWriterMockRecorder is the mock recorder for MockFileReaderWriter.

func (*MockFileReaderWriterMockRecorder) MkdirAll

MkdirAll indicates an expected call of MkdirAll.

func (*MockFileReaderWriterMockRecorder) ReadFile

ReadFile indicates an expected call of ReadFile.

func (*MockFileReaderWriterMockRecorder) Reader

Reader indicates an expected call of Reader.

func (*MockFileReaderWriterMockRecorder) RemoveAll

RemoveAll indicates an expected call of RemoveAll.

func (*MockFileReaderWriterMockRecorder) Stat

Stat indicates an expected call of Stat.

Symlink indicates an expected call of Symlink.

func (*MockFileReaderWriterMockRecorder) WriteFile

WriteFile indicates an expected call of WriteFile.

func (*MockFileReaderWriterMockRecorder) Writer

Writer indicates an expected call of Writer.

type MockFileReaderWriterReadFileCall

type MockFileReaderWriterReadFileCall struct {
	*gomock.Call
}

MockFileReaderWriterReadFileCall wrap *gomock.Call

func (*MockFileReaderWriterReadFileCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterReadFileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterReadFileCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterReaderCall

type MockFileReaderWriterReaderCall struct {
	*gomock.Call
}

MockFileReaderWriterReaderCall wrap *gomock.Call

func (*MockFileReaderWriterReaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterReaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterReaderCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterRemoveAllCall

type MockFileReaderWriterRemoveAllCall struct {
	*gomock.Call
}

MockFileReaderWriterRemoveAllCall wrap *gomock.Call

func (*MockFileReaderWriterRemoveAllCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterRemoveAllCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterRemoveAllCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterStatCall

type MockFileReaderWriterStatCall struct {
	*gomock.Call
}

MockFileReaderWriterStatCall wrap *gomock.Call

func (*MockFileReaderWriterStatCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterStatCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterStatCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterSymlinkCall

type MockFileReaderWriterSymlinkCall struct {
	*gomock.Call
}

MockFileReaderWriterSymlinkCall wrap *gomock.Call

func (*MockFileReaderWriterSymlinkCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterSymlinkCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterSymlinkCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterWriteFileCall

type MockFileReaderWriterWriteFileCall struct {
	*gomock.Call
}

MockFileReaderWriterWriteFileCall wrap *gomock.Call

func (*MockFileReaderWriterWriteFileCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterWriteFileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterWriteFileCall) Return

Return rewrite *gomock.Call.Return

type MockFileReaderWriterWriterCall

type MockFileReaderWriterWriterCall struct {
	*gomock.Call
}

MockFileReaderWriterWriterCall wrap *gomock.Call

func (*MockFileReaderWriterWriterCall) Do

Do rewrite *gomock.Call.Do

func (*MockFileReaderWriterWriterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockFileReaderWriterWriterCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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