Coverage Report

Created: 2023-11-12 09:30

/proc/self/cwd/source/common/router/tls_context_match_criteria_impl.h
Line
Count
Source
1
#pragma once
2
3
#include "envoy/config/route/v3/route_components.pb.h"
4
#include "envoy/router/router.h"
5
6
namespace Envoy {
7
namespace Router {
8
9
class TlsContextMatchCriteriaImpl : public TlsContextMatchCriteria {
10
public:
11
  TlsContextMatchCriteriaImpl(
12
      const envoy::config::route::v3::RouteMatch::TlsContextMatchOptions& options);
13
14
1.84k
  const absl::optional<bool>& presented() const override { return presented_; }
15
1.58k
  const absl::optional<bool>& validated() const override { return validated_; }
16
17
private:
18
  absl::optional<bool> presented_;
19
  absl::optional<bool> validated_;
20
};
21
22
} // namespace Router
23
} // namespace Envoy