public class Routes extends Object
Constructor and Description |
---|
Routes() |
Modifier and Type | Method and Description |
---|---|
static io.fabric8.openshift.api.model.Route |
createRouteForService(String routeDomainPostfix,
String namespace,
io.fabric8.kubernetes.api.model.Service service,
Logger log) |
protected static boolean |
shouldCreateRouteForService(Logger log,
io.fabric8.kubernetes.api.model.Service service,
String id)
Should we try to create a route for the given service?
By default lets ignore the kubernetes services and any service which does not expose ports 80 and 443
|
public static io.fabric8.openshift.api.model.Route createRouteForService(String routeDomainPostfix, String namespace, io.fabric8.kubernetes.api.model.Service service, Logger log)
protected static boolean shouldCreateRouteForService(Logger log, io.fabric8.kubernetes.api.model.Service service, String id)
Copyright © 2011–2015 Red Hat. All rights reserved.