store

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidTombstoneEntry = errors.New("invalid tombstone entry")

Functions

This section is empty.

Types

type TombstoneEntry

type TombstoneEntry struct {
	Index      uint64
	AppendedAt int64
	*metastorev1.Tombstones
}

type TombstoneStore

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

func NewTombstoneStore

func NewTombstoneStore() *TombstoneStore

func (*TombstoneStore) CreateBuckets

func (s *TombstoneStore) CreateBuckets(tx *bbolt.Tx) error

func (*TombstoneStore) DeleteTombstones

func (s *TombstoneStore) DeleteTombstones(tx *bbolt.Tx, entry TombstoneEntry) error

func (*TombstoneStore) ListEntries

func (s *TombstoneStore) ListEntries(tx *bbolt.Tx) iter.Iterator[TombstoneEntry]

func (*TombstoneStore) StoreTombstones

func (s *TombstoneStore) StoreTombstones(tx *bbolt.Tx, entry TombstoneEntry) error

Jump to

Keyboard shortcuts

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