def NoProxy.name.go
import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxyimport Base
138def NoProxy.name.go(+e: String, +host: String, dot: Bool) -> Bool:
139 match dot:
140 case True{}:
141 String.ends_with(host, e)
142 case False{}:
143 Bool.or(String.eq(host, e), String.ends_with(host, "." ++ e))