objectmanagermock

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 7 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) AddStreamSubscription added in v0.18.0

func (m *MockObjectManager) AddStreamSubscription(ctx context.Context, rootHash tilde.Digest) error

AddStreamSubscription mocks base method.

func (*MockObjectManager) Append added in v0.19.0

Append mocks base method.

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

Request mocks base method.

func (*MockObjectManager) RequestStream

func (m *MockObjectManager) RequestStream(ctx context.Context, rootHash tilde.Digest, 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) AddStreamSubscription added in v0.18.0

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

AddStreamSubscription indicates an expected call of AddStreamSubscription.

func (*MockObjectManagerMockRecorder) Append added in v0.19.0

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

Append indicates an expected call of Append.

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