[−][src]Struct k8s_openapi::api::extensions::v1beta1::IngressSpec
IngressSpec describes the Ingress the user wishes to exist.
Fields
backend: Option<IngressBackend>
A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
ingress_class_name: Option<String>
IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated kubernetes.io/ingress.class
annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
rules: Option<Vec<IngressRule>>
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
tls: Option<Vec<IngressTLS>>
TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
Trait Implementations
impl Clone for IngressSpec
[src]
pub fn clone(&self) -> IngressSpec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IngressSpec
[src]
impl Default for IngressSpec
[src]
pub fn default() -> IngressSpec
[src]
impl<'de> Deserialize<'de> for IngressSpec
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<IngressSpec> for IngressSpec
[src]
pub fn eq(&self, other: &IngressSpec) -> bool
[src]
pub fn ne(&self, other: &IngressSpec) -> bool
[src]
impl Serialize for IngressSpec
[src]
impl StructuralPartialEq for IngressSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for IngressSpec
[src]
impl Send for IngressSpec
[src]
impl Sync for IngressSpec
[src]
impl Unpin for IngressSpec
[src]
impl UnwindSafe for IngressSpec
[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>,