Class WebhookDescription

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<WebhookDescriptionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class WebhookDescription
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<WebhookDescriptionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    WebhookDescription provides details to OLM about required webhooks
    See Also:
    Serialized Form
    • Constructor Detail

      • WebhookDescription

        public WebhookDescription()
        No args constructor for use in serialization
      • WebhookDescription

        public WebhookDescription​(List<String> admissionReviewVersions,
                                  Integer containerPort,
                                  List<String> conversionCRDs,
                                  String deploymentName,
                                  String failurePolicy,
                                  String generateName,
                                  String matchPolicy,
                                  io.fabric8.kubernetes.api.model.LabelSelector objectSelector,
                                  String reinvocationPolicy,
                                  List<io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations> rules,
                                  String sideEffects,
                                  io.fabric8.kubernetes.api.model.IntOrString targetPort,
                                  Integer timeoutSeconds,
                                  String type,
                                  String webhookPath)
    • Method Detail

      • getAdmissionReviewVersions

        public List<String> getAdmissionReviewVersions()
        WebhookDescription provides details to OLM about required webhooks
      • setAdmissionReviewVersions

        public void setAdmissionReviewVersions​(List<String> admissionReviewVersions)
        WebhookDescription provides details to OLM about required webhooks
      • getContainerPort

        public Integer getContainerPort()
        WebhookDescription provides details to OLM about required webhooks
      • setContainerPort

        public void setContainerPort​(Integer containerPort)
        WebhookDescription provides details to OLM about required webhooks
      • getConversionCRDs

        public List<String> getConversionCRDs()
        WebhookDescription provides details to OLM about required webhooks
      • setConversionCRDs

        public void setConversionCRDs​(List<String> conversionCRDs)
        WebhookDescription provides details to OLM about required webhooks
      • getDeploymentName

        public String getDeploymentName()
        WebhookDescription provides details to OLM about required webhooks
      • setDeploymentName

        public void setDeploymentName​(String deploymentName)
        WebhookDescription provides details to OLM about required webhooks
      • getFailurePolicy

        public String getFailurePolicy()
        Possible enum values:

        - `"Fail"` means that an error calling the webhook causes the admission to fail.

        - `"Ignore"` means that an error calling the webhook is ignored.

      • setFailurePolicy

        public void setFailurePolicy​(String failurePolicy)
        Possible enum values:

        - `"Fail"` means that an error calling the webhook causes the admission to fail.

        - `"Ignore"` means that an error calling the webhook is ignored.

      • getGenerateName

        public String getGenerateName()
        WebhookDescription provides details to OLM about required webhooks
      • setGenerateName

        public void setGenerateName​(String generateName)
        WebhookDescription provides details to OLM about required webhooks
      • getMatchPolicy

        public String getMatchPolicy()
        Possible enum values:

        - `"Equivalent"` means requests should be sent to the webhook if they modify a resource listed in rules via another API group or version.

        - `"Exact"` means requests should only be sent to the webhook if they exactly match a given rule.

      • setMatchPolicy

        public void setMatchPolicy​(String matchPolicy)
        Possible enum values:

        - `"Equivalent"` means requests should be sent to the webhook if they modify a resource listed in rules via another API group or version.

        - `"Exact"` means requests should only be sent to the webhook if they exactly match a given rule.

      • getObjectSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getObjectSelector()
        WebhookDescription provides details to OLM about required webhooks
      • setObjectSelector

        public void setObjectSelector​(io.fabric8.kubernetes.api.model.LabelSelector objectSelector)
        WebhookDescription provides details to OLM about required webhooks
      • getReinvocationPolicy

        public String getReinvocationPolicy()
        Possible enum values:

        - `"IfNeeded"` indicates that the mutation may be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial mutation call.

        - `"Never"` indicates that the mutation must not be called more than once in a single admission evaluation.

      • setReinvocationPolicy

        public void setReinvocationPolicy​(String reinvocationPolicy)
        Possible enum values:

        - `"IfNeeded"` indicates that the mutation may be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial mutation call.

        - `"Never"` indicates that the mutation must not be called more than once in a single admission evaluation.

      • getRules

        public List<io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations> getRules()
        WebhookDescription provides details to OLM about required webhooks
      • setRules

        public void setRules​(List<io.fabric8.kubernetes.api.model.admissionregistration.v1.RuleWithOperations> rules)
        WebhookDescription provides details to OLM about required webhooks
      • getSideEffects

        public String getSideEffects()
        Possible enum values:

        - `"None"` means that calling the webhook will have no side effects.

        - `"NoneOnDryRun"` means that calling the webhook will possibly have side effects, but if the request being reviewed has the dry-run attribute, the side effects will be suppressed.

        - `"Some"` means that calling the webhook will possibly have side effects. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.

        - `"Unknown"` means that no information is known about the side effects of calling the webhook. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.

      • setSideEffects

        public void setSideEffects​(String sideEffects)
        Possible enum values:

        - `"None"` means that calling the webhook will have no side effects.

        - `"NoneOnDryRun"` means that calling the webhook will possibly have side effects, but if the request being reviewed has the dry-run attribute, the side effects will be suppressed.

        - `"Some"` means that calling the webhook will possibly have side effects. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.

        - `"Unknown"` means that no information is known about the side effects of calling the webhook. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.

      • getTargetPort

        public io.fabric8.kubernetes.api.model.IntOrString getTargetPort()
        WebhookDescription provides details to OLM about required webhooks
      • setTargetPort

        public void setTargetPort​(io.fabric8.kubernetes.api.model.IntOrString targetPort)
        WebhookDescription provides details to OLM about required webhooks
      • getTimeoutSeconds

        public Integer getTimeoutSeconds()
        WebhookDescription provides details to OLM about required webhooks
      • setTimeoutSeconds

        public void setTimeoutSeconds​(Integer timeoutSeconds)
        WebhookDescription provides details to OLM about required webhooks
      • getType

        public String getType()
        WebhookDescription provides details to OLM about required webhooks
      • setType

        public void setType​(String type)
        WebhookDescription provides details to OLM about required webhooks
      • getWebhookPath

        public String getWebhookPath()
        WebhookDescription provides details to OLM about required webhooks
      • setWebhookPath

        public void setWebhookPath​(String webhookPath)
        WebhookDescription provides details to OLM about required webhooks
      • getAdditionalProperties

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

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

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