Home
last modified time | relevance | path

Searched refs:SetServingStatus (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/test/cpp/end2end/
Dhealth_service_end2end_test.cc62 void SetServingStatus(const std::string& service_name, in SetServingStatus() function in grpc::testing::__anon5785e28a0111::CustomHealthCheckService
68 void SetServingStatus(bool serving) override { in SetServingStatus() function in grpc::testing::__anon5785e28a0111::CustomHealthCheckService
160 service->SetServingStatus(kHealthyService, true); in VerifyHealthCheckService()
161 service->SetServingStatus(kUnhealthyService, false); in VerifyHealthCheckService()
173 service->SetServingStatus(false); in VerifyHealthCheckService()
198 service->SetServingStatus(kServiceName, false); in VerifyHealthCheckServiceStreaming()
203 service->SetServingStatus(kServiceName, true); in VerifyHealthCheckServiceStreaming()
224 service->SetServingStatus(kHealthyService, true); in VerifyHealthCheckServiceShutdown()
225 service->SetServingStatus(kUnhealthyService, false); in VerifyHealthCheckServiceShutdown()
267 service->SetServingStatus(kHealthyService, true); in VerifyHealthCheckServiceShutdown()
[all …]
Dclient_lb_end2end_test.cc380 void SetServingStatus(const std::string& service, bool serving) { in SetServingStatus() function
381 server_->GetHealthCheckService()->SetServingStatus(service, serving); in SetServingStatus()
1425 servers_[0]->SetServingStatus("health_check_service_name", true); in TEST_F()
1435 servers_[2]->SetServingStatus("health_check_service_name", true); in TEST_F()
1445 servers_[1]->SetServingStatus("health_check_service_name", true); in TEST_F()
1458 servers_[0]->SetServingStatus("health_check_service_name", false); in TEST_F()
1469 servers_[1]->SetServingStatus("health_check_service_name", false); in TEST_F()
1470 servers_[2]->SetServingStatus("health_check_service_name", false); in TEST_F()
1483 servers_[0]->SetServingStatus("health_check_service_name", true); in TEST_F()
1484 servers_[1]->SetServingStatus("health_check_service_name", true); in TEST_F()
[all …]
Dservice_config_end2end_test.cc343 void SetServingStatus(const std::string& service, bool serving) { in SetServingStatus() function
344 server_->GetHealthCheckService()->SetServingStatus(service, serving); in SetServingStatus()
/third_party/grpc/include/grpcpp/
Dhealth_check_service_interface.h36 virtual void SetServingStatus(const std::string& service_name,
39 virtual void SetServingStatus(bool serving) = 0;
/third_party/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc42 services_map_[""].SetServingStatus(SERVING); in DefaultHealthCheckService()
45 void DefaultHealthCheckService::SetServingStatus( in SetServingStatus() function in grpc::DefaultHealthCheckService
52 services_map_[service_name].SetServingStatus(serving ? SERVING : NOT_SERVING); in SetServingStatus()
55 void DefaultHealthCheckService::SetServingStatus(bool serving) { in SetServingStatus() function in grpc::DefaultHealthCheckService
63 service_data.SetServingStatus(status); in SetServingStatus()
75 service_data.SetServingStatus(NOT_SERVING); in Shutdown()
126 void DefaultHealthCheckService::ServiceData::SetServingStatus( in SetServingStatus() function in grpc::DefaultHealthCheckService::ServiceData
Ddefault_health_check_service.h237 void SetServingStatus(const std::string& service_name, bool serving) override;
238 void SetServingStatus(bool serving) override;
252 void SetServingStatus(ServingStatus status);