Documentation ¶
Index ¶
- func ValidateRoute(ctx context.Context, route *routev1.Route, ...) field.ErrorList
- func ValidateRouteStatusUpdate(route *routev1.Route, older *routev1.Route) field.ErrorList
- func ValidateRouteUpdate(ctx context.Context, route *routev1.Route, older *routev1.Route, ...) field.ErrorList
- func Warnings(route *routev1.Route) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRoute ¶
func ValidateRoute(ctx context.Context, route *routev1.Route, sarCreator routecommon.SubjectAccessReviewCreator, secretsGetter corev1client.SecretsGetter, opts routecommon.RouteValidationOptions) field.ErrorList
func ValidateRouteStatusUpdate ¶
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(ctx context.Context, route *routev1.Route, older *routev1.Route, sarc routecommon.SubjectAccessReviewCreator, secrets corev1client.SecretsGetter, opts routecommon.RouteValidationOptions) field.ErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.