Commit Graph

243 Commits

Author SHA1 Message Date
Theodore Salvo f2fbb0e07e
Deprecate use of `ioutil` package (#5906)
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Theodore Salvo c90744f16a
oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` (#5882)
* Mark NewOauthAccess as deprecated & change examples

* Fix composite literal uses unkeyed fields for v1.19
2022-12-27 21:06:47 -06:00
richzw 638141fbb9
examples: add feature/cancellation retry to example test script (#5846) 2022-12-07 10:52:57 -08:00
Doug Fawley 22c1fd2e10
deps: update golang.org/x/net to latest in all modules (#5847) 2022-12-07 10:52:31 -08:00
richzw a2054471ce
examples: add new example to show updating metadata in interceptors (#5788) 2022-12-06 08:57:50 -08:00
Yash Handa be202a2601
examples: add an example to illustrate the usage of stats handler (#5657) 2022-11-29 10:36:32 -08:00
Doug Fawley 3011eaf70e
test/tools: update staticcheck version to latest (#5806) 2022-11-18 13:51:43 -08:00
Doug Fawley fefb3ec0c0
test/tools: update everything to latest versions except staticcheck (#5805) 2022-11-18 11:26:37 -08:00
Doug Fawley 50be6ae2f9
go.mod: update all dependencies (#5803) 2022-11-18 10:56:02 -08:00
Doug Fawley 824f44910d
go.mod: upgrade x/text to v0.4 to address CVE (#5769) 2022-11-07 07:51:22 -08:00
Jan Lamecki 54521b22e0
client: remove trailing null from unix abstract socket address (#5678) 2022-09-30 09:34:05 -07:00
RedHawker 182e9df160
Grab comment from proto file, similar to protoc-gen-go (#5540) 2022-09-06 12:35:40 -07:00
mitchsw c402378755
doc: remove comment about obsolete GRPC_GO_RETRY env var (#5495) 2022-07-12 13:36:41 -07:00
Easwar Swaminathan 15739b5c88
health: split imports into healthpb and healthgrpc (#5466) 2022-06-24 13:31:35 -07:00
stepbystep2 de73b2b645
examples: improve error messages (#5329) 2022-05-02 12:02:47 -07:00
Zach Reyes 4e780933f8
xds: ignore routes with unsupported cluster specifiers (#5269) 2022-03-31 11:02:26 -07:00
Easwar Swaminathan 6131e9d46e
examples: regenerate certs to use SHA256 signing algorithm (#5256) 2022-03-21 10:41:21 -07:00
Shang Jian Ding 328efcc927
example: add mutual TLS example (#5194) 2022-02-24 10:28:58 -08:00
Eric Butler ebc30b8fc3
reflection: use protobuf/reflect instead of go reflection, fix dynamic messages (#5180) 2022-02-15 11:01:42 -08:00
Appu 0e055491d5
Format directory/file references (#5184) 2022-02-09 11:29:47 -08:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Thomas Hallgren 5b3768235a
Let helloworld example listen to all hosts (#5089)
This commit changes the address that the helloworld greeter_server is
listening to from "localhost:<port>" to just ":<port>", thus enabling
the server to be used in setups where the request stem from another
host.

Signed-off-by: Thomas Hallgren <thomas@tada.se>
2022-01-24 15:38:04 -08:00
Tiratom 0145b50cdc
use insecure.NewCredentials() instead of grpc.WithInsecure (#5087) 2022-01-12 14:19:03 -05:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Yuan Tang 23becb71f7
examples: Fix server port in route_guide example to work with client (#4975) 2021-11-16 11:49:29 -08:00
Hrishi Hiraskar 467630fc24
examples: remove usage of WithBlock in examples (#4858) 2021-11-01 11:06:39 -07:00
Doug Fawley 3b1d3e48c9
examples: update load balancing example to use loadBalancingConfig (#4887) 2021-10-19 16:47:48 -07:00
Easwar Swaminathan 01ed64857e
update go.mod to point to latest cncf/udpa repo (#4884) 2021-10-18 15:12:44 -07:00
Easwar Swaminathan 3bae5f5b65
xds: use protos from cncf/xds instead of cncf/udpa (#4866) 2021-10-14 16:51:55 -07:00
Easwar Swaminathan ea41fbfa10
examples: unix abstract socket (#4848) 2021-10-11 14:55:45 -07:00
Easwar Swaminathan 2f3355d224
xds: update go-control-plane to latest (#4737) 2021-09-07 11:11:16 -07:00
Tobias Klauser ed501aa1fd
xds/internal/resolver: update github.com/cespare/xxhash to v2 (#4671)
github.com/cespare/xxhash/v2 supports Go ≥ 1.11 and this package states
1.11 in its go.mod file. The only symbol used from the xxhash package is the
Sum64String func which still exists and works the same in v2.

This gets rid of two indirect dependencies.
2021-09-01 14:08:00 -04:00
Easwar Swaminathan 6bd8e8cf30
multiple: remove support for Go 1.11 (#4700) 2021-08-24 14:24:34 -07:00
Zach Reyes 633fbe4dfe
xds: generate per-request hash config selector (#4525)
* xds: generate per-request hash in config selector
2021-06-17 09:00:05 -04:00
dkkb 194dcc921a
example: improve hello world server with starting msg (#4468) 2021-05-26 11:17:27 -07:00
Zeke Lu 50c071e9b5
example: correct the default value for server_host_override (#4407) 2021-05-14 14:09:26 -07:00
Easwar Swaminathan 397adad6a0
update go.mod and go.sum to point to latest go-control-plane (#4425) 2021-05-12 15:52:15 -07:00
Easwar Swaminathan 7a6ab59115
multiple: go mod tidy to make vet happy (#4337) 2021-04-13 11:47:25 -07:00
Aliaksandr Mianzhynski d6abfb4598
cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 2021-04-09 16:30:59 -07:00
Easwar Swaminathan 2df4370b33
examples: update xds examples for PSM security (#4256) 2021-04-08 16:02:52 -07:00
Doug Fawley d7737376c3
xds: implement fault injection HTTP filter (A33) (#4236) 2021-03-12 08:38:49 -08:00
Fagner Nunes Carvalho fce74a94bd
cleanup: fix typo in Interceptor README (#4249) 2021-03-08 16:37:15 -08:00
Doug Fawley 29bf29e0ed
xds: add HTTP filter is_optional support (gRFC A39) (#4221) 2021-03-02 09:11:35 -08:00
Doug Fawley f005af03c2
examples: delete profiling example since profiling support was rolled back (#4182) 2021-02-03 13:21:42 -08:00
Doug Fawley 938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
Easwar Swaminathan c638ab8ccd
Update envoyproxy/go-control-plane (#4098) 2020-12-11 09:14:07 -08:00
Edmond 8f3cc6cc26
protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 2020-11-23 14:56:57 -08:00
Easwar Swaminathan 9da74c039b
xds: Blank import supported certificate provider plugins. (#4047) 2020-11-20 16:46:45 -08:00
Easwar Swaminathan fa59d20167
pemfile: Implement certprovider config parsing API (#4023) 2020-11-17 15:36:28 -08:00
Timothy Gu 20636e76a9
protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00