Function grpcio_sys::grpc_xds_credentials_create[][src]

pub unsafe extern "C" fn grpc_xds_credentials_create(
    fallback_credentials: *mut grpc_channel_credentials
) -> *mut grpc_channel_credentials
Expand description

EXPERIMENTAL API - Subject to change

This method creates an xDS channel credentials object.

Creating a channel with credentials of this type indicates that the channel should get credentials configuration from the xDS control plane.

\a fallback_credentials are used if the channel target does not have the ‘xds:///’ scheme or if the xDS control plane does not provide information on how to fetch credentials dynamically. Does NOT take ownership of the \a fallback_credentials. (Internally takes a ref to the object.)