Interface Generated.IngressSpecOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.IngressSpec, Generated.IngressSpec.Builder
    Enclosing class:
    Generated

    public static interface Generated.IngressSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasIngressClassName

        boolean hasIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Returns:
        Whether the ingressClassName field is set.
      • getIngressClassName

        String getIngressClassName()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Returns:
        The ingressClassName.
      • getIngressClassNameBytes

        com.google.protobuf.ByteString getIngressClassNameBytes()
         ingressClassName is the name of an IngressClass cluster resource. Ingress
         controller implementations use this field to know whether they should be
         serving this Ingress resource, by a transitive connection
         (controller -> IngressClass -> Ingress resource). Although the
         `kubernetes.io/ingress.class` annotation (simple constant name) was never
         formally defined, it was widely supported by Ingress controllers to create
         a direct binding between Ingress controller and Ingress resources. Newly
         created Ingress resources should prefer using the field. However, even
         though the annotation is officially deprecated, for backwards compatibility
         reasons, ingress controllers should still honor that annotation if present.
         +optional
         
        optional string ingressClassName = 4;
        Returns:
        The bytes for ingressClassName.
      • hasDefaultBackend

        boolean hasDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Returns:
        Whether the defaultBackend field is set.
      • getDefaultBackend

        Generated.IngressBackend getDefaultBackend()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
        Returns:
        The defaultBackend.
      • getDefaultBackendOrBuilder

        Generated.IngressBackendOrBuilder getDefaultBackendOrBuilder()
         defaultBackend is the backend that should handle requests that don't
         match any rule. If Rules are not specified, DefaultBackend must be specified.
         If DefaultBackend is not set, the handling of requests that do not match any
         of the rules will be up to the Ingress controller.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressBackend defaultBackend = 1;
      • getTlsList

        List<Generated.IngressTLS> getTlsList()
         tls represents the 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.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTls

        Generated.IngressTLS getTls​(int index)
         tls represents the 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.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsCount

        int getTlsCount()
         tls represents the 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.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsOrBuilderList

        List<? extends Generated.IngressTLSOrBuilder> getTlsOrBuilderList()
         tls represents the 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.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getTlsOrBuilder

        Generated.IngressTLSOrBuilder getTlsOrBuilder​(int index)
         tls represents the 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.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressTLS tls = 2;
      • getRulesList

        List<Generated.IngressRule> getRulesList()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRules

        Generated.IngressRule getRules​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesCount

        int getRulesCount()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesOrBuilderList

        List<? extends Generated.IngressRuleOrBuilder> getRulesOrBuilderList()
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;
      • getRulesOrBuilder

        Generated.IngressRuleOrBuilder getRulesOrBuilder​(int index)
         rules is a list of host rules used to configure the Ingress. If unspecified,
         or no rule matches, all traffic is sent to the default backend.
         +listType=atomic
         +optional
         
        repeated .k8s.io.api.networking.v1.IngressRule rules = 3;