pub struct ExternalEtcd {
pub endpoints: Vec<String>,
pub ca_file: String,
pub cert_file: String,
pub key_file: String,
}Expand description
ExternalEtcd describes an external etcd cluster. Kubeadm has no knowledge of where certificate files live and they must be supplied.
Fields§
§endpoints: Vec<String>Endpoints of etcd members. Required for ExternalEtcd.
ca_file: StringCAFile is an SSL Certificate Authority file used to secure etcd communication. Required if using a TLS connection.
cert_file: StringCertFile is an SSL certification file used to secure etcd communication. Required if using a TLS connection.
key_file: StringKeyFile is an SSL key file used to secure etcd communication. Required if using a TLS connection.
Trait Implementations§
Source§impl Clone for ExternalEtcd
impl Clone for ExternalEtcd
Source§fn clone(&self) -> ExternalEtcd
fn clone(&self) -> ExternalEtcd
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 ExternalEtcd
impl Debug for ExternalEtcd
Source§impl<'de> Deserialize<'de> for ExternalEtcd
impl<'de> Deserialize<'de> for ExternalEtcd
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
Auto Trait Implementations§
impl Freeze for ExternalEtcd
impl RefUnwindSafe for ExternalEtcd
impl Send for ExternalEtcd
impl Sync for ExternalEtcd
impl Unpin for ExternalEtcd
impl UnwindSafe for ExternalEtcd
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