Searched refs:EnvironmentAutoDetect (Results 1 – 11 of 11) sorted by relevance
137 absl::AnyInvocable<void(EnvironmentAutoDetect::ResourceType)> on_done, in EnvironmentAutoDetectHelper()265 absl::optional<EnvironmentAutoDetect::ResourceType> resource; in FetchMetadataServerAttributesAsynchronouslyLocked()315 absl::AnyInvocable<void(EnvironmentAutoDetect::ResourceType)> on_done_;324 EnvironmentAutoDetect::ResourceType resource_ ABSL_GUARDED_BY(mu_);331 EnvironmentAutoDetect* g_autodetect = nullptr;335 void EnvironmentAutoDetect::Create(std::string project_id) { in Create()337 g_autodetect = new EnvironmentAutoDetect(project_id); in Create()340 EnvironmentAutoDetect& EnvironmentAutoDetect::Get() { return *g_autodetect; } in Get()342 EnvironmentAutoDetect::EnvironmentAutoDetect(std::string project_id) in EnvironmentAutoDetect() function in grpc::internal::EnvironmentAutoDetect347 void EnvironmentAutoDetect::NotifyOnDone(absl::AnyInvocable<void()> callback) { in NotifyOnDone()[all …]
41 class EnvironmentAutoDetect {50 static EnvironmentAutoDetect& Get();53 explicit EnvironmentAutoDetect(std::string project_id);
82 const EnvironmentAutoDetect::ResourceType* resource);90 const EnvironmentAutoDetect::ResourceType* resource);108 const EnvironmentAutoDetect::ResourceType* resource_ ABSL_GUARDED_BY(mu_) =
114 grpc::internal::EnvironmentAutoDetect::Create(config->project_id); in GcpObservabilityInit()148 grpc::internal::EnvironmentAutoDetect::Get().NotifyOnDone( in GcpObservabilityInit()151 auto* resource = grpc::internal::EnvironmentAutoDetect::Get().resource(); in GcpObservabilityInit()
266 const EnvironmentAutoDetect::ResourceType* resource) { in RegisterEnvironmentResource()283 const EnvironmentAutoDetect::ResourceType* resource = nullptr; in Flush()323 const EnvironmentAutoDetect::ResourceType* resource) { in FlushEntriesHelper()405 auto& env_autodetect = EnvironmentAutoDetect::Get(); in MaybeTriggerFlushLocked()411 RegisterEnvironmentResource(EnvironmentAutoDetect::Get().resource()); in MaybeTriggerFlushLocked()
135 absl::AnyInvocable<void(EnvironmentAutoDetect::ResourceType)> on_done, in EnvironmentAutoDetectHelper()263 absl::optional<EnvironmentAutoDetect::ResourceType> resource; in FetchMetadataServerAttributesAsynchronouslyLocked()313 absl::AnyInvocable<void(EnvironmentAutoDetect::ResourceType)> on_done_;322 EnvironmentAutoDetect::ResourceType resource_ ABSL_GUARDED_BY(mu_);329 EnvironmentAutoDetect* g_autodetect = nullptr;333 void EnvironmentAutoDetect::Create(std::string project_id) { in Create()335 g_autodetect = new EnvironmentAutoDetect(project_id); in Create()338 EnvironmentAutoDetect& EnvironmentAutoDetect::Get() { return *g_autodetect; } in Get()340 EnvironmentAutoDetect::EnvironmentAutoDetect(std::string project_id) in EnvironmentAutoDetect() function in grpc::internal::EnvironmentAutoDetect345 void EnvironmentAutoDetect::NotifyOnDone(absl::AnyInvocable<void()> callback) { in NotifyOnDone()[all …]
80 const EnvironmentAutoDetect::ResourceType* resource);88 const EnvironmentAutoDetect::ResourceType* resource);106 const EnvironmentAutoDetect::ResourceType* resource_ ABSL_GUARDED_BY(mu_) =
115 grpc::internal::EnvironmentAutoDetect::Create(config->project_id); in GcpObservabilityInit()149 grpc::internal::EnvironmentAutoDetect::Get().NotifyOnDone( in GcpObservabilityInit()152 auto* resource = grpc::internal::EnvironmentAutoDetect::Get().resource(); in GcpObservabilityInit()
44 grpc::internal::EnvironmentAutoDetect* env, in GetNotifiedOnEnvironmentDetection()55 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()68 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()81 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()94 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()107 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()119 grpc::internal::EnvironmentAutoDetect env("project"); in TEST_F()