@Singleton
@Requires(env="k8s")
public class KubernetesServiceInstanceList
extends java.lang.Object
implements io.micronaut.discovery.ServiceInstanceList
ServiceInstanceList
implementation for Kubernetes.Constructor and Description |
---|
KubernetesServiceInstanceList(KubernetesConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID() |
java.util.List<io.micronaut.discovery.ServiceInstance> |
getInstances() |
public KubernetesServiceInstanceList(KubernetesConfiguration configuration)
configuration
- The KubernetesConfiguration
.public java.lang.String getID()
getID
in interface io.micronaut.discovery.ServiceInstanceList
public java.util.List<io.micronaut.discovery.ServiceInstance> getInstances()
getInstances
in interface io.micronaut.discovery.ServiceInstanceList