xds: change the DumpResources API to return proto message containing the resource dump #7240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #6898
This PR does not cover all changes required to support A71 in CSDS. It changes the
DumpResources
API on theXDSclient
interface to return the actual proto message for the CSDS response. The eventual goal is as follows:DumpResources
method from theXDSClient
interfaceDumpResources
method on theclientImpl
type which is the implementation of theXDSClient
interfacexdsclient.DumpResources()
with returns the CSDS response protodumpResources()
method and collate all the responses and return oneI'm currently blocked on the last two steps because our current state of things with the global singleton and global xDS clients for testing seems to be mess. I need to clean that up quite a bit before I can get to the last two steps here.
#a71-xds-fallback
RELEASE NOTES: none