[−][src]Struct k8s_openapi::api::extensions::v1beta1::HTTPIngressPath
HTTPIngressPath associates a path 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 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 '/'. When unspecified, all paths from incoming requests are matched.
path_type: Option<String>
PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is done on a path element by element basis. A path element refers is the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz).
- ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types. Defaults to ImplementationSpecific.
Trait Implementations
impl Clone for HTTPIngressPath
[src]
pub fn clone(&self) -> HTTPIngressPath
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HTTPIngressPath
[src]
impl Default for HTTPIngressPath
[src]
pub fn default() -> HTTPIngressPath
[src]
impl<'de> Deserialize<'de> for HTTPIngressPath
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<HTTPIngressPath> for HTTPIngressPath
[src]
pub fn eq(&self, other: &HTTPIngressPath) -> bool
[src]
pub fn ne(&self, other: &HTTPIngressPath) -> bool
[src]
impl Serialize for HTTPIngressPath
[src]
impl StructuralPartialEq for HTTPIngressPath
[src]
Auto Trait Implementations
impl RefUnwindSafe for HTTPIngressPath
[src]
impl Send for HTTPIngressPath
[src]
impl Sync for HTTPIngressPath
[src]
impl Unpin for HTTPIngressPath
[src]
impl UnwindSafe for HTTPIngressPath
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,