mockwebhdfs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockwebhdfs is a generated GoMock package.

Index

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) Mkdirs

func (m *MockClient) Mkdirs(arg0 string) error

Mkdirs 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

Jump to

Keyboard shortcuts

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