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