Type Alias quilkin::net::xds::AdsClient

source ·
pub type AdsClient = Client<AggregatedDiscoveryServiceClient<Channel>>;

Aliased Type§

struct AdsClient { /* private fields */ }

Implementations§

source§

impl AdsClient

source

pub fn xds_client_stream( &self, config: Arc<Config>, rt_config: Ready ) -> BidirectionalStream<AggregatedDiscoveryServiceClient<Channel>>

Starts a new stream to the xDS management server.

source

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