envoyproxy/envoy

proposal: golang plugin hub

Open

#26.003 aberto em 9 de mar. de 2023

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (5.373 forks)batch import
area/golanghelp wantedno stalebot

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

Description

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.

Guia do colaborador