def NoProxy.name.go

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

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

Uses (6)

Used by (1)