mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datafile

type Datafile struct {
	mock.Mock
}

Datafile is an autogenerated mock type for the Datafile type

func (*Datafile) Close

func (_m *Datafile) Close() error

Close provides a mock function with given fields:

func (*Datafile) FileID

func (_m *Datafile) FileID() int

FileID provides a mock function with given fields:

func (*Datafile) Name

func (_m *Datafile) Name() string

Name provides a mock function with given fields:

func (*Datafile) Read

func (_m *Datafile) Read() (internal.Entry, int64, error)

Read provides a mock function with given fields:

func (*Datafile) ReadAt

func (_m *Datafile) ReadAt(index int64, size int64) (internal.Entry, error)

ReadAt provides a mock function with given fields: index, size

func (*Datafile) Size

func (_m *Datafile) Size() int64

Size provides a mock function with given fields:

func (*Datafile) Sync

func (_m *Datafile) Sync() error

Sync provides a mock function with given fields:

func (*Datafile) Write

func (_m *Datafile) Write(_a0 internal.Entry) (int64, int64, error)

Write provides a mock function with given fields: _a0

type Indexer

type Indexer struct {
	mock.Mock
}

Indexer is an autogenerated mock type for the Indexer type

func (*Indexer) Load

func (_m *Indexer) Load(path string, maxkeySize uint32) (art.Tree, bool, error)

Load provides a mock function with given fields: path, maxkeySize

func (*Indexer) Save

func (_m *Indexer) Save(t art.Tree, path string) error

Save provides a mock function with given fields: t, path

Jump to

Keyboard shortcuts

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