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<IngressClassSpec> for IngressClassSpec
impl PartialEq<IngressClassSpec> 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 ==
.