【问题标题】:What language that envoy proxy uses?特使代理使用什么语言?
【发布时间】: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


    【解决方案1】:

    它被称为Lua。阅读更多here

    【讨论】:

    猜你喜欢
    • 2015-07-03
    • 2015-07-19
    • 1970-01-01
    • 1970-01-01
    • 2015-12-08
    • 1970-01-01
    • 2010-11-01
    • 2010-10-17
    • 1970-01-01
    相关资源
    最近更新 更多