[][src]Function k8s_openapi::log_file_handler

pub fn log_file_handler(
    logpath: &str
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<LogFileHandlerResponse>), RequestError>

Use the returned crate::ResponseBody<LogFileHandlerResponse> constructor, or LogFileHandlerResponse directly, to parse the HTTP response.

Arguments

  • logpath

    path to the log