mockbackend

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mockbackend 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) 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) ([]string, error)

List mocks base method

func (*MockClient) Stat

func (m *MockClient) Stat(arg0, arg1 string) (*core.BlobInfo, error)

Stat mocks base method

func (*MockClient) Upload

func (m *MockClient) Upload(arg0, arg1 string, arg2 io.Reader) error

Upload 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{}) *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
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.

Jump to

Keyboard shortcuts

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