def Drv.inputs
bend-kube-runtime@0.2.0.0 · src/runtime.bend:74
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/utf8.bend as U
import bend-kube-runtime@0.2.0.0/src/core.bend as C
import bend-kube-runtime@0.2.0.0/src/watcher.bend as W
74
75def Drv.inputs(ls: List<&2, List<&2, U32>>) -> List<&2, W.Input>:
76 match ls:
77 case Nil{}:
78 Nil{}
79 case Con{Nil{}, t}:
80 Drv.inputs(t)
81 case Con{l, t}:
82 W.IEvent{C.WEvent.parse(U.Utf8.decode_all(l))} <> Drv.inputs(t)