Documentation ¶
Overview ¶
Package mockwebhdfs is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Create(arg0 string, arg1 io.Reader) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetFileStatus(arg0 string) (webhdfs.FileStatus, error)
- func (m *MockClient) ListFileStatus(arg0 string) ([]webhdfs.FileStatus, error)
- func (m *MockClient) Mkdirs(arg0 string) error
- func (m *MockClient) Open(arg0 string, arg1 io.Writer) error
- func (m *MockClient) Rename(arg0, arg1 string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFileStatus(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListFileStatus(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Mkdirs(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Rename(arg0, arg1 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) Create ¶
func (m *MockClient) Create(arg0 string, arg1 io.Reader) error
Create 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) GetFileStatus ¶
func (m *MockClient) GetFileStatus(arg0 string) (webhdfs.FileStatus, error)
GetFileStatus mocks base method
func (*MockClient) ListFileStatus ¶
func (m *MockClient) ListFileStatus(arg0 string) ([]webhdfs.FileStatus, error)
ListFileStatus mocks base method
func (*MockClient) Open ¶
func (m *MockClient) Open(arg0 string, arg1 io.Writer) error
Open mocks base method
func (*MockClient) Rename ¶
func (m *MockClient) Rename(arg0, arg1 string) error
Rename mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Create ¶
func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) GetFileStatus ¶
func (mr *MockClientMockRecorder) GetFileStatus(arg0 interface{}) *gomock.Call
GetFileStatus indicates an expected call of GetFileStatus
func (*MockClientMockRecorder) ListFileStatus ¶
func (mr *MockClientMockRecorder) ListFileStatus(arg0 interface{}) *gomock.Call
ListFileStatus indicates an expected call of ListFileStatus
func (*MockClientMockRecorder) Mkdirs ¶
func (mr *MockClientMockRecorder) Mkdirs(arg0 interface{}) *gomock.Call
Mkdirs indicates an expected call of Mkdirs
func (*MockClientMockRecorder) Open ¶
func (mr *MockClientMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockClientMockRecorder) Rename ¶
func (mr *MockClientMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename