Interface V1Networking.IngressSpecOrBuilder

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

public static interface V1Networking.IngressSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasIngressClassName

      boolean hasIngressClassName()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • getIngressClassName

      String getIngressClassName()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • getIngressClassNameBytes

      com.google.protobuf.ByteString getIngressClassNameBytes()
       IngressClassName is the name of the IngressClass cluster resource. The
       associated IngressClass defines which controller will implement the
       resource. This replaces the deprecated `kubernetes.io/ingress.class`
       annotation. For backwards compatibility, when that annotation is set, it
       must be given precedence over this field. The controller may emit a
       warning if the field and annotation have different values.
       Implementations of this API should ignore Ingresses without a class
       specified. An IngressClass resource may be marked as default, which can
       be used to set a default value for this field. For more information,
       refer to the IngressClass documentation.
       +optional
       
      optional string ingressClassName = 4;
    • 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;
    • getDefaultBackend

      V1Networking.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;
    • getDefaultBackendOrBuilder

      V1Networking.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

       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

      V1Networking.IngressTLS getTls(int index)
       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 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 V1Networking.IngressTLSOrBuilder> getTlsOrBuilderList()
       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

      V1Networking.IngressTLSOrBuilder getTlsOrBuilder(int index)
       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

       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

      V1Networking.IngressRule getRules(int index)
       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()
       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 V1Networking.IngressRuleOrBuilder> getRulesOrBuilderList()
       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

      V1Networking.IngressRuleOrBuilder getRulesOrBuilder(int index)
       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;