mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskStore

type DiskStore struct {
	mock.Mock
}

DiskStore is an autogenerated mock type for the DiskStore type

func (*DiskStore) DeleteBatchVersions

func (_m *DiskStore) DeleteBatchVersions(table string, shard int, batchID int, batchVersion uint32, seqNum uint32) error

DeleteBatchVersions provides a mock function with given fields: table, shard, batchID, batchVersion, seqNum

func (*DiskStore) DeleteBatches

func (_m *DiskStore) DeleteBatches(table string, shard int, batchIDStart int, batchIDEnd int) (int, error)

DeleteBatches provides a mock function with given fields: table, shard, batchIDStart, batchIDEnd

func (*DiskStore) DeleteColumn

func (_m *DiskStore) DeleteColumn(table string, column int, shard int) error

DeleteColumn provides a mock function with given fields: table, column, shard

func (*DiskStore) DeleteLogFile

func (_m *DiskStore) DeleteLogFile(table string, shard int, creationTime int64) error

DeleteLogFile provides a mock function with given fields: table, shard, creationTime

func (*DiskStore) DeleteSnapshot

func (_m *DiskStore) DeleteSnapshot(table string, shard int, redoLogFile int64, offset uint32) error

DeleteSnapshot provides a mock function with given fields: table, shard, redoLogFile, offset

func (*DiskStore) DeleteTableShard

func (_m *DiskStore) DeleteTableShard(table string, shard int) error

DeleteTableShard provides a mock function with given fields: table, shard

func (*DiskStore) ListLogFiles

func (_m *DiskStore) ListLogFiles(table string, shard int) ([]int64, error)

ListLogFiles provides a mock function with given fields: table, shard

func (*DiskStore) ListSnapshotBatches

func (_m *DiskStore) ListSnapshotBatches(table string, shard int, redoLogFile int64, offset uint32) ([]int, error)

ListSnapshotBatches provides a mock function with given fields: table, shard, redoLogFile, offset

func (*DiskStore) ListSnapshotVectorPartyFiles

func (_m *DiskStore) ListSnapshotVectorPartyFiles(table string, shard int, redoLogFile int64, offset uint32, batchID int) ([]int, error)

ListSnapshotVectorPartyFiles provides a mock function with given fields: table, shard, redoLogFile, offset, batchID

func (*DiskStore) OpenLogFileForAppend

func (_m *DiskStore) OpenLogFileForAppend(table string, shard int, creationTime int64) (io.WriteCloser, error)

OpenLogFileForAppend provides a mock function with given fields: table, shard, creationTime

func (*DiskStore) OpenLogFileForReplay

func (_m *DiskStore) OpenLogFileForReplay(table string, shard int, creationTime int64) (utils.ReaderSeekerCloser, error)

OpenLogFileForReplay provides a mock function with given fields: table, shard, creationTime

func (*DiskStore) OpenSnapshotVectorPartyFileForRead

func (_m *DiskStore) OpenSnapshotVectorPartyFileForRead(table string, shard int, redoLogFile int64, offset uint32, batchID int, columnID int) (io.ReadCloser, error)

OpenSnapshotVectorPartyFileForRead provides a mock function with given fields: table, shard, redoLogFile, offset, batchID, columnID

func (*DiskStore) OpenSnapshotVectorPartyFileForWrite

func (_m *DiskStore) OpenSnapshotVectorPartyFileForWrite(table string, shard int, redoLogFile int64, offset uint32, batchID int, columnID int) (io.WriteCloser, error)

OpenSnapshotVectorPartyFileForWrite provides a mock function with given fields: table, shard, redoLogFile, offset, batchID, columnID

func (*DiskStore) OpenVectorPartyFileForRead

func (_m *DiskStore) OpenVectorPartyFileForRead(table string, column int, shard int, batchID int, batchVersion uint32, seqNum uint32) (io.ReadCloser, error)

OpenVectorPartyFileForRead provides a mock function with given fields: table, column, shard, batchID, batchVersion, seqNum

func (*DiskStore) OpenVectorPartyFileForWrite

func (_m *DiskStore) OpenVectorPartyFileForWrite(table string, column int, shard int, batchID int, batchVersion uint32, seqNum uint32) (io.WriteCloser, error)

OpenVectorPartyFileForWrite provides a mock function with given fields: table, column, shard, batchID, batchVersion, seqNum

func (*DiskStore) TruncateLogFile

func (_m *DiskStore) TruncateLogFile(table string, shard int, creationTime int64, offset int64) error

TruncateLogFile provides a mock function with given fields: table, shard, creationTime, offset

Jump to

Keyboard shortcuts

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