Core.Api.ns_part: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/core.bend as Core Lines 94-99 of bend-kube-runtime@0.2.0.0/src/core.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/core.bend&start_line=94&end_line=99 import Base import bend-kube-runtime@0.2.0.0/src/http.bend as H def Api.ns_part(s: Scope, namespaced: Bool) -> String: match s namespaced: case InNs{ns} True{}: "/namespaces/" ++ H.Http.encode(ns) case _ _: "" Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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/core.bend&name=Scope https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Http.encode