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:
gateway.networking.k8s.io/v1
GRPCRoute (targetable)
gateway.networking.k8s.io/v1beta1
ReferenceGrant (object)
gateway.networking.k8s.io/v1alpha3
BackendTLSPolicy (policy)
gateway.networking.k8s.io/v1alpha2
TCPRoute (targetable)
TLSRoute (targetable)
UDPRoute (targetable)
BackendLBPolicy (policy)
v1 (core)
Namespace (targetable)
Adding the above to the list of wrappers is easy and enables for more kinds of Gateway API topologies without juggling.
For proper representation in a topology (i.e. to ensure implementation of the
Object
interface), thetopology
package defines wrappers for Gateway API kindsGatewayClass
,Gateway
andHTTPRoute
, and typesListener
,HTTPRouteRule
andNamespacedPolicyTargetReference
,LocalPolicyTargetReference
andLocalPolicyTargetReferenceWithSectionName
.Other missing kinds include:
gateway.networking.k8s.io/v1
GRPCRoute
(targetable)gateway.networking.k8s.io/v1beta1
ReferenceGrant
(object)gateway.networking.k8s.io/v1alpha3
BackendTLSPolicy
(policy)gateway.networking.k8s.io/v1alpha2
TCPRoute
(targetable)TLSRoute
(targetable)UDPRoute
(targetable)BackendLBPolicy
(policy)v1 (core)
Namespace
(targetable)Adding the above to the list of wrappers is easy and enables for more kinds of Gateway API topologies without juggling.