LCOV - code coverage report
Current view: top level - source/common/router - tls_context_match_criteria_impl.cc (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 6 8 75.0 %
Date: 2024-01-05 06:35:25 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "source/common/router/tls_context_match_criteria_impl.h"
       2             : 
       3             : #include "envoy/config/route/v3/route_components.pb.h"
       4             : 
       5             : namespace Envoy {
       6             : namespace Router {
       7             : 
       8             : TlsContextMatchCriteriaImpl::TlsContextMatchCriteriaImpl(
       9          30 :     const envoy::config::route::v3::RouteMatch::TlsContextMatchOptions& options) {
      10          30 :   if (options.has_presented()) {
      11          30 :     presented_ = options.presented().value();
      12          30 :   }
      13             : 
      14          30 :   if (options.has_validated()) {
      15           0 :     validated_ = options.validated().value();
      16           0 :   }
      17          30 : }
      18             : 
      19             : } // namespace Router
      20             : } // namespace Envoy

Generated by: LCOV version 1.15