pub struct IngressClassSpec {
pub controller: Option<String>,
pub parameters: Option<IngressClassParametersReference>,
}
Expand description
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<IngressClassParametersReference>
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§
Source§impl Clone for IngressClassSpec
impl Clone for IngressClassSpec
Source§fn clone(&self) -> IngressClassSpec
fn clone(&self) -> IngressClassSpec
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 IngressClassSpec
impl Debug for IngressClassSpec
Source§impl DeepMerge for IngressClassSpec
impl DeepMerge for IngressClassSpec
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for IngressClassSpec
impl Default for IngressClassSpec
Source§fn default() -> IngressClassSpec
fn default() -> IngressClassSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IngressClassSpec
impl<'de> Deserialize<'de> for IngressClassSpec
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
Source§impl PartialEq for IngressClassSpec
impl PartialEq for IngressClassSpec
Source§impl Serialize for IngressClassSpec
impl Serialize for IngressClassSpec
impl StructuralPartialEq for IngressClassSpec
Auto Trait Implementations§
impl Freeze for IngressClassSpec
impl RefUnwindSafe for IngressClassSpec
impl Send for IngressClassSpec
impl Sync for IngressClassSpec
impl Unpin for IngressClassSpec
impl UnwindSafe for IngressClassSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more