Struct k8s_openapi_ext::corev1::PodDNSConfig
source · [−]pub struct PodDNSConfig {
pub nameservers: Option<Vec<String, Global>>,
pub options: Option<Vec<PodDNSConfigOption, Global>>,
pub searches: Option<Vec<String, Global>>,
}
Expand description
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
Fields
nameservers: Option<Vec<String, Global>>
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
options: Option<Vec<PodDNSConfigOption, Global>>
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
searches: Option<Vec<String, Global>>
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
Trait Implementations
sourceimpl Clone for PodDNSConfig
impl Clone for PodDNSConfig
sourcefn clone(&self) -> PodDNSConfig
fn clone(&self) -> PodDNSConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PodDNSConfig
impl Debug for PodDNSConfig
sourceimpl DeepMerge for PodDNSConfig
impl DeepMerge for PodDNSConfig
sourcefn merge_from(&mut self, other: PodDNSConfig)
fn merge_from(&mut self, other: PodDNSConfig)
Merge
other
into self
.sourceimpl Default for PodDNSConfig
impl Default for PodDNSConfig
sourcefn default() -> PodDNSConfig
fn default() -> PodDNSConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PodDNSConfig
impl<'de> Deserialize<'de> for PodDNSConfig
sourcefn deserialize<D>(
deserializer: D
) -> Result<PodDNSConfig, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<PodDNSConfig, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PodDNSConfig> for PodDNSConfig
impl PartialEq<PodDNSConfig> for PodDNSConfig
sourcefn eq(&self, other: &PodDNSConfig) -> bool
fn eq(&self, other: &PodDNSConfig) -> bool
sourceimpl Serialize for PodDNSConfig
impl Serialize for PodDNSConfig
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PodDNSConfig
Auto Trait Implementations
impl RefUnwindSafe for PodDNSConfig
impl Send for PodDNSConfig
impl Sync for PodDNSConfig
impl Unpin for PodDNSConfig
impl UnwindSafe for PodDNSConfig
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