def Kube.config
import bend-kube-runtime@0.2.0.0/src/config.bend as Configimport Base
import bend-kube-runtime@0.2.0.0/src/json.bend as J
245# The Config a kubeconfig (as JSON) names for a context ("" for its
246# current-context), or why it cannot.
247def Kube.config(+kc: J.Json, ctx: String) -> Result<&2, &2, String, Config>:
248 Kube.config.ctx(kc, Kube.config.pick(ctx, J.Json.str_or(J.Json.get(kc, "current-context"), "")))