(e *cel.Env, call, arg ast.Expr)
| 672 | } |
| 673 | |
| 674 | func checkIP(e *cel.Env, call, arg ast.Expr) error { |
| 675 | pattern := arg.AsLiteral().Value().(string) |
| 676 | _, err := parseIPAddr(pattern) |
| 677 | return err |
| 678 | } |
| 679 | |
| 680 | func checkCIDR(e *cel.Env, call, arg ast.Expr) error { |
| 681 | pattern := arg.AsLiteral().Value().(string) |
nothing calls this directly
no test coverage detected