forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathresources.h
29 lines (23 loc) · 981 Bytes
/
resources.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include <string>
#include "common/singleton/const_singleton.h"
namespace Envoy {
namespace Config {
/**
* Constant Type URLs.
*/
class TypeUrlValues {
public:
const std::string Listener{"type.googleapis.com/envoy.api.v2.Listener"};
const std::string Cluster{"type.googleapis.com/envoy.api.v2.Cluster"};
const std::string ClusterLoadAssignment{"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment"};
const std::string Secret{"type.googleapis.com/envoy.api.v2.auth.Secret"};
const std::string RouteConfiguration{"type.googleapis.com/envoy.api.v2.RouteConfiguration"};
const std::string VirtualHost{"type.googleapis.com/envoy.api.v2.route.VirtualHost"};
const std::string ScopedRouteConfiguration{
"type.googleapis.com/envoy.api.v2.ScopedRouteConfiguration"};
const std::string Runtime{"type.googleapis.com/envoy.service.discovery.v2.Runtime"};
};
using TypeUrl = ConstSingleton<TypeUrlValues>;
} // namespace Config
} // namespace Envoy