Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRoute ¶
func ValidateRoute(route *routeapi.Route) fielderrors.ValidationErrorList
ValidateRoute tests if required fields in the route are set.
func ValidateRouteStatusUpdate ¶ added in v1.0.6
func ValidateRouteStatusUpdate(route *routeapi.Route, older *routeapi.Route) fielderrors.ValidationErrorList
ValidateRouteStatusUpdate validates status updates for routes.
Note that this function shouldn't call ValidateRouteUpdate, otherwise we are risking to break existing routes.
func ValidateRouteUpdate ¶
func ValidateRouteUpdate(route *routeapi.Route, older *routeapi.Route) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.