Skip to content

优化插件化机制,支持编译时候自动生成关联插件 #671

@andrewshan

Description

@andrewshan

What is the feature you want to add?
通过配置文件,配置当前polaris编译需要依赖哪些插件,执行编译脚本的时候,可以根据配置文件生成插件依赖并进行编译

Why do you want to add this feature?
当前北极星各部分功能都通过插件化实现,所有插件都放到一个go文件中,插件的新增删除都需要修改代码文件,定制起来比较复杂。

How to implement this feature?
类似coredns,增加plugin.cfg,执行编译时,通过Makefile,读取plugin.cfg,生成plugin.go文件,然后再进行编译。

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpluginpolaris-server plugin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions