pub type AdsClient = Client<AggregatedDiscoveryServiceClient<Channel>>;
Aliased Type§
struct AdsClient { /* private fields */ }
Implementations§
source§impl AdsClient
impl AdsClient
sourcepub fn xds_client_stream(
&self,
config: Arc<Config>,
rt_config: Ready
) -> BidirectionalStream<AggregatedDiscoveryServiceClient<Channel>>
pub fn xds_client_stream( &self, config: Arc<Config>, rt_config: Ready ) -> BidirectionalStream<AggregatedDiscoveryServiceClient<Channel>>
Starts a new stream to the xDS management server.
sourcepub async fn delta_subscribe(
self,
config: Arc<Config>,
rt_config: Ready,
resources: impl IntoIterator<Item = (ResourceType, Vec<String>)>
) -> Result<DeltaSubscription, Self>
pub async fn delta_subscribe( self, config: Arc<Config>, rt_config: Ready, resources: impl IntoIterator<Item = (ResourceType, 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