Line data Source code
1 : #include "source/server/config_validation/api.h" 2 : 3 : #include "source/common/common/assert.h" 4 : #include "source/server/config_validation/dispatcher.h" 5 : 6 : namespace Envoy { 7 : namespace Api { 8 : 9 : ValidationImpl::ValidationImpl(Thread::ThreadFactory& thread_factory, Stats::Store& stats_store, 10 : Event::TimeSystem& time_system, Filesystem::Instance& file_system, 11 : Random::RandomGenerator& random_generator, 12 : const envoy::config::bootstrap::v3::Bootstrap& bootstrap, 13 : const ProcessContextOptRef& process_context) 14 : : Impl(thread_factory, stats_store, time_system, file_system, random_generator, bootstrap, 15 : process_context), 16 320 : time_system_(time_system) {} 17 : 18 320 : Event::DispatcherPtr ValidationImpl::allocateDispatcher(const std::string& name) { 19 320 : return Event::DispatcherPtr{new Event::ValidationDispatcher(name, *this, time_system_)}; 20 320 : } 21 : 22 : Event::DispatcherPtr 23 : ValidationImpl::allocateDispatcher(const std::string&, 24 0 : const Event::ScaledRangeTimerManagerFactory&) { 25 0 : PANIC("not implemented"); 26 0 : } 27 : 28 : Event::DispatcherPtr ValidationImpl::allocateDispatcher(const std::string&, 29 0 : Buffer::WatermarkFactoryPtr&&) { 30 0 : PANIC("not implemented"); 31 0 : } 32 : 33 : } // namespace Api 34 : } // namespace Envoy