Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenerContext ¶
type ListenerPlugin ¶
type Plugin ¶
type Plugin interface{}
Plugin is an empty type for base plugins, currently no base methods.
type PostTranslationContext ¶
type PostTranslationContext struct { // TranslatedGateways is the list of Gateways that were generated in a single translation run TranslatedGateways []TranslatedGateway }
type PostTranslationPlugin ¶
type PostTranslationPlugin interface { Plugin // ApplyPostTranslationPlugin is executed once at the end of a Gateway API translation run ApplyPostTranslationPlugin( ctx context.Context, postTranslationContext *PostTranslationContext, ) error }
type RouteContext ¶
type RouteContext struct { // top-level gw Listener Listener *gwv1.Listener // top-level HTTPRoute Route *gwv1.HTTPRoute // specific HTTPRouteRule of the HTTPRoute being processed, nil if the entire HTTPRoute is being processed // rather than just a specific Rule Rule *gwv1.HTTPRouteRule // specific Match of the Rule being processed (as there may be multiple Matches per Rule), nil if there no Match // for this context, such as when an entire HTTPRoute is being processed Match *gwv1.HTTPRouteMatch // Reporter for the correct ParentRef associated with this HTTPRoute Reporter reports.ParentRefReporter }
type RoutePlugin ¶
type StatusContext ¶
type StatusContext struct {
ProxiesWithReports []translatorutils.ProxyWithReports
}
type StatusPlugin ¶
type StatusPlugin interface { Plugin ApplyStatusPlugin( ctx context.Context, statusCtx *StatusContext, ) error }
Plugin that recieves proxy reports post-xds translation to handle any status reporting necessary
type TranslatedGateway ¶
Click to show internal directories.
Click to hide internal directories.