Documentation ¶
Index ¶
- func NewSinkhole(name, location string) (storage.Interface, error)
- type Sinkhole
- func (s *Sinkhole) Delete(key string) error
- func (s *Sinkhole) Exists(key string) (bool, error)
- func (s *Sinkhole) Get(key string) (record.Record, error)
- func (s *Sinkhole) GetMeta(key string) (*record.Meta, error)
- func (s *Sinkhole) Injected() bool
- func (s *Sinkhole) Maintain(ctx context.Context) error
- func (s *Sinkhole) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
- func (s *Sinkhole) MaintainThorough(ctx context.Context) error
- func (s *Sinkhole) Put(r record.Record) (record.Record, error)
- func (s *Sinkhole) PutMany(shadowDelete bool) (chan<- record.Record, <-chan error)
- func (s *Sinkhole) Query(q *query.Query, local, internal bool) (*iterator.Iterator, error)
- func (s *Sinkhole) ReadOnly() bool
- func (s *Sinkhole) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sinkhole ¶
type Sinkhole struct {
// contains filtered or unexported fields
}
Sinkhole is a dummy storage.
func (*Sinkhole) MaintainRecordStates ¶ added in v0.5.2
func (s *Sinkhole) MaintainRecordStates(ctx context.Context, purgeDeletedBefore time.Time, shadowDelete bool) error
MaintainRecordStates maintains records states in the database.
func (*Sinkhole) MaintainThorough ¶
MaintainThorough runs a thorough maintenance operation on the database.
Click to show internal directories.
Click to hide internal directories.