[−][src]Function k8s_openapi::get_api_versions
pub fn get_api_versions(
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<GetAPIVersionsResponse>), RequestError>
get available API versions
Use the returned crate::ResponseBody
<
GetAPIVersionsResponse
>
constructor, or GetAPIVersionsResponse
directly, to parse the HTTP response.