Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSourceToRoute ¶
func AppendSourceToRoute(route *v1.Route, newSources []*gloov1.SourceMetadata_SourceRef, preserveExisting bool)
Types ¶
type SortableRoute ¶
type SortableRoutes ¶
type SortableRoutes []*SortableRoute
func ToSortable ¶
func ToSortable(route *gwv1.HTTPRoute, routes []*v1.Route) SortableRoutes
func (SortableRoutes) Len ¶
func (a SortableRoutes) Len() int
func (SortableRoutes) Less ¶
func (a SortableRoutes) Less(i, j int) bool
func (SortableRoutes) Swap ¶
func (a SortableRoutes) Swap(i, j int)
func (SortableRoutes) ToRoutes ¶
func (a SortableRoutes) ToRoutes() []*v1.Route
Click to show internal directories.
Click to hide internal directories.