def NoProxy.ent

bend-kube-runtime@0.2.0.0 · src/proxy.bend:151

import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxy
import 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)))

Uses (10)

Used by (1)