consul/logging
Matt Keeler 326c0ecfbe
In-Memory gRPC (#19942)
* Implement In-Process gRPC for use by controller caching/indexing

This replaces the pipe base listener implementation we were previously using. The new style CAN avoid cloning resources which our controller caching/indexing is taking advantage of to not duplicate resource objects in memory.

To maintain safety for controllers and for them to be able to modify data they get back from the cache and the resource service, the client they are presented in their runtime will be wrapped with an autogenerated client which clones request and response messages as they pass through the client.

Another sizable change in this PR is to consolidate how server specific gRPC services get registered and managed. Before this was in a bunch of different methods and it was difficult to track down how gRPC services were registered. Now its all in one place.

* Fix race in tests

* Ensure the resource service is registered to the multiplexed handler for forwarding from client agents

* Expose peer streaming on the internal handler
2024-01-12 11:54:07 -05:00
..
monitor [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gated_writer.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
gated_writer_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
grpc.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
grpc_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
log_levels.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
logfile.go Net 3181 consul gh issue 15709 allow log file naming like nomad - fix bug (#18631) 2023-09-01 14:53:31 +05:30
logfile_bsd.go unhack: fix broken `make lint` on macbooks (#19611) 2023-11-13 11:19:50 -06:00
logfile_linux.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
logfile_solaris.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
logfile_test.go NET-3181 - Allow log file naming like Nomad (#18617) 2023-08-31 21:51:09 +05:30
logfile_windows.go Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
logger.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
logger_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
names.go In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
syslog.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
syslog_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00
syslog_unsupported_test.go Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00