Config.InCluster.config: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/config.bend as Config Lines 256-260 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=256&end_line=260 import Base # The pod's service account, from KUBERNETES_SERVICE_HOST and _PORT # (client-go's InClusterConfig). An IPv6 host needs no brackets here. def InCluster.config(host: String, port: String, ns: String) -> Config: Config{host, Url.port(port, 443), "", FromFile{InCluster.dir() ++ "/ca.crt"}, NoSrc{}, NoSrc{}, FromFile{InCluster.dir() ++ "/token"}, String.trim(ns), None{}} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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=Base/base.bend&name=String.trim 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=InCluster.dir https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&name=Src https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/config.bend&name=Url.port