Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xds_client_rafactor_step_3] This cannot be real #45

Closed
wants to merge 1 commit into from

Conversation

menghanl
Copy link
Owner

@menghanl menghanl commented Nov 9, 2021

[xds_client_rafactor_step_3] xdsclient tests passing

[xds_client_rafactor_step_3] new controller with ServerConfig, not top level config

Copy link
Owner Author

@menghanl menghanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

Copy link
Owner Author

@menghanl menghanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

Copy link
Owner Author

@menghanl menghanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2

…dsclient to a separate struct

- new package `controller`, to manage xDS ClientConn and stream
  - `transport_helper` and v2/v3 clients are moved to this new package
  - v2/v3 are minimized to only handle version specific operations (request building and type assertions)
    - Note that they no longer call `UnmarshalLDS` etc, the higher level controller calls them
  - v2/v3 are not a part of the controller (opposite of what's before, `transport_helper` is a part of v2/v3 clients)

- some types are moved
  - v2 and v3 clients are now under `controller`
  - package version (for different v2/v3 type URLs) is now under `xdsresource`

- tests
  - delete unused method from fakeserver (because the tests using it are changed)
  - renaming in xdsclient tests: `apiclient` -> `controller`
  - v2 tests are all moved to controller (v3 tests are __not__ added in this PR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant