@Requires(property="kubernetes.client.discovery.mode-configuration.endpoint.watch.enabled",
notEquals="true",
defaultValue="false")
@Singleton
public class KubernetesServiceInstanceEndpointProvider
extends AbstractV1EndpointsProvider
AbstractKubernetesServiceInstanceProvider.PortBinder| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
MODESECURE_LABEL| Constructor and Description |
|---|
KubernetesServiceInstanceEndpointProvider(CoreV1ApiReactorClient client,
KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration)
Creates kubernetes instance endpoint provider.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<io.kubernetes.client.openapi.models.V1Endpoints> |
getEndpoints(java.lang.String name,
java.lang.String namespace) |
reactor.core.publisher.Flux<io.kubernetes.client.openapi.models.V1Endpoints> |
listEndpoints(java.lang.String namespace) |
getInstances, getMode, getServiceIdsbuildServiceInstance, compositePredicate, discoveryConfigurationFilter, hasValidPortConfiguration, isMetadataSecure, isPortSecure, serviceConfigurationDiscoveryFilterpublic KubernetesServiceInstanceEndpointProvider(CoreV1ApiReactorClient client,
KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration)
client - clientdiscoveryConfiguration - discovery configurationpublic reactor.core.publisher.Mono<io.kubernetes.client.openapi.models.V1Endpoints> getEndpoints(java.lang.String name,
java.lang.String namespace)
getEndpoints in class AbstractV1EndpointsProviderpublic reactor.core.publisher.Flux<io.kubernetes.client.openapi.models.V1Endpoints> listEndpoints(java.lang.String namespace)
listEndpoints in class AbstractV1EndpointsProvider