file

package
v0.0.0-...-6ad1837 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package file is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) Compress

func (m *MockService) Compress(inputRelativePath, outputRelativePath string) error

Compress mocks base method

func (*MockService) CreateFile

func (m *MockService) CreateFile(relativePath string) (io.WriteCloser, error)

CreateFile mocks base method

func (*MockService) DownloadFile

func (m *MockService) DownloadFile(relativePath, url string, headers http.Header) (int64, error)

DownloadFile mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) ListFiles

func (m *MockService) ListFiles(relativePath string) ([]string, error)

ListFiles mocks base method

func (*MockService) MoveFileTree

func (m *MockService) MoveFileTree(oldRelativePath, newRelativePath string) error

MoveFileTree mocks base method

func (*MockService) OpenFile

func (m *MockService) OpenFile(relativePath string) (io.ReadCloser, error)

OpenFile mocks base method

func (*MockService) RemoveFileTree

func (m *MockService) RemoveFileTree(relativePath string) error

RemoveFileTree mocks base method

func (*MockService) Uncompress

func (m *MockService) Uncompress(inputRelativePath, outputRelativePath string) error

Uncompress mocks base method

func (*MockService) UploadFile

func (m *MockService) UploadFile(relativePath, authorizedServerURL string) error

UploadFile mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Compress

func (mr *MockServiceMockRecorder) Compress(inputRelativePath, outputRelativePath interface{}) *gomock.Call

Compress indicates an expected call of Compress

func (*MockServiceMockRecorder) CreateFile

func (mr *MockServiceMockRecorder) CreateFile(relativePath interface{}) *gomock.Call

CreateFile indicates an expected call of CreateFile

func (*MockServiceMockRecorder) DownloadFile

func (mr *MockServiceMockRecorder) DownloadFile(relativePath, url, headers interface{}) *gomock.Call

DownloadFile indicates an expected call of DownloadFile

func (*MockServiceMockRecorder) ListFiles

func (mr *MockServiceMockRecorder) ListFiles(relativePath interface{}) *gomock.Call

ListFiles indicates an expected call of ListFiles

func (*MockServiceMockRecorder) MoveFileTree

func (mr *MockServiceMockRecorder) MoveFileTree(oldRelativePath, newRelativePath interface{}) *gomock.Call

MoveFileTree indicates an expected call of MoveFileTree

func (*MockServiceMockRecorder) OpenFile

