diff --git a/api/filter/http/BUILD b/api/filter/http/BUILD index 9e3e2fc8..781ca311 100644 --- a/api/filter/http/BUILD +++ b/api/filter/http/BUILD @@ -12,6 +12,7 @@ proto_library( "health_check.proto", "http_connection_manager.proto", "ip_tagging.proto", + "lua.proto", "rate_limit.proto", "router.proto", "transcoder.proto", @@ -64,6 +65,11 @@ api_proto_library( deps = ["//api/filter:accesslog"], ) +api_proto_library( + name = "lua", + srcs = ["lua.proto"], +) + api_proto_library( name = "buffer", srcs = ["buffer.proto"], diff --git a/api/filter/http/lua.proto b/api/filter/http/lua.proto new file mode 100644 index 00000000..53e1bd46 --- /dev/null +++ b/api/filter/http/lua.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package envoy.api.v2.filter.http; + +// The Lua filter allows for generic scripting in an HTTP filter context. +// TODO(mattklein123): Link to filter docs. +message Lua { + // The Lua code to execute. + string inline_code = 1; +}