mock_sysUtils

package
v1.7.0-preview.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_sysUtils is a generated GoMock package.

Package mock_sysUtils is a generated GoMock package.

Package mock_sysUtils is a generated GoMock package.

Package mock_sysUtils is a generated GoMock package.

Package mock_sysUtils is a generated GoMock package.

Package mock_sysUtils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGZipI

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

MockGZipI is a mock of GZipI interface.

func NewMockGZipI

func NewMockGZipI(ctrl *gomock.Controller) *MockGZipI

NewMockGZipI creates a new mock instance.

func (*MockGZipI) EXPECT

func (m *MockGZipI) EXPECT() *MockGZipIMockRecorder

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

func (*MockGZipI) NewReader

func (m *MockGZipI) NewReader(arg0 io.Reader) (*gzip.Reader, error)

NewReader mocks base method.

func (*MockGZipI) NewWriter

func (m *MockGZipI) NewWriter(arg0 io.Writer) *gzip.Writer

NewWriter mocks base method.

type MockGZipIMockRecorder

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

MockGZipIMockRecorder is the mock recorder for MockGZipI.

func (*MockGZipIMockRecorder) NewReader

func (mr *MockGZipIMockRecorder) NewReader(arg0 interface{}) *gomock.Call

NewReader indicates an expected call of NewReader.

func (*MockGZipIMockRecorder) NewWriter

func (mr *MockGZipIMockRecorder) NewWriter(arg0 interface{}) *gomock.Call

NewWriter indicates an expected call of NewWriter.

type MockHTTPClientI

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

MockHTTPClientI is a mock of HTTPClientI interface.

func NewMockHTTPClientI

func NewMockHTTPClientI(ctrl *gomock.Controller) *MockHTTPClientI

NewMockHTTPClientI creates a new mock instance.

func (*MockHTTPClientI) Do

func (m *MockHTTPClientI) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClientI) EXPECT

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

type MockHTTPClientIMockRecorder

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

MockHTTPClientIMockRecorder is the mock recorder for MockHTTPClientI.

func (*MockHTTPClientIMockRecorder) Do

