Documentation ¶
Index ¶
- Variables
- func ExtendedValidateRoute(route *routeapi.Route) field.ErrorList
- func ValidateHostName(route *routeapi.Route) field.ErrorList
- func ValidateRoute(route *routeapi.Route) field.ErrorList
- func ValidateRouteStatusUpdate(route *routeapi.Route, older *routeapi.Route) field.ErrorList
- func ValidateRouteUpdate(route *routeapi.Route, older *routeapi.Route) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidateRouteName = validation.NameIsDNSSubdomain
Functions ¶
func ExtendedValidateRoute ¶
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 ValidateHostName ¶
ValidateHostName checks that a route's host name satisfies DNS requirements.
func ValidateRoute ¶
ValidateRoute tests if required fields in the route are set.
func ValidateRouteStatusUpdate ¶
ValidateRouteStatusUpdate validates status updates for routes.
Note that this function shouldn't call ValidateRouteUpdate, otherwise we are risking to break existing routes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.