Struct k8s_openapi::v1_8::api::extensions::v1beta1::IngressRule[][src]

pub struct IngressRule {
    pub host: Option<String>,
    pub http: Option<HTTPIngressRuleValue>,
}

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.

Fields

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 the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress.

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

Trait Implementations

impl Clone for IngressRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IngressRule
[src]

Formats the value using the given formatter. Read more

impl Default for IngressRule
[src]

Returns the "default value" for a type. Read more

impl PartialEq for IngressRule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for IngressRule
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for IngressRule
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for IngressRule

impl Sync for IngressRule