Helpers.Event.post: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/helpers.bend as Helpers Lines 120-127 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=120&end_line=127 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/client.bend as Cl def Event.post(+cfg: K.Config, +o: J.Json, +r: C.Res, warn: Bool, reason: String, action: String, note: String, controller: String, st: Stamp) -> IO(Unit): match st: case Stamp{now, id}: IO.bind(Result<&2, &2, Cl.KErr, J.Json>, Unit, Cl.Client.create(cfg, C.Api{C.Res.events(), C.InNs{Event.ns(C.Obj.namespace(o))}}, Event.body(o, r, warn, reason, action, note, controller, now, id)), Event.sent) Uses (19): 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=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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/client.bend&name=Client.create https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&name=KErr 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=Api https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/core.bend&name=Obj.namespace 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/core.bend&name=Res.events https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/core.bend&name=Scope https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Event.body https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Event.ns https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Event.sent https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/helpers.bend&name=Stamp https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/json.bend&name=Json