def Proxy.auth_line.go

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

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

322def Proxy.auth_line.go(+auth: String, none: Bool) -> String:
323  match none:
324    case True{}:
325      ""
326    case False{}:
327      "Proxy-Authorization: Basic " ++ auth ++ "\r\n"

Uses (3)

Used by (1)