pub struct ClusterAgent {
pub enabled: bool,
pub url: Option<String>,
pub auth_token: Option<String>,
pub kubernetes_service_name: Option<String>,
}Expand description
Cluster Agent connection, shared by checks, DogStatsD, and OTLP.
Fields§
§enabled: boolWhether the Cluster Agent connection is used.
url: Option<String>URL of the Cluster Agent.
auth_token: Option<String>Token used to authenticate to the Cluster Agent.
kubernetes_service_name: Option<String>Kubernetes service name used to discover the Cluster Agent.
Trait Implementations§
Source§impl Clone for ClusterAgent
impl Clone for ClusterAgent
Source§fn clone(&self) -> ClusterAgent
fn clone(&self) -> ClusterAgent
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 ClusterAgent
impl Debug for ClusterAgent
Source§impl Default for ClusterAgent
impl Default for ClusterAgent
Source§fn default() -> ClusterAgent
fn default() -> ClusterAgent
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClusterAgent
impl PartialEq for ClusterAgent
Source§impl Serialize for ClusterAgent
impl Serialize for ClusterAgent
impl StructuralPartialEq for ClusterAgent
Auto Trait Implementations§
impl Freeze for ClusterAgent
impl RefUnwindSafe for ClusterAgent
impl Send for ClusterAgent
impl Sync for ClusterAgent
impl Unpin for ClusterAgent
impl UnwindSafe for ClusterAgent
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