pub struct DNSEndpointConfig {
pub allow_external_traffic: Option<bool>,
pub enable_k8s_certs_via_dns: Option<bool>,
pub enable_k8s_tokens_via_dns: Option<bool>,
pub endpoint: Option<String>,
}Expand description
Describes the configuration of a DNS endpoint.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_external_traffic: Option<bool>Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.
enable_k8s_certs_via_dns: Option<bool>Controls whether the k8s certs auth is allowed via DNS.
enable_k8s_tokens_via_dns: Option<bool>Controls whether the k8s token auth is allowed via DNS.
endpoint: Option<String>Output only. The cluster’s DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.
Trait Implementations§
Source§impl Clone for DNSEndpointConfig
impl Clone for DNSEndpointConfig
Source§fn clone(&self) -> DNSEndpointConfig
fn clone(&self) -> DNSEndpointConfig
Returns a duplicate 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 DNSEndpointConfig
impl Debug for DNSEndpointConfig
Source§impl Default for DNSEndpointConfig
impl Default for DNSEndpointConfig
Source§fn default() -> DNSEndpointConfig
fn default() -> DNSEndpointConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DNSEndpointConfig
impl<'de> Deserialize<'de> for DNSEndpointConfig
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 Serialize for DNSEndpointConfig
impl Serialize for DNSEndpointConfig
impl Part for DNSEndpointConfig
Auto Trait Implementations§
impl Freeze for DNSEndpointConfig
impl RefUnwindSafe for DNSEndpointConfig
impl Send for DNSEndpointConfig
impl Sync for DNSEndpointConfig
impl Unpin for DNSEndpointConfig
impl UnwindSafe for DNSEndpointConfig
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