Class WebhookConversion
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.apiextensions.v1.WebhookConversion
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<WebhookConversionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WebhookConversion extends Object implements io.fabric8.kubernetes.api.builder.Editable<WebhookConversionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
WebhookConversion describes how to call a conversion webhook- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebhookConversion()No args constructor for use in serializationWebhookConversion(WebhookClientConfig clientConfig, List<String> conversionReviewVersions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookConversionBuilderedit()Map<String,Object>getAdditionalProperties()WebhookClientConfiggetClientConfig()WebhookConversion describes how to call a conversion webhookList<String>getConversionReviewVersions()conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientConfig(WebhookClientConfig clientConfig)WebhookConversion describes how to call a conversion webhookvoidsetConversionReviewVersions(List<String> conversionReviewVersions)conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects.WebhookConversionBuildertoBuilder()
-
-
-
Constructor Detail
-
WebhookConversion
public WebhookConversion()
No args constructor for use in serialization
-
WebhookConversion
public WebhookConversion(WebhookClientConfig clientConfig, List<String> conversionReviewVersions)
-
-
Method Detail
-
getClientConfig
public WebhookClientConfig getClientConfig()
WebhookConversion describes how to call a conversion webhook
-
setClientConfig
public void setClientConfig(WebhookClientConfig clientConfig)
WebhookConversion describes how to call a conversion webhook
-
getConversionReviewVersions
public List<String> getConversionReviewVersions()
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.
-
setConversionReviewVersions
public void setConversionReviewVersions(List<String> conversionReviewVersions)
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.
-
edit
public WebhookConversionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<WebhookConversionBuilder>
-
toBuilder
public WebhookConversionBuilder toBuilder()
-
-