Documentation ¶
Index ¶
- func ExtendedValidateRoute(route *routev1.Route) field.ErrorList
- func GetDomainForHost(host string) string
- func RouteLessThan(route1, route2 *routev1.Route) bool
- func UpgradeRouteValidation(route *routev1.Route) field.ErrorList
- func ValidateTLSExternalCertificate(route *routev1.Route, fldPath *field.Path, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 GetDomainForHost ¶
GetDomainForHost returns the domain for the specified host. Note for top level domains, this will return an empty string.
func RouteLessThan ¶
func UpgradeRouteValidation ¶
UpgradeRouteValidation performs an upgrade validation for a route. This checks for issues that will cause failures in the next OpenShift version.
func ValidateTLSExternalCertificate ¶
func ValidateTLSExternalCertificate(route *routev1.Route, fldPath *field.Path, sarc authorizationclient.SubjectAccessReviewInterface, secretsGetter corev1client.SecretsGetter) field.ErrorList
ValidateTLSExternalCertificate tests different pre-conditions required for using externalCertificate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.