def Conn.open

bend-kube-runtime@0.2.0.0 · src/client.bend:266

import bend-kube-runtime@0.2.0.0/src/client.bend as Client
import Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
import bend-kube-runtime@0.2.0.0/src/config.bend as K
import bend-kube-runtime@0.2.0.0/src/net.bend as N

266def Conn.open(+cfg: K.Config, req: H.Req, keep: Bool) -> IO(Res(N.Tls)):
267  match cfg:
268    case K.Config{+h, +p, +b, ca, cert, key, tok, ns, pl}:
269      IO.bind(Res(Creds), Res(N.Tls), Creds.load(cfg), cr => Conn.open.creds(h, p, b, req, keep, cr))

Uses (10)

Used by (5)