Kuadrant / policy-machinery

Machinery for implementing Gateway API policies
Apache License 2.0
8 stars 2 forks source link

Add more Gateway API kind wrappers #11

Closed guicassolato closed 3 weeks ago

guicassolato commented 1 month ago

For proper representation in a topology (i.e. to ensure implementation of the Object interface), the topology package defines wrappers for Gateway API kinds GatewayClass, Gateway and HTTPRoute, and types Listener, HTTPRouteRule and NamespacedPolicyTargetReference, LocalPolicyTargetReference and LocalPolicyTargetReferenceWithSectionName.

Other missing kinds include:

Adding the above to the list of wrappers is easy and enables for more kinds of Gateway API topologies without juggling.