def Stream.log_path
import bend-kube-runtime@0.2.0.0/src/stream.bend as Streamimport Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
147# The log of a pod's container, followed while it runs (follow=true): the
148# stream ends when the container does.
149def Stream.log_path(ns: String, pod: String, container: String, follow: Bool) -> String:
150 "/api/v1/namespaces/" ++ H.Http.encode(ns) ++ "/pods/" ++ H.Http.encode(pod) ++
151 "/log?container=" ++ H.Http.encode(container) ++ Stream.follow(follow)
Uses (5)
Used by (0)
No other definition uses this definition.