objectmanagermock

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package objectmanagermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectManager

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

MockObjectManager is a mock of ObjectManager interface

func NewMockObjectManager

func NewMockObjectManager(ctrl *gomock.Controller) *MockObjectManager

NewMockObjectManager creates a new mock instance

func (*MockObjectManager) EXPECT

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

func (*MockObjectManager) Put

Put mocks base method

func (*MockObjectManager) Request

func (m *MockObjectManager) Request(ctx context.Context, hash object.Hash, peer *peer.ConnectionInfo) (*object.Object, error)

Request mocks base method

func (*MockObjectManager) RequestStream

func (m *MockObjectManager) RequestStream(ctx context.Context, rootHash object.Hash, recipients ...*peer.ConnectionInfo) (object.ReadCloser, error)

RequestStream mocks base method

func (*MockObjectManager) Subscribe

Subscribe mocks base method

type MockObjectManagerMockRecorder

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

MockObjectManagerMockRecorder is the mock recorder for MockObjectManager

func (*MockObjectManagerMockRecorder) Put

func (mr *MockObjectManagerMockRecorder) Put(ctx, o interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockObjectManagerMockRecorder) Request

func (mr *MockObjectManagerMockRecorder) Request(ctx, hash, peer interface{}) *gomock.Call

Request indicates an expected call of Request

func (*MockObjectManagerMockRecorder) RequestStream

func (mr *MockObjectManagerMockRecorder) RequestStream(ctx, rootHash interface{}, recipients ...interface{}) *gomock.Call

RequestStream indicates an expected call of RequestStream

func (*MockObjectManagerMockRecorder) Subscribe

func (mr *MockObjectManagerMockRecorder) Subscribe(lookupOptions ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

Jump to

Keyboard shortcuts

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