30 Commits

Author SHA1 Message Date
9572bbe0f9 cleanup: remove unused symbols (#2581) 2019-01-17 10:14:45 -08:00
29a7ac4deb client: deprecates FailFast & replaces its use by WaitForReady. 2018-12-13 15:15:11 -08:00
04ea82009c cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
13b2b26aae internal: update proto generated code (#2386) 2018-10-18 15:45:22 -07:00
945824a2e5 credentials/alts: Minor typo fix (#2344) 2018-10-02 10:00:23 -07:00
4dedfdc82c credentials: support google default creds (#2315)
Google default creds is a combo of ALTS, TLS and OAuth2. The right set of creds will be picked to use based on environment.

This PR contains:
 - A new `creds.Bundle` type
   - changes to use it in ClientConn and transport
   - dial option to set the bundle for a ClientConn
   - balancer options and NewSubConnOption to set it for SubConn
 - Google default creds implementation by @cesarghali 
 - grpclb changes to use different creds mode for different servers
 - interop client changes for google default creds testing
2018-09-25 13:17:25 -07:00
8997b5fa08 credentials/alts: Pass the target name to ALTS handshaker (#2319) 2018-09-20 16:48:47 -07:00
5fe5ce74bb credentials/alts: Export test APIs (#2293) 2018-09-07 11:05:56 -07:00
16df5a3328 credentials/alts: Rename core package to internal (#2296) 2018-09-07 10:24:15 -07:00
0150fc5d50 credentials/alts: Move alts/core to alts/internal (#2292) 2018-09-05 15:15:42 -07:00
5fe10fccaf Remove unused symbols (#2287) 2018-09-05 12:29:02 -07:00
90f728eaf7 Remove shadowing of built-ins (#2290) 2018-09-05 09:05:40 -07:00
a91fb537b1 credentials/alts: Add ALTS AuthInfoFromPeer API (#2269) 2018-08-28 10:44:03 -07:00
59dd9b3f19 test: add go 1.11 to travis and remove go 1.7 (#2278) 2018-08-27 13:31:20 -07:00
8e36593ad9 go generate: update proto files (#2236) 2018-07-25 11:40:12 -07:00
39a411827d internal: Update proto generated code (#2133) 2018-06-08 17:54:26 -07:00
130c87fa0d alts: copy handshake address in Clone() (#2119) 2018-06-01 15:33:31 -07:00
f669235193 internal: update proto generated code (#2093) 2018-05-21 09:59:26 -07:00
679ceaae57 internal: fix travis failure on alts proto (#2079) 2018-05-16 10:32:11 -07:00
9020130bcf credentials/alts: make go:generate rebuild alts protos (#2056) 2018-05-15 15:42:21 -07:00
419de394cf Add AuthInfoFromContext utility API (#2062) 2018-05-11 14:16:43 -07:00
17a5d9ce39 credentials/alts: Refer to ALTS gRPC types by a different package (#2028) 2018-04-30 12:57:04 -07:00
75d37eff66 credentials/alts: Add ServiceOption for server-side ALTS creation (#2009)
* Move handshaker_service_address flag to binaries
2018-04-23 11:11:20 -07:00
8124abf74e credentials/alts: Remove the enable_untrusted_alts flag (#1931) 2018-03-19 18:27:44 -07:00
211a7b7ec0 credentials/alts: Update ALTS "New" APIs (#1921) 2018-03-19 09:07:54 -07:00
efcc755fd5 credentials/alts: change ALTS protos to match the golden version (#1908) 2018-03-08 12:12:55 -08:00
0843fd0ee0 credentials/alts: fix infinite recursion bug [in custom error type] (#1906) 2018-03-07 13:50:30 -08:00
5190b068e2 ALTS: Simplify "New" APIs (#1895)
ALTS NewClientALTS and NewServerALTS APIs are in the grpc/credentials/alts package. Having the term ALTS in the API names is redundant. This PR removes it.
2018-03-07 09:14:47 -08:00
a1de3b2bd6 alts: Change ALTS proto package name (#1886) 2018-02-26 18:05:53 -08:00
2e7e633fea Add ALTS code (#1865) 2018-02-26 17:02:59 -08:00