Enum k8s_openapi::v1_7::kubernetes::pkg::api::v1::ProxyCoreV1PUTNamespacedPodResponse
source · pub enum ProxyCoreV1PUTNamespacedPodResponse {
Ok(String),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Pod::proxy_core_v1_put_namespaced_pod
Variants§
Trait Implementations§
source§impl Response for ProxyCoreV1PUTNamespacedPodResponse
impl Response for ProxyCoreV1PUTNamespacedPodResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
Tries to parse the response from the given status code and response body.