Documentation
¶
Index ¶
Constants ¶
View Source
const MV2Prefix = "MV2"
MV2Prefix is the prefix of MV2 queries
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
Query encapsulates a MV2 query-
type QueryParser ¶
type QueryParser struct {
// contains filtered or unexported fields
}
QueryParser will parse a MV2 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 MV2 query string.
func (QueryParser) Parse ¶
func (p QueryParser) Parse() (*Query, error)
Parse parses the query string into a Query or returns an error.
type QueryProducer ¶
type QueryProducer struct {
// contains filtered or unexported fields
}
QueryProducer for MV2 queries.
func NewQueryProducer ¶
func NewQueryProducer(query Query) QueryProducer
NewQueryProducer creates a QueryProducer for the specified MV2 Query.
func (QueryProducer) Produce ¶
func (p QueryProducer) Produce() string
Produce returns the MV2 query string for a Query.
Click to show internal directories.
Click to hide internal directories.