pub struct AutoscalingRunnerSetTemplateSpecDnsConfig {
pub nameservers: Option<Vec<String>>,
pub options: Option<Vec<AutoscalingRunnerSetTemplateSpecDnsConfigOptions>>,
pub searches: Option<Vec<String>>,
}Expand description
Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.
Fields§
§nameservers: Option<Vec<String>>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<AutoscalingRunnerSetTemplateSpecDnsConfigOptions>>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>>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§
Source§impl Clone for AutoscalingRunnerSetTemplateSpecDnsConfig
impl Clone for AutoscalingRunnerSetTemplateSpecDnsConfig
Source§fn clone(&self) -> AutoscalingRunnerSetTemplateSpecDnsConfig
fn clone(&self) -> AutoscalingRunnerSetTemplateSpecDnsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AutoscalingRunnerSetTemplateSpecDnsConfig
impl Default for AutoscalingRunnerSetTemplateSpecDnsConfig
Source§fn default() -> AutoscalingRunnerSetTemplateSpecDnsConfig
fn default() -> AutoscalingRunnerSetTemplateSpecDnsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoscalingRunnerSetTemplateSpecDnsConfig
impl<'de> Deserialize<'de> for AutoscalingRunnerSetTemplateSpecDnsConfig
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 AutoscalingRunnerSetTemplateSpecDnsConfig
impl PartialEq for AutoscalingRunnerSetTemplateSpecDnsConfig
Source§fn eq(&self, other: &AutoscalingRunnerSetTemplateSpecDnsConfig) -> bool
fn eq(&self, other: &AutoscalingRunnerSetTemplateSpecDnsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AutoscalingRunnerSetTemplateSpecDnsConfig
Auto Trait Implementations§
impl Freeze for AutoscalingRunnerSetTemplateSpecDnsConfig
impl RefUnwindSafe for AutoscalingRunnerSetTemplateSpecDnsConfig
impl Send for AutoscalingRunnerSetTemplateSpecDnsConfig
impl Sync for AutoscalingRunnerSetTemplateSpecDnsConfig
impl Unpin for AutoscalingRunnerSetTemplateSpecDnsConfig
impl UnsafeUnpin for AutoscalingRunnerSetTemplateSpecDnsConfig
impl UnwindSafe for AutoscalingRunnerSetTemplateSpecDnsConfig
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