(e *cel.Env, call, arg ast.Expr)
| 646 | } |
| 647 | |
| 648 | func checkIP(e *cel.Env, call, arg ast.Expr) error { |
| 649 | pattern := arg.AsLiteral().Value().(string) |
| 650 | _, err := parseIPAddr(pattern) |
| 651 | return err |
| 652 | } |
| 653 | |
| 654 | func checkCIDR(e *cel.Env, call, arg ast.Expr) error { |
| 655 | pattern := arg.AsLiteral().Value().(string) |
nothing calls this directly
no test coverage detected