func (mr *MockHTTPClientIMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

type MockHttpI

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

MockHttpI is a mock of HttpI interface.

func NewMockHttpI

func NewMockHttpI(ctrl *gomock.Controller) *MockHttpI

NewMockHttpI creates a new mock instance.

func (*MockHttpI) EXPECT

func (m *MockHttpI) EXPECT() *MockHttpIMockRecorder

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

func (*MockHttpI) NewRequest

func (m *MockHttpI) NewRequest(arg0, arg1 string, arg2 io.Reader) (*http.Request, error)

NewRequest mocks base method.

func (*MockHttpI) NewRequestWithContext added in v1.0.2

func (m *MockHttpI) NewRequestWithContext(arg0 context.Context, arg1, arg2 string, arg3 io.Reader) (*http.Request, error)

NewRequestWithContext mocks base method.

type MockHttpIMockRecorder

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

MockHttpIMockRecorder is the mock recorder for MockHttpI.

func (*MockHttpIMockRecorder) NewRequest

func (mr *MockHttpIMockRecorder) NewRequest(arg0, arg1, arg2 interface{}) *gomock.Call

NewRequest indicates an expected call of NewRequest.

func (*MockHttpIMockRecorder) NewRequestWithContext added in v1.0.2

func (mr *MockHttpIMockRecorder) NewRequestWithContext(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NewRequestWithContext indicates an expected call of NewRequestWithContext.

type MockIoI

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

MockIoI is a mock of IoI interface.

func NewMockIoI

func NewMockIoI(ctrl *gomock.Controller) *MockIoI

NewMockIoI creates a new mock instance.

func (*MockIoI) Copy

func (m *MockIoI) Copy(arg0 io.Writer, arg1 io.Reader) (int64, error)

Copy mocks base method.

func (*MockIoI) EXPECT

func (m *MockIoI) EXPECT() *MockIoIMockRecorder

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

type MockIoIMockRecorder

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

MockIoIMockRecorder is the mock recorder for MockIoI.

func (*MockIoIMockRecorder) Copy

func (mr *MockIoIMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call

Copy indicates an expected call of Copy.

type MockIoUtilI

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

MockIoUtilI is a mock of IoUtilI interface.

func NewMockIoUtilI

func NewMockIoUtilI(ctrl *gomock.Controller) *MockIoUtilI

NewMockIoUtilI creates a new mock instance.

func (*MockIoUtilI) EXPECT

func (m *MockIoUtilI) EXPECT() *MockIoUtilIMockRecorder

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

func (*MockIoUtilI) NopCloser

func (m *MockIoUtilI) NopCloser(arg0 io.Reader) io.ReadCloser

NopCloser mocks base method.

func (*MockIoUtilI) ReadAll

func (m *MockIoUtilI) ReadAll(arg0 io.Reader) ([]byte, error)

ReadAll mocks base method.

func (*MockIoUtilI) ReadFile

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

ReadFile mocks base method.

func (*MockIoUtilI) WriteFile

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

WriteFile mocks base method.

type MockIoUtilIMockRecorder

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

MockIoUtilIMockRecorder is the mock recorder for MockIoUtilI.

func (*MockIoUtilIMockRecorder) NopCloser

func (mr *MockIoUtilIMockRecorder) NopCloser(arg0 interface{}) *gomock.Call

NopCloser indicates an expected call of NopCloser.

func (*MockIoUtilIMockRecorder) ReadAll

func (mr *MockIoUtilIMockRecorder) ReadAll(arg0 interface{}) *gomock.Call

ReadAll indicates an expected call of ReadAll.

func (*MockIoUtilIMockRecorder) ReadFile

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

ReadFile indicates an expected call of ReadFile.

func (*MockIoUtilIMockRecorder) WriteFile

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

WriteFile indicates an expected call of WriteFile.

type MockOsI

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

MockOsI is a mock of OsI interface.

func NewMockOsI

func NewMockOsI(ctrl *gomock.Controller) *MockOsI

NewMockOsI creates a new mock instance.

func (*MockOsI) Create

func (m *MockOsI) Create(arg0 string) (*os.File, error)

Create mocks base method.

func (*MockOsI) EXPECT

func (m *MockOsI) EXPECT() *MockOsIMockRecorder

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

func (*MockOsI) Getenv

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

Getenv mocks base method.

func (*MockOsI) IsNotExist

func (m *MockOsI) IsNotExist(arg0 error) bool

IsNotExist mocks base method.

func (*MockOsI) LookupEnv

func (m *MockOsI) LookupEnv(arg0 string) (string, bool)

LookupEnv mocks base method.

func (*MockOsI) MkdirAll

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

MkdirAll mocks base method.

func (*MockOsI) Open

func (m *MockOsI) Open(arg0 string) (*os.File, error)

Open mocks base method.

func (*MockOsI) OpenFile

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

OpenFile mocks base method.

func (*MockOsI) Remove

func (m *MockOsI) Remove(arg0 string) error

Remove mocks base method.

func (*MockOsI) Stat

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

Stat mocks base method.

func (*MockOsI) UserHomeDir

func (m *MockOsI) UserHomeDir() (string, error)

UserHomeDir mocks base method.

type MockOsIMockRecorder

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

MockOsIMockRecorder is the mock recorder for MockOsI.

func (*MockOsIMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockOsIMockRecorder) Getenv

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

Getenv indicates an expected call of Getenv.

func (*MockOsIMockRecorder) IsNotExist

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

IsNotExist indicates an expected call of IsNotExist.

func (*MockOsIMockRecorder) LookupEnv

func (mr *MockOsIMockRecorder) LookupEnv(arg0 interface{}) *gomock.Call

LookupEnv indicates an expected call of LookupEnv.

func (*MockOsIMockRecorder) MkdirAll

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

MkdirAll indicates an expected call of MkdirAll.

func (*MockOsIMockRecorder) Open

func (mr *MockOsIMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockOsIMockRecorder) OpenFile

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

OpenFile indicates an expected call of OpenFile.

func (*MockOsIMockRecorder) Remove

func (mr *MockOsIMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockOsIMockRecorder) Stat

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

Stat indicates an expected call of Stat.

func (*MockOsIMockRecorder) UserHomeDir

func (mr *MockOsIMockRecorder) UserHomeDir() *gomock.Call

UserHomeDir indicates an expected call of UserHomeDir.

type MockZipI

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

MockZipI is a mock of ZipI interface.

func NewMockZipI

func NewMockZipI(ctrl *gomock.Controller) *MockZipI

NewMockZipI creates a new mock instance.

func (*MockZipI) EXPECT

func (m *MockZipI) EXPECT() *MockZipIMockRecorder

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

func (*MockZipI) FileInfoHeader

func (m *MockZipI) FileInfoHeader(arg0 fs.FileInfo) (*zip.FileHeader, error)

FileInfoHeader mocks base method.

func (*MockZipI) NewWriter

func (m *MockZipI) NewWriter(arg0 io.Writer) *zip.Writer

NewWriter mocks base method.

func (*MockZipI) OpenReader

func (m *MockZipI) OpenReader(arg0 string) (*zip.ReadCloser, error)

OpenReader mocks base method.

type MockZipIMockRecorder

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

MockZipIMockRecorder is the mock recorder for MockZipI.

func (*MockZipIMockRecorder) FileInfoHeader

func (mr *MockZipIMockRecorder) FileInfoHeader(arg0 interface{}) *gomock.Call

FileInfoHeader indicates an expected call of FileInfoHeader.

func (*MockZipIMockRecorder) NewWriter

func (mr *MockZipIMockRecorder) NewWriter(arg0 interface{}) *gomock.Call

NewWriter indicates an expected call of NewWriter.

func (*MockZipIMockRecorder) OpenReader

func (mr *MockZipIMockRecorder) OpenReader(arg0 interface{}) *gomock.Call

OpenReader indicates an expected call of OpenReader.

Jump to

Keyboard shortcuts

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