def Ctl.owner_keys.put

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

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/core.bend as C

351def Ctl.owner_keys.put(m: Maybe<&2, J.Json>, +kind: String, rest: List<&2, String>) ->
352  List<&2, String>:
353  match m:
354    case Some{+x}:
355      List.append(&2, String, Ctl.ref_keys(C.Obj.owners(x, kind)), rest)
356    case None{}:
357      rest

Uses (7)

Used by (1)