Struct k8s_openapi::api::networking::v1::IngressClassSpec
source · 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§fn eq(&self, other: &IngressClassSpec) -> bool
fn eq(&self, other: &IngressClassSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IngressClassSpec
impl Serialize for IngressClassSpec
impl StructuralPartialEq for IngressClassSpec
Auto Trait Implementations§
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