(e *cel.Env, call, arg ast.Expr)
| 607 | } |
| 608 | |
| 609 | func checkIP(e *cel.Env, call, arg ast.Expr) error { |
| 610 | pattern := arg.AsLiteral().Value().(string) |
| 611 | _, err := parseIPAddr(pattern) |
| 612 | return err |
| 613 | } |
| 614 | |
| 615 | func checkCIDR(e *cel.Env, call, arg ast.Expr) error { |
| 616 | pattern := arg.AsLiteral().Value().(string) |
nothing calls this directly
no test coverage detected