[][src]Struct k8s_openapi::api::extensions::v1beta1::HTTPIngressPath

pub struct HTTPIngressPath {
    pub backend: IngressBackend,
    pub path: Option<String>,
    pub path_type: Option<String>,

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.


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

Trait Implementations

impl Clone for HTTPIngressPath[src]

impl Debug for HTTPIngressPath[src]

impl Default for HTTPIngressPath[src]

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

impl PartialEq<HTTPIngressPath> for HTTPIngressPath[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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.