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") // ErrNoValidLoadbalancerDomain indicates that the current ingress does not have a DomainInternal field, or // said field does not contain a value we can work with. ErrNoValidLoadbalancerDomain = errors.New("unable to find Ingress LoadBalancer with DomainInternal set") )
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.