def Drv.ended
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtimeimport Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
107def Drv.ended(r: H.Resp) -> Bool:
108 match r:
109 case H.Resp{H.PDone{}, h, o}:
110 True{}
111 case H.Resp{H.PErr{m}, h, o}:
112 True{}
113 case H.Resp{H.PLost{m}, h, o}:
114 True{}
115 case _:
116 False{}