Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Iterator ¶
type Iterator interface {
iter.CloseIterator[logproto.PatternSample]
Pattern() string
Level() string
}
func NewChainedIterator ¶
NewChainedIterator returns an iterator that plays each given iterator to completion, in order, before moving to the next. It makes no assumption about the time range each iterator covers.
Producing time-ordered output, if that is required, is the caller's job.
func NewQueryClientIterator ¶
func NewQueryClientIterator(client logproto.Pattern_QueryClient) Iterator
NewQueryClientIterator returns an iterator over a QueryClient.
func NewQueryResponseIterator ¶
func NewQueryResponseIterator(resp *logproto.QueryPatternsResponse) Iterator
type PatternIter ¶
type PatternIter struct {
iter.CloseIterator[logproto.PatternSample]
// contains filtered or unexported fields
}
func NewEmpty ¶
func NewEmpty(pattern string) *PatternIter
func NewSlice ¶
func NewSlice(pattern, lvl string, s []logproto.PatternSample) *PatternIter
func (*PatternIter) Level ¶
func (s *PatternIter) Level() string
func (*PatternIter) Pattern ¶
func (s *PatternIter) Pattern() string
Click to show internal directories.
Click to hide internal directories.