mockhandler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockhandler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

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

MockHandler is a mock of Handler interface

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) AbortWrite

func (m *MockHandler) AbortWrite(arg0 context.Context, arg1 go_uuid.UUID) error

AbortWrite mocks base method

func (*MockHandler) BeginWrite

func (m *MockHandler) BeginWrite(arg0 context.Context, arg1 string) (go_uuid.UUID, error)

BeginWrite mocks base method

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) EndWrite

func (m *MockHandler) EndWrite(arg0 context.Context, arg1 go_uuid.UUID) ([]byte, error)

EndWrite mocks base method

func (*MockHandler) Exists

func (m *MockHandler) Exists(arg0 context.Context, arg1 []byte) (bool, error)

Exists mocks base method

func (*MockHandler) Read

func (m *MockHandler) Read(arg0 context.Context, arg1 []byte) ([]byte, error)

Read mocks base method

func (*MockHandler) ReadChunks

func (m *MockHandler) ReadChunks(arg0 context.Context, arg1 []byte, arg2 int, arg3 file.Reader) error

ReadChunks mocks base method

func (*MockHandler) WriteChunk

func (m *MockHandler) WriteChunk(arg0 context.Context, arg1 go_uuid.UUID, arg2 []byte) error

WriteChunk mocks base method

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) AbortWrite

func (mr *MockHandlerMockRecorder) AbortWrite(arg0, arg1 interface{}) *gomock.Call

AbortWrite indicates an expected call of AbortWrite

func (*MockHandlerMockRecorder) BeginWrite

func (mr *MockHandlerMockRecorder) BeginWrite(arg0, arg1 interface{}) *gomock.Call

BeginWrite indicates an expected call of BeginWrite

func (*MockHandlerMockRecorder) EndWrite

func (mr *MockHandlerMockRecorder) EndWrite(arg0, arg1 interface{}) *gomock.Call

EndWrite indicates an expected call of EndWrite

func (*MockHandlerMockRecorder) Exists

func (mr *MockHandlerMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockHandlerMockRecorder) Read

func (mr *MockHandlerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockHandlerMockRecorder) ReadChunks

func (mr *MockHandlerMockRecorder) ReadChunks(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ReadChunks indicates an expected call of ReadChunks

func (*MockHandlerMockRecorder) WriteChunk

func (mr *MockHandlerMockRecorder) WriteChunk(arg0, arg1, arg2 interface{}) *gomock.Call

WriteChunk indicates an expected call of WriteChunk

type MockReader

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

MockReader is a mock of Reader interface

func NewMockReader

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) OnChunk

func (m *MockReader) OnChunk(arg0 []byte, arg1 string) error

OnChunk mocks base method

type MockReaderMockRecorder

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

MockReaderMockRecorder is the mock recorder for MockReader

func (*MockReaderMockRecorder) OnChunk

func (mr *MockReaderMockRecorder) OnChunk(arg0, arg1 interface{}) *gomock.Call

OnChunk indicates an expected call of OnChunk

Jump to

Keyboard shortcuts

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