1
#pragma once
2

            
3
#include "source/common/formatter/substitution_formatter.h"
4

            
5
namespace Envoy {
6
namespace Extensions {
7
namespace Formatter {
8

            
9
class MetadataFormatterFactory : public ::Envoy::Formatter::CommandParserFactory {
10
public:
11
  ::Envoy::Formatter::CommandParserPtr
12
  createCommandParserFromProto(const Protobuf::Message&,
13
                               Server::Configuration::GenericFactoryContext&) override;
14
  ProtobufTypes::MessagePtr createEmptyConfigProto() override;
15
  std::string name() const override;
16
};
17

            
18
} // namespace Formatter
19
} // namespace Extensions
20
} // namespace Envoy