Help us shape the future of Go! Take the 2026 Go Developer Survey

filter

package
v0.42.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowAllStoreFilter

type AllowAllStoreFilter struct{}

func (AllowAllStoreFilter) Matches

func (f AllowAllStoreFilter) Matches(matchers []*labels.Matcher) bool

func (AllowAllStoreFilter) ResetAndSet

func (f AllowAllStoreFilter) ResetAndSet(values ...string)

type CuckooMetricNameStoreFilter

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

func NewCuckooMetricNameStoreFilter

func NewCuckooMetricNameStoreFilter(capacity uint) *CuckooMetricNameStoreFilter

func (*CuckooMetricNameStoreFilter) Matches

func (f *CuckooMetricNameStoreFilter) Matches(matchers []*labels.Matcher) bool

func (*CuckooMetricNameStoreFilter) ResetAndSet

func (f *CuckooMetricNameStoreFilter) ResetAndSet(values ...string)

type StoreFilter

type StoreFilter interface {
	// Matches returns true if the filter matches the given matchers.
	Matches(matchers []*labels.Matcher) bool

	// ResetAndSet resets the filter and sets it to the given values.
	ResetAndSet(values ...string)
}

Jump to

Keyboard shortcuts

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