Documentation ¶
Overview ¶
Package objectstoremock is a generated GoMock package.
Index ¶
- type MockGetter
- type MockGetterMockRecorder
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(hash object.Hash) (*object.Object, error)
- func (m *MockStore) GetByStream(arg0 object.Hash) (object.ReadCloser, error)
- func (m *MockStore) GetByType(arg0 string) (object.ReadCloser, error)
- func (m *MockStore) GetPinned() ([]object.Hash, error)
- func (m *MockStore) GetStreamLeaves(streamRootHash object.Hash) ([]object.Hash, error)
- func (m *MockStore) Put(arg0 *object.Object) error
- func (m *MockStore) PutWithTTL(arg0 *object.Object, arg1 time.Duration) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Get(hash interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetByStream(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetByType(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPinned() *gomock.Call
- func (mr *MockStoreMockRecorder) GetStreamLeaves(streamRootHash interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Put(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) PutWithTTL(arg0, arg1 interface{}) *gomock.Call
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
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) GetByStream ¶
GetByStream mocks base method
func (*MockStore) GetByType ¶
func (m *MockStore) GetByType(arg0 string) (object.ReadCloser, error)
GetByType mocks base method
func (*MockStore) GetStreamLeaves ¶ added in v0.14.0
GetStreamLeaves 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