Struct kube_client::config::Cluster
source · pub struct Cluster {
pub server: Option<String>,
pub insecure_skip_tls_verify: Option<bool>,
pub certificate_authority: Option<String>,
pub certificate_authority_data: Option<String>,
pub proxy_url: Option<String>,
pub tls_server_name: Option<String>,
pub extensions: Option<Vec<NamedExtension>>,
}
Available on crate feature
config
only.Expand description
Cluster stores information to connect Kubernetes cluster.
Fields§
§server: Option<String>
The address of the kubernetes cluster (https://hostname:port).
insecure_skip_tls_verify: Option<bool>
Skips the validity check for the server’s certificate. This will make your HTTPS connections insecure.
The path to a cert file for the certificate authority.
PEM-encoded certificate authority certificates. Overrides certificate_authority
proxy_url: Option<String>
URL to the proxy to be used for all requests.
tls_server_name: Option<String>
Name used to check server certificate.
If tls_server_name
is None
, the hostname used to contact the server is used.
extensions: Option<Vec<NamedExtension>>
Additional information for extenders so that reads and writes don’t clobber unknown fields
Trait Implementations§
source§impl<'de> Deserialize<'de> for Cluster
impl<'de> Deserialize<'de> for Cluster
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 RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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