feat: add gateway yaml struct transform && refactor pkg yaml -> yml (#7)

* feat: add gateway yaml struct transform && refactor pkg yaml -> yml

* fix: Gateway yaml struct do not need ID field
11 files changed
tree: d15d86ecb05932e33f5e2f0d2564cc4e6f1b05a0
  1. doc/
  2. pkg/
  3. .asf.yaml
  4. .gitignore
  5. apisix_control_plane_suite_test.go
  6. go.mod
  7. go.sum
  8. README.md
README.md

apisix-control-plane

what is apisix-control-plane?

apisix-control-plane provide APISIX with a yml configuration capability, We can use yml to define the proxy behavior of APISIX

Why do you want to do this?

  1. In order to facilitate the integration of k8s, use yml to define APISIX;
  2. For easier synchronization across clusters;
  3. Can be better adapted to multiple platforms (k8s, vm);

DISCUSS

Here are some examples of yml and we can add comments here. https://github.com/apache/apisix-control-plane/issues/3 We can also submit a PR to modify this document.