def Ctl.out_obj

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

import bend-kube-runtime@0.2.0.0/src/runtime.bend as Runtime
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
import bend-kube-runtime@0.2.0.0/src/watcher.bend as W

340def Ctl.out_obj(o: W.Out) -> Maybe<&2, J.Json>:
341  match o:
342    case W.OApply{x}:
343      Some{x}
344    case W.OInitApply{x}:
345      Some{x}
346    case W.ODelete{x}:
347      Some{x}
348    case _:
349      None{}

Uses (3)

Used by (1)