Coverage Report

Created: 2023-11-12 09:30

/proc/self/cwd/source/common/router/tls_context_match_criteria_impl.cc
Line
Count
Source
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
11.2k
    const envoy::config::route::v3::RouteMatch::TlsContextMatchOptions& options) {
10
11.2k
  if (options.has_presented()) {
11
2.97k
    presented_ = options.presented().value();
12
2.97k
  }
13
14
11.2k
  if (options.has_validated()) {
15
3.30k
    validated_ = options.validated().value();
16
3.30k
  }
17
11.2k
}
18
19
} // namespace Router
20
} // namespace Envoy