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
sourceimpl Clone for IngressClassSpec
impl Clone for IngressClassSpec
sourcefn clone(&self) -> IngressClassSpec
fn clone(&self) -> IngressClassSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IngressClassSpec
impl Debug for IngressClassSpec
sourceimpl DeepMerge for IngressClassSpec
impl DeepMerge for IngressClassSpec
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for IngressClassSpec
impl Default for IngressClassSpec
sourcefn default() -> IngressClassSpec
fn default() -> IngressClassSpec
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for IngressClassSpec
impl<'de> Deserialize<'de> for IngressClassSpec
sourcefn 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
sourceimpl PartialEq<IngressClassSpec> for IngressClassSpec
impl PartialEq<IngressClassSpec> for IngressClassSpec
sourcefn 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 ==
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more