Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeoutAnnotation = "haproxy.router.openshift.io/timeout" DisableRouteAnnotation = "serving.knative.openshift.io/disableRoute" TerminationAnnotation = "serving.knative.openshift.io/tlsMode" // TLSTerminationAnnotation is an annotation to configure routes.spec.tls.termination TLSTerminationAnnotation = "serving.knative.openshift.io/tlsTermination" )
Variables ¶
View Source
var ( // ErrNotSupportedTLSTermination is an error when unsupported TLS termination is configured via annotation. ErrNotSupportedTLSTermination = errors.New("Not supported tls termination is specified. Only \"passthrough\" is valid.") )
Functions ¶
func MakeRoutes ¶
func MakeRoutes(ci networkingv1alpha1.IngressAccessor) ([]*routev1.Route, error)
MakeRoutes creates OpenShift Routes from a Knative Ingress
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.