Runtime.Ctl.snap: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime Lines 473-476 of bend-kube-runtime@0.2.0.0/src/runtime.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/runtime.bend&start_line=473&end_line=476 import Base import bend-kube-runtime@0.2.0.0/src/store.bend as S import bend-kube-runtime@0.2.0.0/src/queue.bend as Q def Ctl.snap(st: CState, name: String) -> Snap: match st: case CState{+s, +q, Stats{r, e, v}}: Snap{name, S.Store.ready(s), r, e, v, Q.Queue.nrun(q), U32.from_nat(S.Store.size(s))} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/queue.bend&name=Queue.nrun https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/runtime.bend&name=CState https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/runtime.bend&name=Snap https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/runtime.bend&name=Stats https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/store.bend&name=Store.ready https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/store.bend&name=Store.size