【发布时间】:2020-02-02 01:23:25
【问题描述】:
envoy 下面使用的编程语言是什么?
operation: INSERT_BEFORE
value: # lua filter specification
name: envoy.lua
config:
inlineCode: |
function envoy_on_request(request_handle)
-- Make an HTTP call to an upstream host with the following headers, body, and timeout.
local headers, body = request_handle:httpCall(
"lua_cluster",
{
[":method"] = "POST",
[":path"] = "/acl",
[":authority"] = "internal.org.net"
},
"authorize call",
5000)
end
上面的语言可以用python代替吗?
【问题讨论】:
标签: istio envoyproxy