mock_spacestorage

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/commonspace/spacestorage (interfaces: SpaceStorage)

Generated by this command:

mockgen -destination mock_spacestorage/mock_spacestorage.go github.com/anyproto/any-sync/commonspace/spacestorage SpaceStorage

Package mock_spacestorage is a generated GoMock package.

Index

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) Close

func (m *MockSpaceStorage) Close(arg0 context.Context) error

Close mocks base method.

func (*MockSpaceStorage) CreateTreeStorage

CreateTreeStorage mocks base method.

func (*MockSpaceStorage) EXPECT

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) Id

func (m *MockSpaceStorage) Id() string

Id mocks base method.

func (*MockSpaceStorage) Init added in v0.2.0

func (m *MockSpaceStorage) Init(arg0 *app.App) error

Init mocks base method.

func (*MockSpaceStorage) IsSpaceDeleted

func (m *MockSpaceStorage) IsSpaceDeleted() (bool, error)

IsSpaceDeleted mocks base method.

func (*MockSpaceStorage) Name added in v0.2.0

func (m *MockSpaceStorage) Name() string

Name mocks base method.

func (*MockSpaceStorage) ReadOldSpaceHash added in v0.3.11

func (m *MockSpaceStorage) ReadOldSpaceHash() (string, error)

ReadOldSpaceHash mocks base method.

func (*MockSpaceStorage) ReadSpaceHash

func (m *MockSpaceStorage) ReadSpaceHash() (string, error)

ReadSpaceHash mocks base method.

func (*MockSpaceStorage) Run added in v0.2.0

func (m *MockSpaceStorage) Run(arg0 context.Context) error

Run 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

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

TreeRoot mocks base method.

func (*MockSpaceStorage) TreeStorage

func (m *MockSpaceStorage) TreeStorage(arg0 string) (treestorage.TreeStorage, error)

TreeStorage mocks base method.

func (*MockSpaceStorage) WriteOldSpaceHash added in v0.3.11

func (m *MockSpaceStorage) WriteOldSpaceHash(arg0 string) error

WriteOldSpaceHash 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(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockSpaceStorageMockRecorder) CreateTreeStorage

func (mr *MockSpaceStorageMockRecorder) CreateTreeStorage(arg0 any) *gomock.Call

CreateTreeStorage indicates an expected call of CreateTreeStorage.

func (*MockSpaceStorageMockRecorder) HasTree

func (mr *MockSpaceStorageMockRecorder) HasTree(arg0 any) *gomock.Call

HasTree indicates an expected call of HasTree.

func (*MockSpaceStorageMockRecorder) Id

Id indicates an expected call of Id.

func (*MockSpaceStorageMockRecorder) Init added in v0.2.0

func (mr *MockSpaceStorageMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockSpaceStorageMockRecorder) IsSpaceDeleted

func (mr *MockSpaceStorageMockRecorder) IsSpaceDeleted() *gomock.Call

IsSpaceDeleted indicates an expected call of IsSpaceDeleted.

func (*MockSpaceStorageMockRecorder) Name added in v0.2.0

Name indicates an expected call of Name.

func (*MockSpaceStorageMockRecorder) ReadOldSpaceHash added in v0.3.11

func (mr *MockSpaceStorageMockRecorder) ReadOldSpaceHash() *gomock.Call

ReadOldSpaceHash indicates an expected call of ReadOldSpaceHash.

func (*MockSpaceStorageMockRecorder) ReadSpaceHash

func (mr *MockSpaceStorageMockRecorder) ReadSpaceHash() *gomock.Call

ReadSpaceHash indicates an expected call of ReadSpaceHash.

func (*MockSpaceStorageMockRecorder) Run added in v0.2.0

Run indicates an expected call of Run.

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 any) *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 any) *gomock.Call

TreeDeletedStatus indicates an expected call of TreeDeletedStatus.

func (*MockSpaceStorageMockRecorder) TreeRoot

func (mr *MockSpaceStorageMockRecorder) TreeRoot(arg0 any) *gomock.Call

TreeRoot indicates an expected call of TreeRoot.

func (*MockSpaceStorageMockRecorder) TreeStorage

func (mr *MockSpaceStorageMockRecorder) TreeStorage(arg0 any) *gomock.Call

TreeStorage indicates an expected call of TreeStorage.

func (*MockSpaceStorageMockRecorder) WriteOldSpaceHash added in v0.3.11

func (mr *MockSpaceStorageMockRecorder) WriteOldSpaceHash(arg0 any) *gomock.Call

WriteOldSpaceHash indicates an expected call of WriteOldSpaceHash.

func (*MockSpaceStorageMockRecorder) WriteSpaceHash

func (mr *MockSpaceStorageMockRecorder) WriteSpaceHash(arg0 any) *gomock.Call

WriteSpaceHash indicates an expected call of WriteSpaceHash.

Jump to

Keyboard shortcuts

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