envoyproxy/envoy

proposal: golang plugin hub

Open

#26,003 创建于 2023年3月9日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
area/golanghelp wantedno stalebot

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

motivation: benefits from the golang ecosystem, people could easily implement plugins, for more long tail scenes. we could build a plugin hub, so that people could contribute plugins to the hub, and reuse plugins. similar to the traefik: https://plugins.traefik.io/plugins

technical details:

  1. each plugin is a golang module, with a valid go.mod.
  2. each plugin could declare its own config proto, default to TypedStruct.
  3. people could push config through control-plane, i.e. EnvoyFilter for istio.
  4. furthermore, the hub could provide a way to combine plugins into a big plugin, to reduce cgo calls which might be a bit heavy cost.

贡献者指南