Package org.cdk8s.plus25.k8s
Interface WebhookConversion
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebhookConversion.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.853Z") @Stability(Stable) public interface WebhookConversion extends software.amazon.jsii.JsiiSerializable
WebhookConversion describes how to call a conversion webhook.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWebhookConversion.BuilderA builder forWebhookConversionstatic classWebhookConversion.Jsii$ProxyAn implementation forWebhookConversion
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static WebhookConversion.Builderbuilder()default WebhookClientConfiggetClientConfig()clientConfig is the instructions for how to call the webhook if strategy isWebhook.List<String>getConversionReviewVersions()conversionReviewVersions is an ordered list of preferredConversionReviewversions the Webhook expects.
-
-
-
Method Detail
-
getConversionReviewVersions
@Stability(Stable) @NotNull List<String> getConversionReviewVersions()
conversionReviewVersions is an ordered list of preferredConversionReviewversions 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.
-
getClientConfig
@Stability(Stable) @Nullable default WebhookClientConfig getClientConfig()
clientConfig is the instructions for how to call the webhook if strategy isWebhook.
-
builder
@Stability(Stable) static WebhookConversion.Builder builder()
- Returns:
- a
WebhookConversion.BuilderofWebhookConversion
-
-