def Ctl.watch_all

bend-kube-runtime@0.2.0.0 · src/runtime.bend:556

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/core.bend as C
import bend-kube-runtime@0.2.0.0/src/config.bend as K

556def Ctl.watch_all(apis: List<&2, C.Api>, +n: U32, +cfg: K.Config, +chan: Chan(Msg)) -> IO(Unit):
557  match apis:
558    case Nil{}:
559      IO.pure(Unit, Unit{})
560    case Con{a, t}:
561      IO.bind(Unit, Unit, Ctl.watch(cfg, a, "", n, chan),
562        u => Ctl.watch_all(t, (n + 1 : U32), cfg, chan))

Uses (12)

Used by (1)