def NoProxy.ent
import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxyimport Base
151def NoProxy.ent(e: Ent, +host: String, +port: U32) -> Bool:
152 match e:
153 case Ent{+h, +p}:
154 Bool.and(NoProxy.port_ok(p, port),
155 Bool.or(Ip4.cidr(host, h), NoProxy.name(NoProxy.star(h), host)))