Class KubernetesServiceInstanceList
java.lang.Object
io.micronaut.kubernetes.discovery.KubernetesServiceInstanceList
- All Implemented Interfaces:
io.micronaut.discovery.ServiceInstanceList
@Singleton
@Requires(env="k8s")
public class KubernetesServiceInstanceList
extends Object
implements io.micronaut.discovery.ServiceInstanceList
A
ServiceInstanceList
implementation for Kubernetes.- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
ConstructorDescriptionKubernetesServiceInstanceList
(io.kubernetes.client.util.ClientBuilder clientBuilder) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.discovery.ServiceInstanceList
getContextPath
-
Constructor Details
-
KubernetesServiceInstanceList
public KubernetesServiceInstanceList(io.kubernetes.client.util.ClientBuilder clientBuilder) - Parameters:
clientBuilder
- TheClientBuilder
.
-
-
Method Details
-
getID
- Specified by:
getID
in interfaceio.micronaut.discovery.ServiceInstanceList
-
getInstances
- Specified by:
getInstances
in interfaceio.micronaut.discovery.ServiceInstanceList
-