Class 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 Detail

      • WebhookConversion

        public WebhookConversion()
        No args constructor for use in serialization
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)