Note: In Kubernetes SIG Network we're evaluating this project as a potential "official" Gateway API library. The goal for this repository currently is to get all the groundwork done so that we have a complete and functional set of APIs. This is considered experimental at this time. Do not use in production.
Note: Currently supports Gateway API version v1.1.0
Gateway API is an official Kubernetes API for Layer 7 network routing. It is the successor to the Ingress API but supports both ingress and service mesh use cases. See the Gateway API Introduction for more details.
This project provides bindings in Rust for Kubernetes Gateway API.
This project uses Kopium to automatically generate API bindings from upstream
Gateway API. Make sure you install kopium
locally in order to run the
generator:
$ cargo install kopium
After which you can run the update.sh
script:
$ ./update.sh
Check for errors and/or a non-zero exit code, but upon success you should see
updates automatically generated for code in the gateway-api/src/api
directory
which you can then commit.