Helpers.Event.publish: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/helpers.bend as Helpers Lines 129-134 of bend-kube-runtime@0.2.0.0/src/helpers.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&start_line=129&end_line=134 import Base import bend-kube-runtime@0.2.0.0/src/json.bend as J 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 import bend-kube-runtime@0.2.0.0/src/sys.bend as Y import bend-kube-runtime@0.2.0.0/src/time.bend as T # Records an Event about o (of resource r). A failure is logged, never # raised: events are best effort, as client-go's are. def Event.publish(+cfg: K.Config, +o: J.Json, +r: C.Res, warn: Bool, reason: String, action: String, note: String, controller: String) -> IO(Unit): IO.bind(U32 & (U32 & U32), Unit, Y.Sys.wall(), w => Event.post(cfg, o, r, warn, reason, action, note, controller, Event.stamp(T.Wall.of(w)))) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&name=Config https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/core.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Event.post https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Event.stamp https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/sys.bend&name=Sys.wall https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/time.bend&name=Wall.of