routeutils

package
v1.17.0-beta16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortableRoute

type SortableRoute struct {
	Route     *v1.Route
	HttpRoute *gwv1.HTTPRoute
	Idx       int
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL