mocks

package
Version: v0.0.0-...-4f11ef6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 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 MockEnvironmentMockRecorder

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

MockEnvironmentMockRecorder is the mock recorder for MockEnvironment

func (*MockEnvironmentMockRecorder) ExpandEnv

func (mr *MockEnvironmentMockRecorder) ExpandEnv(arg0 interface{}) *gomock.Call

ExpandEnv indicates an expected call of ExpandEnv

func (*MockEnvironmentMockRecorder) Getenv

func (mr *MockEnvironmentMockRecorder) Getenv(arg0 interface{}) *gomock.Call

Getenv indicates an expected call of Getenv

func (*MockEnvironmentMockRecorder) Setenv

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

Setenv indicates an expected call of Setenv

func (*MockEnvironmentMockRecorder) Unsetenv

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

Unsetenv indicates an expected call of Unsetenv

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 os.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 (m *MockFileReaderWriter) Symlink(arg0, arg1 string) error

Symlink mocks base method

func (*MockFileReaderWriter) WriteFile

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

WriteFile mocks base method

func (*MockFileReaderWriter) Writer

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

Writer mocks base method

type MockFileReaderWriterMockRecorder

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

MockFileReaderWriterMockRecorder is the mock recorder for MockFileReaderWriter

func (*MockFileReaderWriterMockRecorder) MkdirAll

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

MkdirAll indicates an expected call of MkdirAll

func (*MockFileReaderWriterMockRecorder) ReadFile

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

ReadFile indicates an expected call of ReadFile

func (*MockFileReaderWriterMockRecorder) Reader

func (mr *MockFileReaderWriterMockRecorder) Reader(arg0 interface{}) *gomock.Call

Reader indicates an expected call of Reader

func (*MockFileReaderWriterMockRecorder) RemoveAll

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

RemoveAll indicates an expected call of RemoveAll

func (mr *MockFileReaderWriterMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call

Symlink indicates an expected call of Symlink

func (*MockFileReaderWriterMockRecorder) WriteFile

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

WriteFile indicates an expected call of WriteFile

func (*MockFileReaderWriterMockRecorder) Writer

func (mr *MockFileReaderWriterMockRecorder) Writer(arg0, arg1 interface{}) *gomock.Call

Writer indicates an expected call of Writer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL