Class KubernetesDiscoveryProperties
java.lang.Object
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties
@ConfigurationProperties("spring.cloud.kubernetes.discovery")
public class KubernetesDiscoveryProperties
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMetadata properties. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintgetOrder()booleanbooleanbooleanbooleanvoidsetAllNamespaces(boolean allNamespaces) voidsetCacheLoadingTimeoutSeconds(long cacheLoadingTimeoutSeconds) voidsetEnabled(boolean enabled) voidvoidsetIncludeNotReadyAddresses(boolean includeNotReadyAddresses) voidsetKnownSecurePorts(Set<Integer> knownSecurePorts) voidvoidsetOrder(int order) voidsetPrimaryPortName(String primaryPortName) voidsetServiceLabels(Map<String, String> serviceLabels) voidsetWaitCacheReady(boolean waitCacheReady) toString()
-
Constructor Details
-
KubernetesDiscoveryProperties
public KubernetesDiscoveryProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getFilter
-
setFilter
-
getKnownSecurePorts
-
setKnownSecurePorts
-
getServiceLabels
-
setServiceLabels
-
getPrimaryPortName
-
setPrimaryPortName
-
getMetadata
-
setMetadata
-
isAllNamespaces
public boolean isAllNamespaces() -
setAllNamespaces
public void setAllNamespaces(boolean allNamespaces) -
isIncludeNotReadyAddresses
public boolean isIncludeNotReadyAddresses() -
setIncludeNotReadyAddresses
public void setIncludeNotReadyAddresses(boolean includeNotReadyAddresses) -
getOrder
public int getOrder() -
setOrder
public void setOrder(int order) -
isWaitCacheReady
public boolean isWaitCacheReady() -
setWaitCacheReady
public void setWaitCacheReady(boolean waitCacheReady) -
getCacheLoadingTimeoutSeconds
public long getCacheLoadingTimeoutSeconds() -
setCacheLoadingTimeoutSeconds
public void setCacheLoadingTimeoutSeconds(long cacheLoadingTimeoutSeconds) -
toString
-