def Kube.rebase.key

bend-kube-runtime@0.2.0.0 · src/config.bend:321

import bend-kube-runtime@0.2.0.0/src/config.bend as Config
import Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J

321def Kube.rebase.key(+o: J.Json, +dir: String, +k: String, missing: Bool) -> J.Json:
322  match missing:
323    case True{}:
324      o
325    case False{}:
326      J.Json.set(o, k, Kube.rebase.path(dir, J.Json.get(o, k)))

Uses (6)

Used by (1)