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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebhookConversion
impl Send for WebhookConversion
impl Sync for WebhookConversion
impl Unpin for WebhookConversion
impl UnwindSafe for WebhookConversion
Blanket Implementations
Mutably borrows from an owned value. Read more