Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsecuredRoute ¶
func UnsecuredRoute(kc kclientset.Interface, namespace, routeName, serviceName, portString string, forcePort bool) (*routeapi.Route, error)
UnsecuredRoute will return a route with enough info so that it can direct traffic to the service provided by --service. Callers of this helper are responsible for providing tls configuration, path, and the hostname of the route. forcePort always sets a port, even when there is only one and it has no name. The kubernetes generator, when no port is present incorrectly selects the service Port instead of the service TargetPort for the route TargetPort.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.