index

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllPostingsKey

func AllPostingsKey() (name, value string)

AllPostingsKey returns the label key that is used to store the postings list of all existing IDs.

Types

type MemPostings

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

func NewMemPostings

func NewMemPostings() *MemPostings

func (*MemPostings) Add

func (p *MemPostings) Add(id uint64, lset labels.Labels)

func (*MemPostings) Get

func (p *MemPostings) Get(name, value string) *sroar.Bitmap

func (*MemPostings) LabelNames

func (p *MemPostings) LabelNames() []string

LabelNames returns all the unique label names.

func (*MemPostings) LabelValues

func (p *MemPostings) LabelValues(name string) []string

LabelValues returns label values for the given name.

Jump to

Keyboard shortcuts

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