primary

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Key = []byte("index")

Functions

This section is empty.

Types

type PrimaryIndex

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

func LoadPrimaryIndex

func LoadPrimaryIndex(o *v1.PrimaryIndex, storage db.Storage) *PrimaryIndex

func NewPrimary

func NewPrimary(store db.Storage) (idx *PrimaryIndex, err error)

func (*PrimaryIndex) Add

func (p *PrimaryIndex) Add(resource string, granule *v1.Granule)

func (*PrimaryIndex) FindGranules

func (p *PrimaryIndex) FindGranules(resource string, start, end int64) []string

Jump to

Keyboard shortcuts

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