Commit Graph

12 Commits

Author SHA1 Message Date
Easwar Swaminathan d5280589eb
xds/bootstrap: Use correct format for "certificate_providers" field. (#3922) 2020-10-02 12:31:14 -07:00
Easwar Swaminathan 21f897eab8
xds: Add bootstrap support for certificate providers. (#3901) 2020-09-24 11:29:52 -07:00
Menghan Li 4270c3cfce
xds bootstrap: support insecure and make Creds required (#3881) 2020-09-17 11:05:45 -07:00
Doug Fawley bc714cd8ae
Remove Go 1.9 / AppEngine support; assume go1.12 build tag (#3767) 2020-07-30 16:15:35 -07:00
Easwar Swaminathan d8193ee9cc
xds: Add v3 support for client bootstrap. (#3723) 2020-07-09 16:23:28 -07:00
Menghan Li b6d6ede3e0
xds: use google default creds (#3673)
- use google default creds, so the client works not only on GCE (e.g. it also reads env variable for creds).
- Change google default creds to use jwt directly if scope is not set.

- Leak check is disabled temporarily due to https://github.com/googleapis/google-cloud-go/issues/2417
2020-06-11 09:48:55 -07:00
Menghan Li a63c5550c9
xds: set no_overprovisioning in request Node (#3402)
Also set the new user-agent fields.
2020-02-27 13:17:48 -08:00
Garrett Gutierrez 132187f04c
Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
Menghan Li 1f66bc9efb
xds: propogate bootstrap error to grpc.Dial (#3330) 2020-01-23 12:45:58 -08:00
Menghan Li 04c179315b
xds: support multiple xds servers in bootstrap file (#3247)
Changes to "xds_server" field in bootstrap file:

1. Field name is changed "xds_servers" (plural).
2. Field value should be a list of objects instead of a single object.

For now, we can ignore all entries except the first one.  In the future, we will add support for falling back to a secondary server when the primary is not reachable.
2019-12-18 13:50:05 -08:00
Easwar Swaminathan 5d4cc8affe
xds: Implementation of xds_resolver using LDS/RDS (#3183)
xds: Implementation of xds_resolver using LDS/RDS
2019-11-18 17:46:14 -08:00
Easwar Swaminathan 0b3a5cc266
Move bootstrap functionality to a new package. (#3176) 2019-11-13 09:58:04 -08:00