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) 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.
Click to show internal directories.
Click to hide internal directories.