-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into add_span_events
- Loading branch information
Showing
36 changed files
with
529 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
grpc/include/userver/ugrpc/client/impl/client_dependencies.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
|
||
#include <userver/dynamic_config/source.hpp> | ||
#include <userver/engine/task/task_processor_fwd.hpp> | ||
#include <userver/testsuite/grpc_control.hpp> | ||
|
||
#include <userver/ugrpc/client/client_factory_settings.hpp> | ||
#include <userver/ugrpc/client/client_settings.hpp> | ||
#include <userver/ugrpc/client/middlewares/fwd.hpp> | ||
|
||
USERVER_NAMESPACE_BEGIN | ||
|
||
namespace ugrpc::impl { | ||
class StatisticsStorage; | ||
class CompletionQueuePoolBase; | ||
} // namespace ugrpc::impl | ||
|
||
namespace ugrpc::client::impl { | ||
|
||
/// Contains all non-code-generated dependencies for creating a gRPC client | ||
struct ClientDependencies final { | ||
std::string client_name; | ||
std::string endpoint; | ||
Middlewares mws; | ||
ugrpc::impl::CompletionQueuePoolBase& completion_queues; | ||
ugrpc::impl::StatisticsStorage& statistics_storage; | ||
dynamic_config::Source config_source; | ||
testsuite::GrpcControl& testsuite_grpc; | ||
const dynamic_config::Key<ClientQos>* qos{nullptr}; | ||
const ClientFactorySettings& client_factory_settings; | ||
engine::TaskProcessor& channel_task_processor; | ||
DedicatedMethodsConfig dedicated_methods_config; | ||
}; | ||
|
||
} // namespace ugrpc::client::impl | ||
|
||
USERVER_NAMESPACE_END |
Oops, something went wrong.