Struct kube_client::config::ExecAuthCluster
source · pub struct ExecAuthCluster {
pub server: Option<String>,
pub insecure_skip_tls_verify: Option<bool>,
pub certificate_authority_data: Option<Vec<u8>>,
pub proxy_url: Option<String>,
pub tls_server_name: Option<String>,
pub config: Option<Value>,
}
Available on crate feature
config
only.Expand description
Cluster stores information to connect Kubernetes cluster used with auth plugins
that have provideClusterInfo`` enabled. This is a copy of [
kube::config::Cluster`] with certificate_authority passed as bytes without the path.
Taken from clientauthentication/types.go#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.
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.
config: Option<Value>
This can be anything
Trait Implementations§
source§impl Clone for ExecAuthCluster
impl Clone for ExecAuthCluster
source§fn clone(&self) -> ExecAuthCluster
fn clone(&self) -> ExecAuthCluster
Returns a copy 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 ExecAuthCluster
impl Debug for ExecAuthCluster
source§impl Default for ExecAuthCluster
impl Default for ExecAuthCluster
source§fn default() -> ExecAuthCluster
fn default() -> ExecAuthCluster
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExecAuthCluster
impl<'de> Deserialize<'de> for ExecAuthCluster
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 ExecAuthCluster
impl Serialize for ExecAuthCluster
source§impl TryFrom<&Cluster> for ExecAuthCluster
impl TryFrom<&Cluster> for ExecAuthCluster
§type Error = KubeconfigError
type Error = KubeconfigError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for ExecAuthCluster
impl Send for ExecAuthCluster
impl Sync for ExecAuthCluster
impl Unpin for ExecAuthCluster
impl UnwindSafe for ExecAuthCluster
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