def Ctl.gone_keys
import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtimeimport Base
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
323# The keys of objects a primary watcher saw deleted.
324def Ctl.gone_keys(outs: List<&2, W.Out>) -> List<&2, String>:
325 match outs:
326 case Nil{}:
327 Nil{}
328 case Con{W.ODelete{+o}, t}:
329 C.Obj.key(o) <> Ctl.gone_keys(t)
330 case Con{o, t}:
331 Ctl.gone_keys(t)