mock_nodehead

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-node/nodehead (interfaces: NodeHead)

Generated by this command:

mockgen -destination mock_nodehead/mock_nodehead.go github.com/anyproto/any-sync-node/nodehead NodeHead

Package mock_nodehead is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNodeHead

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

MockNodeHead is a mock of NodeHead interface.

func NewMockNodeHead

func NewMockNodeHead(ctrl *gomock.Controller) *MockNodeHead

NewMockNodeHead creates a new mock instance.

func (*MockNodeHead) Close

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

Close mocks base method.

func (*MockNodeHead) DeleteHeads added in v0.3.9

func (m *MockNodeHead) DeleteHeads(arg0 string) error

DeleteHeads mocks base method.

func (*MockNodeHead) EXPECT

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

func (*MockNodeHead) GetHead

func (m *MockNodeHead) GetHead(arg0 string) (string, error)

GetHead mocks base method.

func (*MockNodeHead) GetOldHead added in v0.3.9

func (m *MockNodeHead) GetOldHead(arg0 string) (string, error)

GetOldHead mocks base method.

func (*MockNodeHead) Init

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

Init mocks base method.

func (*MockNodeHead) LDiff

func (m *MockNodeHead) LDiff(arg0 int) ldiff.Diff

LDiff mocks base method.

func (*MockNodeHead) Name

func (m *MockNodeHead) Name() string

Name mocks base method.

func (*MockNodeHead) Ranges

func (m *MockNodeHead) Ranges(arg0 context.Context, arg1 int, arg2 []ldiff.Range, arg3 []ldiff.RangeResult) ([]ldiff.RangeResult, error)

Ranges mocks base method.

func (*MockNodeHead) ReloadHeadFromStore

func (m *MockNodeHead) ReloadHeadFromStore(arg0 string) error

ReloadHeadFromStore mocks base method.

func (*MockNodeHead) Run

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

Run mocks base method.

func (*MockNodeHead) SetHead

func (m *MockNodeHead) SetHead(arg0, arg1 string) (int, error)

SetHead mocks base method.

func (*MockNodeHead) SetOldHead added in v0.3.9

func (m *MockNodeHead) SetOldHead(arg0, arg1 string) (int, error)

SetOldHead mocks base method.

type MockNodeHeadMockRecorder

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

MockNodeHeadMockRecorder is the mock recorder for MockNodeHead.

func (*MockNodeHeadMockRecorder) Close

func (mr *MockNodeHeadMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockNodeHeadMockRecorder) DeleteHeads added in v0.3.9

func (mr *MockNodeHeadMockRecorder) DeleteHeads(arg0 any) *gomock.Call

DeleteHeads indicates an expected call of DeleteHeads.

func (*MockNodeHeadMockRecorder) GetHead

func (mr *MockNodeHeadMockRecorder) GetHead(arg0 any) *gomock.Call

GetHead indicates an expected call of GetHead.

func (*MockNodeHeadMockRecorder) GetOldHead added in v0.3.9

func (mr *MockNodeHeadMockRecorder) GetOldHead(arg0 any) *gomock.Call

GetOldHead indicates an expected call of GetOldHead.

func (*MockNodeHeadMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockNodeHeadMockRecorder) LDiff

func (mr *MockNodeHeadMockRecorder) LDiff(arg0 any) *gomock.Call

LDiff indicates an expected call of LDiff.

func (*MockNodeHeadMockRecorder) Name

func (mr *MockNodeHeadMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockNodeHeadMockRecorder) Ranges

func (mr *MockNodeHeadMockRecorder) Ranges(arg0, arg1, arg2, arg3 any) *gomock.Call

Ranges indicates an expected call of Ranges.

func (*MockNodeHeadMockRecorder) ReloadHeadFromStore

func (mr *MockNodeHeadMockRecorder) ReloadHeadFromStore(arg0 any) *gomock.Call

ReloadHeadFromStore indicates an expected call of ReloadHeadFromStore.

func (*MockNodeHeadMockRecorder) Run

func (mr *MockNodeHeadMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

func (*MockNodeHeadMockRecorder) SetHead

func (mr *MockNodeHeadMockRecorder) SetHead(arg0, arg1 any) *gomock.Call

SetHead indicates an expected call of SetHead.

func (*MockNodeHeadMockRecorder) SetOldHead added in v0.3.9

func (mr *MockNodeHeadMockRecorder) SetOldHead(arg0, arg1 any) *gomock.Call

SetOldHead indicates an expected call of SetOldHead.

Jump to

Keyboard shortcuts

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