NumberLiteralExprOrStringLiteralExprOrSubqueryExprOrAggregationExprOrVectorExprOrBinaryExprOrUnaryExprOrFuncCallExpr🔗
Definition🔗
type NumberLiteralExprOrStringLiteralExprOrSubqueryExprOrAggregationExprOrVectorExprOrBinaryExprOrUnaryExprOrFuncCallExpr struct {
NumberLiteralExpr *promql.NumberLiteralExpr `json:"NumberLiteralExpr,omitempty"`
StringLiteralExpr *promql.StringLiteralExpr `json:"StringLiteralExpr,omitempty"`
SubqueryExpr *promql.SubqueryExpr `json:"SubqueryExpr,omitempty"`
AggregationExpr *promql.AggregationExpr `json:"AggregationExpr,omitempty"`
VectorExpr *promql.VectorExpr `json:"VectorExpr,omitempty"`
BinaryExpr *promql.BinaryExpr `json:"BinaryExpr,omitempty"`
UnaryExpr *promql.UnaryExpr `json:"UnaryExpr,omitempty"`
FuncCallExpr *promql.FuncCallExpr `json:"FuncCallExpr,omitempty"`
}
Methods🔗
Validate🔗
Validate checks all the validation constraints that may be defined on NumberLiteralExprOrStringLiteralExprOrSubqueryExprOrAggregationExprOrVectorExprOrBinaryExprOrUnaryExprOrFuncCallExpr
fields for violations and returns them.