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