public class KubernetesServiceInstance extends Object implements org.springframework.cloud.client.ServiceInstance
| Constructor and Description |
|---|
KubernetesServiceInstance(String serviceId,
io.fabric8.kubernetes.api.model.EndpointAddress endpointAddress,
io.fabric8.kubernetes.api.model.EndpointPort endpointPort,
Boolean secure) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
Map<String,String> |
getMetadata() |
int |
getPort() |
String |
getServiceId() |
URI |
getUri() |
boolean |
isSecure() |
public String getServiceId()
getServiceId in interface org.springframework.cloud.client.ServiceInstancepublic String getHost()
getHost in interface org.springframework.cloud.client.ServiceInstancepublic int getPort()
getPort in interface org.springframework.cloud.client.ServiceInstancepublic boolean isSecure()
isSecure in interface org.springframework.cloud.client.ServiceInstancepublic URI getUri()
getUri in interface org.springframework.cloud.client.ServiceInstanceCopyright © 2016 Red Hat. All rights reserved.