Documentation
¶
Index ¶
- func NewBinaryOperator(expr *promql.BinaryExpr, lhs, rhs parser.NodeID) (parser.Params, error)
- func NewFunctionExpr(name string, argValues []interface{}) (parser.Params, error)
- func NewOperator(opType promql.ItemType) (parser.Params, error)
- func NewSelectorFromMatrix(n *promql.MatrixSelector) (parser.Params, error)
- func NewSelectorFromVector(n *promql.VectorSelector) (parser.Params, error)
- func Parse(q string) (parser.Parser, error)
- type ItemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBinaryOperator ¶
NewBinaryOperator creates a new binary operator based on the type
func NewFunctionExpr ¶
NewFunctionExpr creates a new function expr based on the type
func NewOperator ¶
NewOperator creates a new operator based on the type
func NewSelectorFromMatrix ¶
func NewSelectorFromMatrix(n *promql.MatrixSelector) (parser.Params, error)
NewSelectorFromMatrix creates a new fetchop
func NewSelectorFromVector ¶
func NewSelectorFromVector(n *promql.VectorSelector) (parser.Params, error)
NewSelectorFromVector creates a new fetchop
Types ¶
Click to show internal directories.
Click to hide internal directories.