Class IngressSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class IngressSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<IngressSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    IngressSpec describes the Ingress the user wishes to exist.
    See Also:
    Serialized Form
    • Method Detail

      • getBackend

        public IngressBackend getBackend()
        IngressSpec describes the Ingress the user wishes to exist.
      • setBackend

        public void setBackend​(IngressBackend backend)
        IngressSpec describes the Ingress the user wishes to exist.
      • getRules

        public List<IngressRule> getRules()
        A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
      • setRules

        public void setRules​(List<IngressRule> rules)
        A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
      • getTls

        public List<IngressTLS> getTls()
        TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
      • setTls

        public void setTls​(List<IngressTLS> tls)
        TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
      • getAdditionalProperties

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

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

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