Package net.stickycode.kuuty.model.v18
Class IoK8sApiNetworkingV1beta1IngressRule
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiNetworkingV1beta1IngressRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiNetworkingV1beta1IngressRule extends Object
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTstatic StringJSON_PROPERTY_HTTP
-
Constructor Summary
Constructors Constructor Description IoK8sApiNetworkingV1beta1IngressRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHost()Host is the fully qualified domain name of a network host, as defined by RFC 3986.IoK8sApiNetworkingV1beta1HTTPIngressRuleValuegetHttp()Get httpinthashCode()IoK8sApiNetworkingV1beta1IngressRulehost(String host)IoK8sApiNetworkingV1beta1IngressRulehttp(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue http)voidsetHost(String host)voidsetHttp(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue http)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HTTP
public static final String JSON_PROPERTY_HTTP
- See Also:
- Constant Field Values
-
-
Method Detail
-
host
public IoK8sApiNetworkingV1beta1IngressRule host(String host)
-
getHost
@Nullable public 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.- Returns:
- host
-
setHost
public void setHost(String host)
-
http
public IoK8sApiNetworkingV1beta1IngressRule http(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue http)
-
getHttp
@Nullable public IoK8sApiNetworkingV1beta1HTTPIngressRuleValue getHttp()
Get http- Returns:
- http
-
setHttp
public void setHttp(IoK8sApiNetworkingV1beta1HTTPIngressRuleValue http)
-
-