def Config.in_cluster.ns
bend-kube-runtime@0.2.0.0 · src/client.bend:635
import bend-kube-runtime@0.2.0.0/src/client.bend as Client
import Base
import bend-kube-runtime@0.2.0.0/src/config.bend as K
635def Config.in_cluster.ns(host: String, port: String, ns: Res(String)) ->
636 IO(Result<&2, &2, String, K.Config>):
637 match ns:
638 case Done{n}:
639 IO.pure(Result<&2, &2, String, K.Config>, Done{K.InCluster.config(host, port, n)})
640 case Fail{e}:
641 IO.pure(Result<&2, &2, String, K.Config>, Done{K.InCluster.config(host, port, "default")})