func (mr *MockServiceMockRecorder) OpenFile(relativePath interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile

func (*MockServiceMockRecorder) RemoveFileTree

func (mr *MockServiceMockRecorder) RemoveFileTree(relativePath interface{}) *gomock.Call

RemoveFileTree indicates an expected call of RemoveFileTree

func (*MockServiceMockRecorder) Uncompress

func (mr *MockServiceMockRecorder) Uncompress(inputRelativePath, outputRelativePath interface{}) *gomock.Call

Uncompress indicates an expected call of Uncompress

func (*MockServiceMockRecorder) UploadFile

func (mr *MockServiceMockRecorder) UploadFile(relativePath, authorizedServerURL interface{}) *gomock.Call

UploadFile indicates an expected call of UploadFile

type MockserviceRuntime

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

MockserviceRuntime is a mock of serviceRuntime interface

func NewMockserviceRuntime

func NewMockserviceRuntime(ctrl *gomock.Controller) *MockserviceRuntime

NewMockserviceRuntime creates a new mock instance

func (*MockserviceRuntime) Copy

func (m *MockserviceRuntime) Copy(dst io.Writer, src io.Reader) (int64, error)

Copy mocks base method

func (*MockserviceRuntime) Create

func (m *MockserviceRuntime) Create(name string) (io.WriteCloser, error)

Create mocks base method

func (*MockserviceRuntime) Do

Do mocks base method

func (*MockserviceRuntime) EXPECT

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

func (*MockserviceRuntime) FileInfoHeader

func (m *MockserviceRuntime) FileInfoHeader(fi os.FileInfo, link string) (*tar.Header, error)

FileInfoHeader mocks base method

func (*MockserviceRuntime) MkdirAll

func (m *MockserviceRuntime) MkdirAll(path string) error

MkdirAll mocks base method

func (*MockserviceRuntime) NewDecoderDecode

func (m *MockserviceRuntime) NewDecoderDecode(r io.Reader, v interface{}) error

NewDecoderDecode mocks base method

func (*MockserviceRuntime) NewReader

func (m *MockserviceRuntime) NewReader(r io.Reader) (io.ReadCloser, error)

NewReader mocks base method

func (*MockserviceRuntime) NewRequest

func (m *MockserviceRuntime) NewRequest(method, url string, body io.Reader) (*http.Request, error)

NewRequest mocks base method

func (*MockserviceRuntime) Next

func (m *MockserviceRuntime) Next(in *tar.Reader) (*tar.Header, error)

Next mocks base method

func (*MockserviceRuntime) Open

func (m *MockserviceRuntime) Open(name string) (io.ReadCloser, error)

Open mocks base method

func (*MockserviceRuntime) ReadDir

func (m *MockserviceRuntime) ReadDir(dirname string) ([]os.FileInfo, error)

ReadDir mocks base method

func (*MockserviceRuntime) RemoveAll

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

RemoveAll mocks base method

func (*MockserviceRuntime) Rename

func (m *MockserviceRuntime) Rename(oldpath, newpath string) error

Rename mocks base method

func (*MockserviceRuntime) Stat

func (m *MockserviceRuntime) Stat(name string) (os.FileInfo, error)

Stat mocks base method

func (*MockserviceRuntime) Walk

func (m *MockserviceRuntime) Walk(root string, walkFn filepath.WalkFunc) error

Walk mocks base method

func (*MockserviceRuntime) WriteHeader

func (m *MockserviceRuntime) WriteHeader(out *tar.Writer, hdr *tar.Header) error

WriteHeader mocks base method

type MockserviceRuntimeMockRecorder

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

MockserviceRuntimeMockRecorder is the mock recorder for MockserviceRuntime

func (*MockserviceRuntimeMockRecorder) Copy

func (mr *MockserviceRuntimeMockRecorder) Copy(dst, src interface{}) *gomock.Call

Copy indicates an expected call of Copy

func (*MockserviceRuntimeMockRecorder) Create

func (mr *MockserviceRuntimeMockRecorder) Create(name interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockserviceRuntimeMockRecorder) Do

func (mr *MockserviceRuntimeMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do

func (*MockserviceRuntimeMockRecorder) FileInfoHeader

func (mr *MockserviceRuntimeMockRecorder) FileInfoHeader(fi, link interface{}) *gomock.Call

FileInfoHeader indicates an expected call of FileInfoHeader

func (*MockserviceRuntimeMockRecorder) MkdirAll

func (mr *MockserviceRuntimeMockRecorder) MkdirAll(path interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll

func (*MockserviceRuntimeMockRecorder) NewDecoderDecode

func (mr *MockserviceRuntimeMockRecorder) NewDecoderDecode(r, v interface{}) *gomock.Call

NewDecoderDecode indicates an expected call of NewDecoderDecode

func (*MockserviceRuntimeMockRecorder) NewReader

func (mr *MockserviceRuntimeMockRecorder) NewReader(r interface{}) *gomock.Call

NewReader indicates an expected call of NewReader

func (*MockserviceRuntimeMockRecorder) NewRequest

func (mr *MockserviceRuntimeMockRecorder) NewRequest(method, url, body interface{}) *gomock.Call

NewRequest indicates an expected call of NewRequest

func (*MockserviceRuntimeMockRecorder) Next

func (mr *MockserviceRuntimeMockRecorder) Next(in interface{}) *gomock.Call

Next indicates an expected call of Next

func (*MockserviceRuntimeMockRecorder) Open

func (mr *MockserviceRuntimeMockRecorder) Open(name interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockserviceRuntimeMockRecorder) ReadDir

func (mr *MockserviceRuntimeMockRecorder) ReadDir(dirname interface{}) *gomock.Call

ReadDir indicates an expected call of ReadDir

func (*MockserviceRuntimeMockRecorder) RemoveAll

func (mr *MockserviceRuntimeMockRecorder) RemoveAll(path interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockserviceRuntimeMockRecorder) Rename

func (mr *MockserviceRuntimeMockRecorder) Rename(oldpath, newpath interface{}) *gomock.Call

Rename indicates an expected call of Rename

func (*MockserviceRuntimeMockRecorder) Stat

func (mr *MockserviceRuntimeMockRecorder) Stat(name interface{}) *gomock.Call

Stat indicates an expected call of Stat

func (*MockserviceRuntimeMockRecorder) Walk

func (mr *MockserviceRuntimeMockRecorder) Walk(root, walkFn interface{}) *gomock.Call

Walk indicates an expected call of Walk

func (*MockserviceRuntimeMockRecorder) WriteHeader

func (mr *MockserviceRuntimeMockRecorder) WriteHeader(out, hdr interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader

Jump to

Keyboard shortcuts

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