public class KubernetesDnsServiceDiscovery
extends org.apache.camel.impl.cloud.DefaultServiceDiscovery
Constructor and Description |
---|
KubernetesDnsServiceDiscovery(KubernetesConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected KubernetesConfiguration |
getConfiguration() |
String |
getNamespace() |
String |
getPortName() |
List<org.apache.camel.cloud.ServiceDefinition> |
getServices(String name) |
protected org.apache.camel.cloud.ServiceDefinition |
newServer(String serviceName,
io.fabric8.kubernetes.api.model.EndpointAddress address,
io.fabric8.kubernetes.api.model.EndpointPort port) |
String |
toString() |
doStart, doStop, getCamelContext, setCamelContext
public KubernetesDnsServiceDiscovery(KubernetesConfiguration configuration)
public List<org.apache.camel.cloud.ServiceDefinition> getServices(String name)
getServices
in interface org.apache.camel.cloud.ServiceDiscovery
getServices
in class org.apache.camel.impl.cloud.DefaultServiceDiscovery
protected org.apache.camel.cloud.ServiceDefinition newServer(String serviceName, io.fabric8.kubernetes.api.model.EndpointAddress address, io.fabric8.kubernetes.api.model.EndpointPort port)
protected KubernetesConfiguration getConfiguration()
public String getNamespace()
public String getPortName()
Apache Camel