Help us shape the future of Go! Take the 2026 Go Developer Survey

validation

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtendedValidateRoute added in v1.3.0

func ExtendedValidateRoute(route *routeapi.Route) field.ErrorList

ExtendedValidateRoute performs an extended validation on the route including checking that the TLS config is valid.

func ValidateRoute

func ValidateRoute(route *routeapi.Route) field.ErrorList

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) field.ErrorList

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) field.ErrorList

Types

This section is empty.

Source Files

  • validation.go

Jump to

Keyboard shortcuts

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