Lease.Lease.release: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/lease.bend as Lease Lines 121-124 of bend-kube-runtime@0.2.0.0/src/lease.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/lease.bend&start_line=121&end_line=124 import Base import bend-kube-runtime@0.2.0.0/src/json.bend as J # The Lease handed back: no holder, a one-second duration, so the next # candidate takes it at once (client-go's ReleaseOnCancel). def Lease.release(+l: J.Json, +now: String) -> J.Json: J.Json.set(l, "spec", Lease.new_spec("", 1, now, now, Lease.transitions(l))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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/json.bend&name=Json.set https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/lease.bend&name=Lease.new_spec https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/lease.bend&name=Lease.transitions