Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareErrors ¶
CompareErrors for deterministic selection per Spec 6.9.
Types ¶
type CELDPEvaluator ¶
type CELDPEvaluator struct {
// contains filtered or unexported fields
}
func NewEvaluator ¶
func NewEvaluator() (*CELDPEvaluator, error)
func (*CELDPEvaluator) Evaluate ¶
func (e *CELDPEvaluator) Evaluate(expr string, input interface{}) (*CELDPResult, error)
type CELDPIssue ¶
type CELDPResult ¶
type CELDPResult struct {
Value interface{}
Error *CELError
}
type CELDPValidationResult ¶
type CELDPValidationResult struct {
Valid bool
Issues []CELDPIssue
}
type CELDPValidator ¶
type CELDPValidator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator() (*CELDPValidator, error)
func (*CELDPValidator) Validate ¶
func (v *CELDPValidator) Validate(exprSource string) (*CELDPValidationResult, error)
Click to show internal directories.
Click to hide internal directories.