Interface Generated.IngressRuleOrBuilder

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

    public static interface Generated.IngressRuleOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getHost()
      host is the fully qualified domain name of a network host, as defined by RFC 3986.
      com.google.protobuf.ByteString getHostBytes()
      host is the fully qualified domain name of a network host, as defined by RFC 3986.
      Generated.IngressRuleValue getIngressRuleValue()
      IngressRuleValue represents a rule to route requests for this IngressRule.
      Generated.IngressRuleValueOrBuilder getIngressRuleValueOrBuilder()
      IngressRuleValue represents a rule to route requests for this IngressRule.
      boolean hasHost()
      host is the fully qualified domain name of a network host, as defined by RFC 3986.
      boolean hasIngressRuleValue()
      IngressRuleValue represents a rule to route requests for this IngressRule.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasHost

        boolean hasHost()
         host is the fully qualified domain name of a network host, as defined by RFC 3986.
         Note the following deviations from the "host" part of the
         URI as defined in RFC 3986:
         1. IPs are not allowed. Currently an IngressRuleValue can only apply to
            the IP in the Spec of the parent Ingress.
         2. The `:` delimiter is not respected because ports are not allowed.
                  Currently the port of an Ingress is implicitly :80 for http and
                  :443 for https.
         Both these may change in the future.
         Incoming requests are matched against the host before the
         IngressRuleValue. If the host is unspecified, the Ingress routes all
         traffic based on the specified IngressRuleValue.
        
         host can be "precise" which is a domain name without the terminating dot of
         a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
         prefixed with a single wildcard label (e.g. "*.foo.com").
         The wildcard character '*' must appear by itself as the first DNS label and
         matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
         Requests will be matched against the Host field in the following way:
         1. If host is precise, the request matches this rule if the http host header is equal to Host.
         2. If host is a wildcard, then the request matches this rule if the http host header
         is to equal to the suffix (removing the first label) of the wildcard rule.
         +optional
         
        optional string host = 1;
        Returns:
        Whether the host field is set.
      • getHost

        String getHost()
         host is the fully qualified domain name of a network host, as defined by RFC 3986.
         Note the following deviations from the "host" part of the
         URI as defined in RFC 3986:
         1. IPs are not allowed. Currently an IngressRuleValue can only apply to
            the IP in the Spec of the parent Ingress.
         2. The `:` delimiter is not respected because ports are not allowed.
                  Currently the port of an Ingress is implicitly :80 for http and
                  :443 for https.
         Both these may change in the future.
         Incoming requests are matched against the host before the
         IngressRuleValue. If the host is unspecified, the Ingress routes all
         traffic based on the specified IngressRuleValue.
        
         host can be "precise" which is a domain name without the terminating dot of
         a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
         prefixed with a single wildcard label (e.g. "*.foo.com").
         The wildcard character '*' must appear by itself as the first DNS label and
         matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
         Requests will be matched against the Host field in the following way:
         1. If host is precise, the request matches this rule if the http host header is equal to Host.
         2. If host is a wildcard, then the request matches this rule if the http host header
         is to equal to the suffix (removing the first label) of the wildcard rule.
         +optional
         
        optional string host = 1;
        Returns:
        The host.
      • getHostBytes

        com.google.protobuf.ByteString getHostBytes()
         host is the fully qualified domain name of a network host, as defined by RFC 3986.
         Note the following deviations from the "host" part of the
         URI as defined in RFC 3986:
         1. IPs are not allowed. Currently an IngressRuleValue can only apply to
            the IP in the Spec of the parent Ingress.
         2. The `:` delimiter is not respected because ports are not allowed.
                  Currently the port of an Ingress is implicitly :80 for http and
                  :443 for https.
         Both these may change in the future.
         Incoming requests are matched against the host before the
         IngressRuleValue. If the host is unspecified, the Ingress routes all
         traffic based on the specified IngressRuleValue.
        
         host can be "precise" which is a domain name without the terminating dot of
         a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
         prefixed with a single wildcard label (e.g. "*.foo.com").
         The wildcard character '*' must appear by itself as the first DNS label and
         matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
         Requests will be matched against the Host field in the following way:
         1. If host is precise, the request matches this rule if the http host header is equal to Host.
         2. If host is a wildcard, then the request matches this rule if the http host header
         is to equal to the suffix (removing the first label) of the wildcard rule.
         +optional
         
        optional string host = 1;
        Returns:
        The bytes for host.
      • hasIngressRuleValue

        boolean hasIngressRuleValue()
         IngressRuleValue represents a rule to route requests for this IngressRule.
         If unspecified, the rule defaults to a http catch-all. Whether that sends
         just traffic matching the host to the default backend or all traffic to the
         default backend, is left to the controller fulfilling the Ingress. Http is
         currently the only supported IngressRuleValue.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;
        Returns:
        Whether the ingressRuleValue field is set.
      • getIngressRuleValue

        Generated.IngressRuleValue getIngressRuleValue()
         IngressRuleValue represents a rule to route requests for this IngressRule.
         If unspecified, the rule defaults to a http catch-all. Whether that sends
         just traffic matching the host to the default backend or all traffic to the
         default backend, is left to the controller fulfilling the Ingress. Http is
         currently the only supported IngressRuleValue.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;
        Returns:
        The ingressRuleValue.
      • getIngressRuleValueOrBuilder

        Generated.IngressRuleValueOrBuilder getIngressRuleValueOrBuilder()
         IngressRuleValue represents a rule to route requests for this IngressRule.
         If unspecified, the rule defaults to a http catch-all. Whether that sends
         just traffic matching the host to the default backend or all traffic to the
         default backend, is left to the controller fulfilling the Ingress. Http is
         currently the only supported IngressRuleValue.
         +optional
         
        optional .k8s.io.api.networking.v1.IngressRuleValue ingressRuleValue = 2;