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 for WebhookConversion
impl PartialEq 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 ==
.source§impl Serialize for WebhookConversion
impl Serialize for WebhookConversion
impl StructuralPartialEq for WebhookConversion
Auto Trait Implementations§
impl Freeze for WebhookConversion
impl RefUnwindSafe for WebhookConversion
impl Send for WebhookConversion
impl Sync for WebhookConversion
impl Unpin for WebhookConversion
impl UnwindSafe for WebhookConversion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more