Struct k8s_openapi::v1_8::api::extensions::v1beta1::HTTPIngressPath
source · pub struct HTTPIngressPath {
pub backend: IngressBackend,
pub path: Option<String>,
}
Expand description
HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
Fields§
§backend: IngressBackend
Backend defines the referenced service endpoint to which the traffic will be forwarded to.
path: Option<String>
Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional “path” part of a URL as defined by RFC 3986. Paths must begin with a ‘/’. If unspecified, the path defaults to a catch all sending traffic to the backend.
Trait Implementations§
source§impl Clone for HTTPIngressPath
impl Clone for HTTPIngressPath
source§fn clone(&self) -> HTTPIngressPath
fn clone(&self) -> HTTPIngressPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HTTPIngressPath
impl Debug for HTTPIngressPath
source§impl Default for HTTPIngressPath
impl Default for HTTPIngressPath
source§fn default() -> HTTPIngressPath
fn default() -> HTTPIngressPath
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HTTPIngressPath
impl<'de> Deserialize<'de> for HTTPIngressPath
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more