envoyproxy/envoy

proposal: golang plugin hub

Open

#26.003 aperta il 9 mar 2023

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/golanghelp wantedno stalebot

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor