Config.Kube.config.build: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/config.bend as Config Lines 225-232 of bend-kube-runtime@0.2.0.0/src/config.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&start_line=225&end_line=232 import Base import bend-kube-runtime@0.2.0.0/src/json.bend as J def Kube.config.build(+cl: J.Json, +u: J.Json, ns: String, name: String, missing: Bool) -> Result<&2, &2, String, Config>: match missing: case True{}: Fail{"kubeconfig: no context named " ++ name} case False{}: Kube.config.server(J.Json.get(cl, "server"), Kube.src(cl, "certificate-authority"), Kube.src(u, "client-certificate"), Kube.src(u, "client-key"), Kube.token(u), ns) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=String.append 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/config.bend&name=Kube.config.server https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&name=Kube.src https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&name=Kube.token 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.get