haproxytech / dataplaneapi

HAProxy Data Plane API
https://www.haproxy.com/documentation/dataplaneapi/
Apache License 2.0
325 stars 75 forks source link

dataplane-api go client #172

Open schegi opened 3 years ago

schegi commented 3 years ago

Hey,

you are currently generating your models on update of the dataplaneapi-specification automatically. IMHO it would be very useful to also generate a go client for the dataplane API automatically from the specs on update. Do you have the resources to do so? I can provide a client project using make to do the generation of the client including mocks.

Greets Stefan

mjuraga commented 3 years ago

Hey @schegi we have reworked specification and models and put them in the https://github.com/haproxytech/client-native project. We could also generate a go client library there. Let us discuss it and get back to you.

Also feel free to contribute if you like. We always welcome community contributions. Maybe for starters a Makefile target that generates the client locally?