@Requires(property="kubernetes.client.discovery.mode-configuration.endpoint.watch.enabled",
notEquals="false",
defaultValue="false")
@Singleton
public class KubernetesServiceInstanceEndpointInformerProvider
extends AbstractV1EndpointsProvider
AbstractKubernetesServiceInstanceProvider.PortBinder| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
protected static java.lang.String |
RESOURCE_PLURAL |
MODESECURE_LABEL| Constructor and Description |
|---|
KubernetesServiceInstanceEndpointInformerProvider(KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration,
InstanceProviderInformerNamespaceResolver informerNamespaceResolver,
IndexerCompositeFactory indexerCompositeFactory)
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, serviceConfigurationDiscoveryFilterprotected static final java.lang.String RESOURCE_PLURAL
protected static final org.slf4j.Logger LOG
public KubernetesServiceInstanceEndpointInformerProvider(KubernetesConfiguration.KubernetesDiscoveryConfiguration discoveryConfiguration, InstanceProviderInformerNamespaceResolver informerNamespaceResolver, IndexerCompositeFactory indexerCompositeFactory)
discoveryConfiguration - discovery configurationindexerCompositeFactory - service instance provider informer factoryinformerNamespaceResolver - namespace resolverpublic 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