Function k8s_openapi::log_file_handler
source · pub fn log_file_handler(
logpath: &str
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<LogFileHandlerResponse>), RequestError>
Expand description
Use the returned crate::ResponseBody
<
LogFileHandlerResponse
>
constructor, or LogFileHandlerResponse
directly, to parse the HTTP response.
Arguments
-
logpath
path to the log