Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LegacyQueryParser ¶
type LegacyQueryParser struct {
// contains filtered or unexported fields
}
LegacyQueryParser will parse an old format un-encoded metrics query string (usually found in sli.yaml files)
func NewLegacyQueryParser ¶
func NewLegacyQueryParser(query string) *LegacyQueryParser
NewLegacyQueryParser creates a new LegacyQueryParser for the specified old format un-encoded metrics query string.
type QueryParser ¶
type QueryParser struct {
// contains filtered or unexported fields
}
QueryParser will parse an un-encoded metrics query string (usually found in sli.yaml files) into a Query
func NewQueryParser ¶
func NewQueryParser(query string) *QueryParser
NewQueryParser creates a new QueryParser for the specified query string.
type QueryProducer ¶
type QueryProducer struct {
// contains filtered or unexported fields
}
QueryProducer for metrics queries.
func NewQueryProducer ¶
func NewQueryProducer(query metrics.Query) QueryProducer
NewQueryProducer creates a QueryProducer the specified metrics Query.
func (QueryProducer) Produce ¶
func (b QueryProducer) Produce() string
Produce returns the unencoded metrics query string for a Query.
Click to show internal directories.
Click to hide internal directories.