routeapihelpers

package
v0.0.0-...-8762aa4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtendedValidateRoute

func ExtendedValidateRoute(route *routev1.Route) field.ErrorList

ExtendedValidateRoute performs an extended validation on the route including checking that the TLS config is valid. It also sanitizes the contents of valid certificates by removing any data that is not recognizable PEM blocks on the incoming route.

func GetDomainForHost

func GetDomainForHost(host string) string

GetDomainForHost returns the domain for the specified host. Note for top level domains, this will return an empty string.

func RouteLessThan

func RouteLessThan(route1, route2 *routev1.Route) bool

func UpgradeRouteValidation

func UpgradeRouteValidation(route *routev1.Route) field.ErrorList

UpgradeRouteValidation performs an upgrade validation for a route. This checks for issues that will cause failures in the next OpenShift version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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