def Proxy.is_local

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

import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxy
import Base

298def Proxy.is_local(+host: String) -> Bool:
299  Bool.or(Bool.or(String.eq(host, "localhost"), String.eq(host, "::1")),
300    Ip4.is_loopback(Ip4.parse(host)))

Uses (6)

Used by (1)