mock_objecttree

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock_objecttree is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectTree

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

MockObjectTree is a mock of ObjectTree interface.

func NewMockObjectTree

func NewMockObjectTree(ctrl *gomock.Controller) *MockObjectTree

NewMockObjectTree creates a new mock instance.

func (*MockObjectTree) AclList

func (m *MockObjectTree) AclList() list.AclList

AclList mocks base method.

func (*MockObjectTree) AddContent

AddContent mocks base method.

func (*MockObjectTree) AddRawChanges

AddRawChanges mocks base method.

func (*MockObjectTree) ChangeInfo

ChangeInfo mocks base method.

func (*MockObjectTree) ChangesAfterCommonSnapshot

func (m *MockObjectTree) ChangesAfterCommonSnapshot(arg0, arg1 []string) ([]*treechangeproto.RawTreeChangeWithId, error)

ChangesAfterCommonSnapshot mocks base method.

func (*MockObjectTree) Close

func (m *MockObjectTree) Close() error

Close mocks base method.

func (*MockObjectTree) Debug

Debug mocks base method.

func (*MockObjectTree) Delete

func (m *MockObjectTree) Delete() error

Delete mocks base method.

func (*MockObjectTree) EXPECT

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

func (*MockObjectTree) GetChange

func (m *MockObjectTree) GetChange(arg0 string) (*objecttree.Change, error)

GetChange mocks base method.

func (*MockObjectTree) HasChanges

func (m *MockObjectTree) HasChanges(arg0 ...string) bool

HasChanges mocks base method.

func (*MockObjectTree) Header

Header mocks base method.

func (*MockObjectTree) Heads

func (m *MockObjectTree) Heads() []string

Heads mocks base method.

func (*MockObjectTree) Id

func (m *MockObjectTree) Id() string

Id mocks base method.

func (*MockObjectTree) IsDerived added in v0.3.2

func (m *MockObjectTree) IsDerived() bool

IsDerived mocks base method.

func (*MockObjectTree) IterateFrom

func (m *MockObjectTree) IterateFrom(arg0 string, arg1 func(*objecttree.Change, []byte) (any, error), arg2 func(*objecttree.Change) bool) error

IterateFrom mocks base method.

func (*MockObjectTree) IterateRoot

func (m *MockObjectTree) IterateRoot(arg0 func(*objecttree.Change, []byte) (any, error), arg1 func(*objecttree.Change) bool) error

IterateRoot mocks base method.

func (*MockObjectTree) Len

func (m *MockObjectTree) Len() int

Len mocks base method.

func (*MockObjectTree) Lock

func (m *MockObjectTree) Lock()

Lock mocks base method.

func (*MockObjectTree) PrepareChange

PrepareChange mocks base method.

func (*MockObjectTree) RLock

func (m *MockObjectTree) RLock()

RLock mocks base method.

func (*MockObjectTree) RUnlock

func (m *MockObjectTree) RUnlock()

RUnlock mocks base method.

func (*MockObjectTree) Root

func (m *MockObjectTree) Root() *objecttree.Change

Root mocks base method.

func (*MockObjectTree) SnapshotPath

func (m *MockObjectTree) SnapshotPath() []string

SnapshotPath mocks base method.

func (*MockObjectTree) Storage

func (m *MockObjectTree) Storage() treestorage.TreeStorage

Storage mocks base method.

func (*MockObjectTree) TryClose

func (m *MockObjectTree) TryClose(arg0 time.Duration) (bool, error)

TryClose mocks base method.

func (*MockObjectTree) TryLock

func (m *MockObjectTree) TryLock() bool

TryLock mocks base method.

func (*MockObjectTree) TryRLock

func (m *MockObjectTree) TryRLock() bool

TryRLock mocks base method.

func (*MockObjectTree) Unlock

func (m *MockObjectTree) Unlock()

Unlock mocks base method.

func (*MockObjectTree) UnmarshalledHeader

func (m *MockObjectTree) UnmarshalledHeader() *objecttree.Change

UnmarshalledHeader mocks base method.

func (*MockObjectTree) UnpackChange

func (m *MockObjectTree) UnpackChange(arg0 *treechangeproto.RawTreeChangeWithId) ([]byte, error)

UnpackChange mocks base method.

type MockObjectTreeMockRecorder

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

MockObjectTreeMockRecorder is the mock recorder for MockObjectTree.

func (*MockObjectTreeMockRecorder) AclList

func (mr *MockObjectTreeMockRecorder) AclList() *gomock.Call

AclList indicates an expected call of AclList.

func (*MockObjectTreeMockRecorder) AddContent

func (mr *MockObjectTreeMockRecorder) AddContent(arg0, arg1 any) *gomock.Call

AddContent indicates an expected call of AddContent.

func (*MockObjectTreeMockRecorder) AddRawChanges

func (mr *MockObjectTreeMockRecorder) AddRawChanges(arg0, arg1 any) *gomock.Call

