Commit Graph

58 Commits

Author SHA1 Message Date
Easwar Swaminathan a45f13b160
xds: Support server_listener_resource_name_template (#4233) 2021-03-10 09:26:23 -08:00
Easwar Swaminathan 2fad6bf4da
xds: Implement server-side security (#4092) 2020-12-16 10:27:18 -08:00
Easwar Swaminathan 21570d76d6
xds: Read server_resource_name_id from bootstrap config (#4049) 2020-11-23 16:40:36 -08:00
Easwar Swaminathan 8736dcd05b
xds: Accept a net.Listener in Serve(). (#4052) 2020-11-20 12:42:06 -08:00
Easwar Swaminathan 22dba5eb4b
xds: Remove usages of grpc.WithInsecure(). (#4028) 2020-11-12 12:13:25 -08:00
Menghan Li 6caf9d8621
xds: make xds client a singleton (#4015)
- xdsclient.New() no longer takes any input, all configs are from bootstrap file
  - added a NewForTesting()
- The returned *Client is a wrapper of the underlying client implementation, for ref-couting
- xds-resolver and xds-server no longer calls bootstrap.NewConfig. It only calls xdsclient.New()
2020-11-12 11:08:36 -08:00
Easwar Swaminathan 28c130fe3d
xds: Minor improvements to xDS server API and test. (#4026) 2020-11-11 10:12:52 -08:00
Easwar Swaminathan 9c2f82d9a7
xds: Server implementation (#3999)
* xds: Server implementation.

* Remove security related code.

* Add a blocking newListenerWrapper() method.

* Fix some comments.

* Use non-blocking dial.

* Use WaitForReady().

* Use localhost instead of 127.0.0.1

* Another attempt to make the tests happy on GA.

* Make vet happy.

* Add a missing return.
2020-11-06 11:25:19 -08:00