def Serve.snap.field

bend-kube-runtime@0.2.0.0 · src/serve.bend:133

import bend-kube-runtime@0.2.0.0/src/serve.bend as Serve
import Base
import bend-kube-runtime@0.2.0.0/src/runtime.bend as R

133# The field-th number of a snapshot (0 ready, 1 reconciles, 2 errors,
134# 3 events, 4 running, 5 objects).
135def Serve.snap.field(s: R.Snap, +i: U32) -> String:
136  match s:
137    case R.Snap{n, r, +a, +b, +c, +d, +e}:
138      Serve.snap.pick(i, r, a, b, c, d, e)

Uses (4)

Used by (1)