Documentation ¶
Overview ¶
Package mock_spacestorage is a generated GoMock package.
Index ¶
- type MockSpaceStorage
- func (m *MockSpaceStorage) AclStorage() (liststorage.ListStorage, error)
- func (m *MockSpaceStorage) Close() error
- func (m *MockSpaceStorage) CreateTreeStorage(arg0 treestorage.TreeStorageCreatePayload) (treestorage.TreeStorage, error)
- func (m *MockSpaceStorage) EXPECT() *MockSpaceStorageMockRecorder
- func (m *MockSpaceStorage) HasTree(arg0 string) (bool, error)
- func (m *MockSpaceStorage) Id() string
- func (m *MockSpaceStorage) IsSpaceDeleted() (bool, error)
- func (m *MockSpaceStorage) ReadSpaceHash() (string, error)
- func (m *MockSpaceStorage) SetSpaceDeleted() error
- func (m *MockSpaceStorage) SetTreeDeletedStatus(arg0, arg1 string) error
- func (m *MockSpaceStorage) SpaceHeader() (*spacesyncproto.RawSpaceHeaderWithId, error)
- func (m *MockSpaceStorage) SpaceSettingsId() string
- func (m *MockSpaceStorage) StoredIds() ([]string, error)
- func (m *MockSpaceStorage) TreeDeletedStatus(arg0 string) (string, error)
- func (m *MockSpaceStorage) TreeRoot(arg0 string) (*treechangeproto.RawTreeChangeWithId, error)
- func (m *MockSpaceStorage) TreeStorage(arg0 string) (treestorage.TreeStorage, error)
- func (m *MockSpaceStorage) WriteSpaceHash(arg0 string) error
- type MockSpaceStorageMockRecorder
- func (mr *MockSpaceStorageMockRecorder) AclStorage() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) Close() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) CreateTreeStorage(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) HasTree(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) Id() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) IsSpaceDeleted() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) ReadSpaceHash() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) SetSpaceDeleted() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) SetTreeDeletedStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) SpaceHeader() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) SpaceSettingsId() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) StoredIds() *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) TreeDeletedStatus(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) TreeRoot(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) TreeStorage(arg0 interface{}) *gomock.Call
- func (mr *MockSpaceStorageMockRecorder) WriteSpaceHash(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSpaceStorage ¶
type MockSpaceStorage struct {
// contains filtered or unexported fields
}
MockSpaceStorage is a mock of SpaceStorage interface.
func NewMockSpaceStorage ¶
func NewMockSpaceStorage(ctrl *gomock.Controller) *MockSpaceStorage
NewMockSpaceStorage creates a new mock instance.
func (*MockSpaceStorage) AclStorage ¶
func (m *MockSpaceStorage) AclStorage() (liststorage.ListStorage, error)
AclStorage mocks base method.
func (*MockSpaceStorage) CreateTreeStorage ¶
func (m *MockSpaceStorage) CreateTreeStorage(arg0 treestorage.TreeStorageCreatePayload) (treestorage.TreeStorage, error)
CreateTreeStorage mocks base method.
func (*MockSpaceStorage) EXPECT ¶
func (m *MockSpaceStorage) EXPECT() *MockSpaceStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpaceStorage) HasTree ¶
func (m *MockSpaceStorage) HasTree(arg0 string) (bool, error)
HasTree mocks base method.
func (*MockSpaceStorage) IsSpaceDeleted ¶
func (m *MockSpaceStorage) IsSpaceDeleted() (bool, error)
IsSpaceDeleted mocks base method.
func (*MockSpaceStorage) ReadSpaceHash ¶
func (m *MockSpaceStorage) ReadSpaceHash() (string, error)
ReadSpaceHash mocks base method.
func (*MockSpaceStorage) SetSpaceDeleted ¶
func (m *MockSpaceStorage) SetSpaceDeleted() error
SetSpaceDeleted mocks base method.
func (*MockSpaceStorage) SetTreeDeletedStatus ¶
func (m *MockSpaceStorage) SetTreeDeletedStatus(arg0, arg1 string) error
SetTreeDeletedStatus mocks base method.
func (*MockSpaceStorage) SpaceHeader ¶
func (m *MockSpaceStorage) SpaceHeader() (*spacesyncproto.RawSpaceHeaderWithId, error)
SpaceHeader mocks base method.
func (*MockSpaceStorage) SpaceSettingsId ¶
func (m *MockSpaceStorage) SpaceSettingsId() string
SpaceSettingsId mocks base method.
func (*MockSpaceStorage) StoredIds ¶
func (m *MockSpaceStorage) StoredIds() ([]string, error)
StoredIds mocks base method.
func (*MockSpaceStorage) TreeDeletedStatus ¶
func (m *MockSpaceStorage) TreeDeletedStatus(arg0 string) (string, error)
TreeDeletedStatus mocks base method.
func (*MockSpaceStorage) TreeRoot ¶
func (m *MockSpaceStorage) TreeRoot(arg0 string) (*treechangeproto.RawTreeChangeWithId, error)
TreeRoot mocks base method.
func (*MockSpaceStorage) TreeStorage ¶
func (m *MockSpaceStorage) TreeStorage(arg0 string) (treestorage.TreeStorage, error)
TreeStorage mocks base method.
func (*MockSpaceStorage) WriteSpaceHash ¶
func (m *MockSpaceStorage) WriteSpaceHash(arg0 string) error
WriteSpaceHash mocks base method.
type MockSpaceStorageMockRecorder ¶
type MockSpaceStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockSpaceStorageMockRecorder is the mock recorder for MockSpaceStorage.
func (*MockSpaceStorageMockRecorder) AclStorage ¶
func (mr *MockSpaceStorageMockRecorder) AclStorage() *gomock.Call
AclStorage indicates an expected call of AclStorage.
func (*MockSpaceStorageMockRecorder) Close ¶
func (mr *MockSpaceStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSpaceStorageMockRecorder) CreateTreeStorage ¶
func (mr *MockSpaceStorageMockRecorder) CreateTreeStorage(arg0 interface{}) *gomock.Call
CreateTreeStorage indicates an expected call of CreateTreeStorage.
func (*MockSpaceStorageMockRecorder) HasTree ¶
func (mr *MockSpaceStorageMockRecorder) HasTree(arg0 interface{}) *gomock.Call
HasTree indicates an expected call of HasTree.
func (*MockSpaceStorageMockRecorder) Id ¶
func (mr *MockSpaceStorageMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockSpaceStorageMockRecorder) IsSpaceDeleted ¶
func (mr *MockSpaceStorageMockRecorder) IsSpaceDeleted() *gomock.Call
IsSpaceDeleted indicates an expected call of IsSpaceDeleted.
func (*MockSpaceStorageMockRecorder) ReadSpaceHash ¶
func (mr *MockSpaceStorageMockRecorder) ReadSpaceHash() *gomock.Call
ReadSpaceHash indicates an expected call of ReadSpaceHash.
func (*MockSpaceStorageMockRecorder) SetSpaceDeleted ¶
func (mr *MockSpaceStorageMockRecorder) SetSpaceDeleted() *gomock.Call
SetSpaceDeleted indicates an expected call of SetSpaceDeleted.
func (*MockSpaceStorageMockRecorder) SetTreeDeletedStatus ¶
func (mr *MockSpaceStorageMockRecorder) SetTreeDeletedStatus(arg0, arg1 interface{}) *gomock.Call
SetTreeDeletedStatus indicates an expected call of SetTreeDeletedStatus.
func (*MockSpaceStorageMockRecorder) SpaceHeader ¶
func (mr *MockSpaceStorageMockRecorder) SpaceHeader() *gomock.Call
SpaceHeader indicates an expected call of SpaceHeader.
func (*MockSpaceStorageMockRecorder) SpaceSettingsId ¶
func (mr *MockSpaceStorageMockRecorder) SpaceSettingsId() *gomock.Call
SpaceSettingsId indicates an expected call of SpaceSettingsId.
func (*MockSpaceStorageMockRecorder) StoredIds ¶
func (mr *MockSpaceStorageMockRecorder) StoredIds() *gomock.Call
StoredIds indicates an expected call of StoredIds.
func (*MockSpaceStorageMockRecorder) TreeDeletedStatus ¶
func (mr *MockSpaceStorageMockRecorder) TreeDeletedStatus(arg0 interface{}) *gomock.Call
TreeDeletedStatus indicates an expected call of TreeDeletedStatus.
func (*MockSpaceStorageMockRecorder) TreeRoot ¶
func (mr *MockSpaceStorageMockRecorder) TreeRoot(arg0 interface{}) *gomock.Call
TreeRoot indicates an expected call of TreeRoot.
func (*MockSpaceStorageMockRecorder) TreeStorage ¶
func (mr *MockSpaceStorageMockRecorder) TreeStorage(arg0 interface{}) *gomock.Call
TreeStorage indicates an expected call of TreeStorage.
func (*MockSpaceStorageMockRecorder) WriteSpaceHash ¶
func (mr *MockSpaceStorageMockRecorder) WriteSpaceHash(arg0 interface{}) *gomock.Call
WriteSpaceHash indicates an expected call of WriteSpaceHash.