routeapihelpers

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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