$prefix_dir = "resty_cli_temp"; if (-d $prefix_dir) { system("rm -rf $prefix_dir") == 0 or die $!; } mkdir $prefix_dir or die "failed to mkdir $prefix_dir: $!"; } else { if ($is_win32 || !-d '/tmp') { require File::Temp; $prefix_dir = File::Temp::tempdir...
Fancy command-line utilities for OpenResty. Contribute to openresty/resty-cli development by creating an account on GitHub.
我不知道resty-工具,但是:作为使用_block指令的替代方法,您可以切换到使用文件。对我来说,文件总是...
resty-cli - Fancy command-line utilities for OpenResty. Table of Contents Name Description Videos Synopsis New Lua API Installation Test Suite Authors Copyright and License Description Therestycommand-line utility can be used to run OpenResty's Lua scripts directly off the command-line just like the...
The following excerpt is fromhttps://github.com/openresty/lua-resty-core/blob/master/lib/ngx/process.md. How can I run the code withrestyCLI without launching OpenResty (Nginx)? It's tedious to restart/reload a full Nginx daemon each time I update the snippets. ...
我们已发布 ADC 的新版本,初步支持其在 API7 企业版后端的使用,dump、diff 和 sync 等核心功能已可在 API7 企业版后端使用。 借助这一新的后端支持,用户可以直接从 APISIX 导出 API 资源,并将其同步至 API7 企业版,从而更轻松地迁移 APISIX 上的旧配置以充分利用 API7 企业版提供的强大企业级功能。
openresty/resty-cli master BranchesTags Code README Name resty-cli - Fancy command-line utilities for OpenResty. Table of Contents Name Description Videos Synopsis New Lua API Installation Test Suite Authors Copyright and License Description Therestycommand-line utility can be used to run OpenResty's...
resty-cli is heavily relied upon in most OpenResty deployments, but its runtime dependency on Perl often makes it less than ideal for package maintainers and operators.This project is a drop-in replacement for resty-cli with no runtime dependencies (aside from OpenResty itself, of course), ...
I added the request handler as example in README. However, fetch_metadata() seemed to return empty result which caused the error. local cli = client:new(broker_list) local brokers, partitions = cli:fetch_metadata("exp_khuang") ngx.say("b...