objectstoremock

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: 4 Imported by: 0

Documentation

Overview

Package objectstoremock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGetter

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

MockGetter is a mock of Getter interface

func NewMockGetter

func NewMockGetter(ctrl *gomock.Controller) *MockGetter

NewMockGetter creates a new mock instance

func (*MockGetter) EXPECT

func (m *MockGetter) EXPECT() *MockGetterMockRecorder

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

func (*MockGetter) Get

func (m *MockGetter) Get(hash object.Hash) (*object.Object, error)

Get mocks base method

type MockGetterMockRecorder

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

MockGetterMockRecorder is the mock recorder for MockGetter

func (*MockGetterMockRecorder) Get

func (mr *MockGetterMockRecorder) Get(hash interface{}) *gomock.Call

Get indicates an expected call of Get

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Get

func (m *MockStore) Get(hash object.Hash) (*object.Object, error)

Get mocks base method

func (*MockStore) GetByStream

func (m *MockStore) GetByStream(arg0 object.Hash) (object.ReadCloser, error)

GetByStream mocks base method

func (*MockStore) GetByType

func (m *MockStore) GetByType(arg0 string) (object.ReadCloser, error)

GetByType mocks base method

func (*MockStore) GetPinned added in v0.11.4

func (m *MockStore) GetPinned() ([]object.Hash, error)

GetPinned mocks base method

func (*MockStore) GetStreamLeaves added in v0.14.0

func (m *MockStore) GetStreamLeaves(streamRootHash object.Hash) ([]object.Hash, error)

GetStreamLeaves mocks base method

func (*MockStore) Put

func (m *MockStore) Put(arg0 *object.Object) error

Put mocks base method

func (*MockStore) PutWithTTL added in v0.14.0

func (m *MockStore) PutWithTTL(arg0 *object.Object, arg1 time.Duration) error

PutWithTTL mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(hash interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStoreMockRecorder) GetByStream

func (mr *MockStoreMockRecorder) GetByStream(arg0 interface{}) *gomock.Call

GetByStream indicates an expected call of GetByStream

func (*MockStoreMockRecorder) GetByType

func (mr *MockStoreMockRecorder) GetByType(arg0 interface{}) *gomock.Call

GetByType indicates an expected call of GetByType

func (*MockStoreMockRecorder) GetPinned added in v0.11.4

func (mr *MockStoreMockRecorder) GetPinned() *gomock.Call

GetPinned indicates an expected call of GetPinned

func (*MockStoreMockRecorder) GetStreamLeaves added in v0.14.0

func (mr *MockStoreMockRecorder) GetStreamLeaves(streamRootHash interface{}) *gomock.Call

GetStreamLeaves indicates an expected call of GetStreamLeaves

func (*MockStoreMockRecorder) Put

func (mr *MockStoreMockRecorder) Put(arg0 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockStoreMockRecorder) PutWithTTL added in v0.14.0

func (mr *MockStoreMockRecorder) PutWithTTL(arg0, arg1 interface{}) *gomock.Call

PutWithTTL indicates an expected call of PutWithTTL

Jump to

Keyboard shortcuts

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