You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/20 06:38:05 UTC

[GitHub] [apisix-control-plane] kasini3000 commented on issue #42: feat:Use curl to encapsulate the Admin API into a script

kasini3000 commented on issue #42:
URL: https://github.com/apache/apisix-control-plane/issues/42#issuecomment-823014673


   从命令行,用脚本和参数控制apisix
   
   功能需求:
   从命令行
   	添加路由,
   	删除路由,
   	添加监听,
   	删除监听,
   	添加后端,
   	删除后端。
   
   需求说明:
   用户界面=命令行,参数。(类似于istioctl,kubectl)
   我用webui,或dashboard去添加后端。是手动的,是http的。
   我希望能通过命令行,实现这些功能。这样我可以不用安装ui。和能自动化。
   程序内部,用脚本,用go语言的二进制程序,用其他语言的二进制程序,用curl把http转到命令行,我不关心。
   
   
   我猜:
   有一个命令接口,把网关,路由,后端这些信息,插入etcd数据库,对吗?
   能否把接口封装好后,暴露出来给用户?
   或对用户提供脚本,和参数。脚本内部通过curl,调用http://127.0.0.1/admin接口,
   最终实现,上述【功能需求】。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org