Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sGwTranslator ¶
type K8sGwTranslator interface { // TranslateProxy This function is called by the reconciler when a K8s Gateway resource is created or updated. // It returns an instance of the Gloo Edge Proxy resource, that should configure a target Gloo Edge Proxy workload. // A null return value indicates the K8s Gateway resource failed to translate into a Gloo Edge Proxy. The error will be reported on the provided reporter. TranslateProxy( ctx context.Context, gateway *gwv1.Gateway, writeNamespace string, reporter reports.Reporter, ) *v1.Proxy }
K8sGwTranslator This translator Translates K8s Gateway resources into Gloo Edge Proxies.
func NewTranslator ¶
func NewTranslator(queries query.GatewayQueries, pluginRegistry registry.PluginRegistry) K8sGwTranslator
Click to show internal directories.
Click to hide internal directories.