Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::WebhookConversion
source · pub struct WebhookConversion {
pub client_config: Option<WebhookClientConfig>,
pub conversion_review_versions: Vec<String>,
}
Expand description
WebhookConversion describes how to call a conversion webhook
Fields§
§client_config: Option<WebhookClientConfig>
clientConfig is the instructions for how to call the webhook if strategy is Webhook
.
conversion_review_versions: Vec<String>
conversionReviewVersions is an ordered list of preferred ConversionReview
versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
Trait Implementations§
source§impl Clone for WebhookConversion
impl Clone for WebhookConversion
source§fn clone(&self) -> WebhookConversion
fn clone(&self) -> WebhookConversion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WebhookConversion
impl Debug for WebhookConversion
source§impl DeepMerge for WebhookConversion
impl DeepMerge for WebhookConversion
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for WebhookConversion
impl Default for WebhookConversion
source§fn default() -> WebhookConversion
fn default() -> WebhookConversion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WebhookConversion
impl<'de> Deserialize<'de> for WebhookConversion
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<WebhookConversion> for WebhookConversion
impl PartialEq<WebhookConversion> for WebhookConversion
source§fn eq(&self, other: &WebhookConversion) -> bool
fn eq(&self, other: &WebhookConversion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.