pub struct IpcAuthConfiguration { /* private fields */ }Expand description
Datadog Agent IPC bearer-token and exact shared-certificate mTLS configuration.
Implementations§
Source§impl IpcAuthConfiguration
impl IpcAuthConfiguration
Sourcepub fn new(auth_token_file_path: PathBuf, ipc_cert_file_path: PathBuf) -> Self
pub fn new(auth_token_file_path: PathBuf, ipc_cert_file_path: PathBuf) -> Self
Creates an IpcAuthConfiguration, resolving empty paths to Agent defaults.
An empty token path selects the platform-specific token path. An empty certificate path selects ipc_cert.pem
beside the resolved token, or in the platform configuration directory when the token has no parent.
Sourcepub fn auth_token_file_path(&self) -> &Path
pub fn auth_token_file_path(&self) -> &Path
Gets the path to the Agent authentication token file from the configuration.
Sourcepub fn ipc_cert_file_path(&self) -> &Path
pub fn ipc_cert_file_path(&self) -> &Path
Gets the shared IPC mTLS identity file path from the configuration.
Trait Implementations§
Source§impl Clone for IpcAuthConfiguration
impl Clone for IpcAuthConfiguration
Source§fn clone(&self) -> IpcAuthConfiguration
fn clone(&self) -> IpcAuthConfiguration
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 moreAuto Trait Implementations§
impl Freeze for IpcAuthConfiguration
impl RefUnwindSafe for IpcAuthConfiguration
impl Send for IpcAuthConfiguration
impl Sync for IpcAuthConfiguration
impl Unpin for IpcAuthConfiguration
impl UnwindSafe for IpcAuthConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more