def Api.prefix
import bend-kube-runtime@0.2.0.0/src/core.bend as Coreimport Base
87def Api.prefix(g: String, v: String, core: Bool) -> String:
88 match core:
89 case True{}:
90 "/api/" ++ v
91 case False{}:
92 "/apis/" ++ g ++ "/" ++ v