Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
Expression represents a parsed JMESPath expression.
func MustCompile ¶
func MustCompile(expression string) *Expression
MustCompile creates a Expression from a string, panicking if the expression is invalid.
func NewExpressionFromConfiguration ¶
func NewExpressionFromConfiguration(config *pb.Expression, group program.Group, clock clock.Clock) (*Expression, error)
NewExpressionFromConfiguration creates a new JMESPath expression.Expression from the provided configuration. This will also evaluate all test vectors and return an error if any of them fail.
The group parameter is required when there are files and is used to schedule refreshes of the file contents.
Click to show internal directories.
Click to hide internal directories.