mock_objectmanager

package
v0.5.23 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_objectmanager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectManager

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

MockObjectManager is a mock of ObjectManager interface.

func NewMockObjectManager

func NewMockObjectManager(ctrl *gomock.Controller) *MockObjectManager

NewMockObjectManager creates a new mock instance.

func (*MockObjectManager) AddObject

func (m *MockObjectManager) AddObject(object syncobjectgetter.SyncObject)

AddObject mocks base method.

func (*MockObjectManager) Close

func (m *MockObjectManager) Close(ctx context.Context) error

Close mocks base method.

func (*MockObjectManager) DeleteTree

func (m *MockObjectManager) DeleteTree(ctx context.Context, spaceId, treeId string) error

DeleteTree mocks base method.

func (*MockObjectManager) EXPECT

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

func (*MockObjectManager) GetObject

func (m *MockObjectManager) GetObject(ctx context.Context, objectId string) (syncobjectgetter.SyncObject, error)

GetObject mocks base method.

func (*MockObjectManager) GetTree

func (m *MockObjectManager) GetTree(ctx context.Context, spaceId, treeId string) (objecttree.ObjectTree, error)

GetTree mocks base method.

func (*MockObjectManager) Init

func (m *MockObjectManager) Init(a *app.App) error

Init mocks base method.

func (*MockObjectManager) MarkTreeDeleted

func (m *MockObjectManager) MarkTreeDeleted(ctx context.Context, spaceId, treeId string) error

MarkTreeDeleted mocks base method.

func (*MockObjectManager) Name

func (m *MockObjectManager) Name() string

Name mocks base method.

func (*MockObjectManager) Run

func (m *MockObjectManager) Run(ctx context.Context) error

Run mocks base method.

func (*MockObjectManager) ValidateAndPutTree

func (m *MockObjectManager) ValidateAndPutTree(ctx context.Context, spaceId string, payload treestorage.TreeStorageCreatePayload) error

ValidateAndPutTree mocks base method.

type MockObjectManagerMockRecorder

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

MockObjectManagerMockRecorder is the mock recorder for MockObjectManager.

func (*MockObjectManagerMockRecorder) AddObject

func (mr *MockObjectManagerMockRecorder) AddObject(object any) *gomock.Call

AddObject indicates an expected call of AddObject.

func (*MockObjectManagerMockRecorder) Close

func (mr *MockObjectManagerMockRecorder) Close(ctx any) *gomock.Call

Close indicates an expected call of Close.

func (*MockObjectManagerMockRecorder) DeleteTree

func (mr *MockObjectManagerMockRecorder) DeleteTree(ctx, spaceId, treeId any) *gomock.Call

DeleteTree indicates an expected call of DeleteTree.

func (*MockObjectManagerMockRecorder) GetObject

func (mr *MockObjectManagerMockRecorder) GetObject(ctx, objectId any) *gomock.Call

GetObject indicates an expected call of GetObject.

func (*MockObjectManagerMockRecorder) GetTree

func (mr *MockObjectManagerMockRecorder) GetTree(ctx, spaceId, treeId any) *gomock.Call

GetTree indicates an expected call of GetTree.

func (*MockObjectManagerMockRecorder) Init

Init indicates an expected call of Init.

func (*MockObjectManagerMockRecorder) MarkTreeDeleted

func (mr *MockObjectManagerMockRecorder) MarkTreeDeleted(ctx, spaceId, treeId any) *gomock.Call

MarkTreeDeleted indicates an expected call of MarkTreeDeleted.

func (*MockObjectManagerMockRecorder) Name

Name indicates an expected call of Name.

func (*MockObjectManagerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockObjectManagerMockRecorder) ValidateAndPutTree

func (mr *MockObjectManagerMockRecorder) ValidateAndPutTree(ctx, spaceId, payload any) *gomock.Call

ValidateAndPutTree indicates an expected call of ValidateAndPutTree.

Jump to

Keyboard shortcuts

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