Documentation ¶
Index ¶
- 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 ¶
This section is empty.
Functions ¶
func ExtendedValidateRoute ¶ added in v1.3.0
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 ¶ added in v1.4.0
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 ¶ added in v1.0.6
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.