@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 |
MODE
SECURE_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, getServiceIds
buildServiceInstance, compositePredicate, discoveryConfigurationFilter, hasValidPortConfiguration, isMetadataSecure, isPortSecure, serviceConfigurationDiscoveryFilter
protected 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 AbstractV1EndpointsProvider
public reactor.core.publisher.Flux<io.kubernetes.client.openapi.models.V1Endpoints> listEndpoints(java.lang.String namespace)
listEndpoints
in class AbstractV1EndpointsProvider