Documentation ¶
Overview ¶
Package mockbackend is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Download(arg0, arg1 string, arg2 io.Writer) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) List(arg0 string, arg1 ...backend.ListOption) (*backend.ListResult, error)
- func (m *MockClient) Stat(arg0, arg1 string) (*core.BlobInfo, error)
- func (m *MockClient) Upload(arg0, arg1 string, arg2 io.Reader) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Download ¶
func (m *MockClient) Download(arg0, arg1 string, arg2 io.Writer) error
Download mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) List ¶
func (m *MockClient) List(arg0 string, arg1 ...backend.ListOption) (*backend.ListResult, error)
List mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Download ¶
func (mr *MockClientMockRecorder) Download(arg0, arg1, arg2 interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClientMockRecorder) Stat ¶
func (mr *MockClientMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
Stat indicates an expected call of Stat
func (*MockClientMockRecorder) Upload ¶
func (mr *MockClientMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
Upload indicates an expected call of Upload
Directories ¶
Path | Synopsis |
---|---|
Package mockgcsbackend is a generated GoMock package.
|
Package mockgcsbackend is a generated GoMock package. |
hdfsbackend
|
|
webhdfs
Package mockwebhdfs is a generated GoMock package.
|
Package mockwebhdfs is a generated GoMock package. |
Package mocks3backend is a generated GoMock package.
|
Package mocks3backend is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.