Struct quilkin_xds::client::Client
source · pub struct Client<C: ServiceClient> { /* private fields */ }
Expand description
Client that can talk to an XDS server using the aDS protocol.
Implementations§
source§impl<C: ServiceClient> Client<C>
impl<C: ServiceClient> Client<C>
source§impl Client<AggregatedControlPlaneDiscoveryServiceClient<Channel>>
impl Client<AggregatedControlPlaneDiscoveryServiceClient<Channel>>
pub async fn delta_stream<C: Configuration>( self, config: Arc<C>, is_healthy: Arc<AtomicBool> ) -> Result<DeltaSubscription, Self>
source§impl Client<AggregatedDiscoveryServiceClient<Channel>>
impl Client<AggregatedDiscoveryServiceClient<Channel>>
sourcepub async fn delta_subscribe<C: Configuration>(
self,
config: Arc<C>,
is_healthy: Arc<AtomicBool>,
notifier: Option<UnboundedSender<String>>,
resources: impl IntoIterator<Item = (&'static str, Vec<String>)>
) -> Result<DeltaSubscription, Self>
pub async fn delta_subscribe<C: Configuration>( self, config: Arc<C>, is_healthy: Arc<AtomicBool>, notifier: Option<UnboundedSender<String>>, resources: impl IntoIterator<Item = (&'static str, Vec<String>)> ) -> Result<DeltaSubscription, Self>
Attempts to start a new delta stream to the xDS management server, if the management server does not support delta xDS we return the client as an error
Trait Implementations§
Auto Trait Implementations§
impl<C> !RefUnwindSafe for Client<C>
impl<C> Send for Client<C>
impl<C> Sync for Client<C>where
C: Sync,
impl<C> Unpin for Client<C>where
C: Unpin,
impl<C> !UnwindSafe for Client<C>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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::Request