- java.lang.Object
-
- org.springframework.cloud.kubernetes.registry.KubernetesRegistration
-
- All Implemented Interfaces:
- Closeable, AutoCloseable, org.springframework.cloud.client.ServiceInstance, org.springframework.cloud.client.serviceregistry.Registration
public class KubernetesRegistration
extends Object
implements org.springframework.cloud.client.serviceregistry.Registration, Closeable
Kubernetes implementation of a Registration.
- Author:
- Mauricio Salatino
-
-
Method Summary
-
Methods inherited from interface org.springframework.cloud.client.ServiceInstance
getInstanceId, getScheme
-
-
Method Detail
-
getHost
public String getHost()
- Specified by:
getHost in interface org.springframework.cloud.client.ServiceInstance
-
getPort
public int getPort()
- Specified by:
getPort in interface org.springframework.cloud.client.ServiceInstance
-
getUri
public URI getUri()
- Specified by:
getUri in interface org.springframework.cloud.client.ServiceInstance
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.