def Drv.digest.ok
bend-kube-runtime@0.2.0.0 · src/runtime.bend:145
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
import bend-kube-runtime@0.2.0.0/src/watcher.bend as W
145def Drv.digest.ok(st: W.WState, r: H.Resp, carry: List<&2, U32>, +eof: Bool, +code: U32,
146 ok: Bool) -> Dig:
147 match ok:
148 case True{}:
149 Drv.digest.lines(st, H.Http.take(r), carry, eof)
150 case False{}:
151 Dig{W.Watcher.step(st, W.IWatchErr{code}), H.Http.resp.init(), Nil{}, False{}}