AddRawChanges indicates an expected call of AddRawChanges.

func (*MockObjectTreeMockRecorder) ChangeInfo

func (mr *MockObjectTreeMockRecorder) ChangeInfo() *gomock.Call

ChangeInfo indicates an expected call of ChangeInfo.

func (*MockObjectTreeMockRecorder) ChangesAfterCommonSnapshot

func (mr *MockObjectTreeMockRecorder) ChangesAfterCommonSnapshot(arg0, arg1 any) *gomock.Call

ChangesAfterCommonSnapshot indicates an expected call of ChangesAfterCommonSnapshot.

func (*MockObjectTreeMockRecorder) Close

func (mr *MockObjectTreeMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockObjectTreeMockRecorder) Debug

func (mr *MockObjectTreeMockRecorder) Debug(arg0 any) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockObjectTreeMockRecorder) Delete

func (mr *MockObjectTreeMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockObjectTreeMockRecorder) GetChange

func (mr *MockObjectTreeMockRecorder) GetChange(arg0 any) *gomock.Call

GetChange indicates an expected call of GetChange.

func (*MockObjectTreeMockRecorder) HasChanges

func (mr *MockObjectTreeMockRecorder) HasChanges(arg0 ...any) *gomock.Call

HasChanges indicates an expected call of HasChanges.

func (*MockObjectTreeMockRecorder) Header

func (mr *MockObjectTreeMockRecorder) Header() *gomock.Call

Header indicates an expected call of Header.

func (*MockObjectTreeMockRecorder) Heads

func (mr *MockObjectTreeMockRecorder) Heads() *gomock.Call

Heads indicates an expected call of Heads.

func (*MockObjectTreeMockRecorder) Id

Id indicates an expected call of Id.

func (*MockObjectTreeMockRecorder) IsDerived added in v0.3.2

func (mr *MockObjectTreeMockRecorder) IsDerived() *gomock.Call

IsDerived indicates an expected call of IsDerived.

func (*MockObjectTreeMockRecorder) IterateFrom

func (mr *MockObjectTreeMockRecorder) IterateFrom(arg0, arg1, arg2 any) *gomock.Call

IterateFrom indicates an expected call of IterateFrom.

func (*MockObjectTreeMockRecorder) IterateRoot

func (mr *MockObjectTreeMockRecorder) IterateRoot(arg0, arg1 any) *gomock.Call

IterateRoot indicates an expected call of IterateRoot.

func (*MockObjectTreeMockRecorder) Len

Len indicates an expected call of Len.

func (*MockObjectTreeMockRecorder) Lock

Lock indicates an expected call of Lock.

func (*MockObjectTreeMockRecorder) PrepareChange

func (mr *MockObjectTreeMockRecorder) PrepareChange(arg0 any) *gomock.Call

PrepareChange indicates an expected call of PrepareChange.

func (*MockObjectTreeMockRecorder) RLock

func (mr *MockObjectTreeMockRecorder) RLock() *gomock.Call

RLock indicates an expected call of RLock.

func (*MockObjectTreeMockRecorder) RUnlock

func (mr *MockObjectTreeMockRecorder) RUnlock() *gomock.Call

RUnlock indicates an expected call of RUnlock.

func (*MockObjectTreeMockRecorder) Root

Root indicates an expected call of Root.

func (*MockObjectTreeMockRecorder) SnapshotPath

func (mr *MockObjectTreeMockRecorder) SnapshotPath() *gomock.Call

SnapshotPath indicates an expected call of SnapshotPath.

func (*MockObjectTreeMockRecorder) Storage

func (mr *MockObjectTreeMockRecorder) Storage() *gomock.Call

Storage indicates an expected call of Storage.

func (*MockObjectTreeMockRecorder) TryClose

func (mr *MockObjectTreeMockRecorder) TryClose(arg0 any) *gomock.Call

TryClose indicates an expected call of TryClose.

func (*MockObjectTreeMockRecorder) TryLock

func (mr *MockObjectTreeMockRecorder) TryLock() *gomock.Call

TryLock indicates an expected call of TryLock.

func (*MockObjectTreeMockRecorder) TryRLock

func (mr *MockObjectTreeMockRecorder) TryRLock() *gomock.Call

TryRLock indicates an expected call of TryRLock.

func (*MockObjectTreeMockRecorder) Unlock

func (mr *MockObjectTreeMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock.

func (*MockObjectTreeMockRecorder) UnmarshalledHeader

func (mr *MockObjectTreeMockRecorder) UnmarshalledHeader() *gomock.Call

UnmarshalledHeader indicates an expected call of UnmarshalledHeader.

func (*MockObjectTreeMockRecorder) UnpackChange

func (mr *MockObjectTreeMockRecorder) UnpackChange(arg0 any) *gomock.Call

UnpackChange indicates an expected call of UnpackChange.

Jump to

Keyboard shortcuts

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