def Proxy.route.local

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

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

290def Proxy.route.local(+url: String, no: String, +host: String, +port: U32, local: Bool) ->
291  Route:
292  match local:
293    case True{}:
294      Direct{}
295    case False{}:
296      Proxy.route.no(url, NoProxy.bypass(no, host, port))

Uses (6)

Used by (1)