objectstoremock

package
v0.18.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 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(cid object.CID) (*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(cid 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(cid object.CID) (*object.Object, error)

Get mocks base method.

func (*MockStore) GetByStream

func (m *MockStore) GetByStream(arg0 object.CID) (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.CID, error)

GetPinned mocks base method.

func (*MockStore) GetStreamLeaves added in v0.14.0

func (m *MockStore) GetStreamLeaves(streamRootCID object.CID) ([]object.CID, error)

GetStreamLeaves mocks base method.

func (*MockStore) IsPinned added in v0.18.0

func (m *MockStore) IsPinned(arg0 object.CID) (bool, error)

IsPinned mocks base method.

func (*MockStore) Pin added in v0.18.0

func (m *MockStore) Pin(arg0 object.CID) error

Pin 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.

func (*MockStore) RemovePin added in v0.18.0

func (m *MockStore) RemovePin(arg0 object.CID) error

RemovePin 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(cid 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(streamRootCID interface{}) *gomock.Call

GetStreamLeaves indicates an expected call of GetStreamLeaves.

func (*MockStoreMockRecorder) IsPinned added in v0.18.0

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

IsPinned indicates an expected call of IsPinned.

func (*MockStoreMockRecorder) Pin added in v0.18.0

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

Pin indicates an expected call of Pin.

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.

func (*MockStoreMockRecorder) RemovePin added in v0.18.0

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

RemovePin indicates an expected call of RemovePin.

Jump to

Keyboard shortcuts

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