[][src]Struct k8s_openapi::api::networking::v1beta1::IngressClassSpec

pub struct IngressClassSpec {
    pub controller: Option<String>,
    pub parameters: Option<TypedLocalObjectReference>,
}

IngressClassSpec provides information about the class of an Ingress.

Fields

controller: Option<String>

Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.

parameters: Option<TypedLocalObjectReference>

Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.

Trait Implementations

impl Clone for IngressClassSpec[src]

impl Debug for IngressClassSpec[src]

impl Default for IngressClassSpec[src]

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

impl PartialEq<IngressClassSpec> for IngressClassSpec[src]

impl Serialize for IngressClassSpec[src]

impl StructuralPartialEq for IngressClassSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.