Documentation ¶
Index ¶
- Variables
- type TombstoneEntry
- type TombstoneStore
- func (s *TombstoneStore) CreateBuckets(tx *bbolt.Tx) error
- func (s *TombstoneStore) DeleteTombstones(tx *bbolt.Tx, entry TombstoneEntry) error
- func (s *TombstoneStore) ListEntries(tx *bbolt.Tx) iter.Iterator[TombstoneEntry]
- func (s *TombstoneStore) StoreTombstones(tx *bbolt.Tx, entry TombstoneEntry) error
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
Click to show internal directories.
Click to hide internal directories.