Namespaces | Functions
create_test_channel.cc File Reference
#include "test/cpp/util/create_test_channel.h"
#include "absl/flags/flag.h"
#include <grpc/support/log.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/security/credentials.h>
#include "test/cpp/util/test_credentials_provider.h"
Include dependency graph for create_test_channel.cc:

Go to the source code of this file.

Namespaces

 grpc
 

Functions

 ABSL_FLAG (std::string, grpc_test_use_grpclb_with_child_policy, "", "If non-empty, set a static service config on channels created by " "grpc::CreateTestChannel, that configures the grpclb LB policy " "with a child policy being the value of this flag (e.g. round_robin " "or pick_first).")
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &cred_type, const std::string &override_hostname, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &cred_type, const std::string &override_hostname, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &credential_type, const std::shared_ptr< CallCredentials > &creds)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &credential_type, const std::shared_ptr< CallCredentials > &creds, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, const std::string &override_hostname, testing::transport_security security_type, bool use_prod_roots, const std::shared_ptr< CallCredentials > &creds, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 
std::shared_ptr< Channel > grpc::CreateTestChannel (const std::string &server, testing::transport_security security_type)
 

Function Documentation

◆ ABSL_FLAG()

ABSL_FLAG ( std::string  ,
grpc_test_use_grpclb_with_child_policy  ,
""  ,
"If non-  empty,
set a static service config on channels created by " "grpc::CreateTestChannel  ,
that configures the grpclb LB policy " "with a child policy being the value of this flag(e.g. round_robin " "or pick_first)."   
)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:09