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§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