Class KubernetesDiscoveryProperties

java.lang.Object
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties

@ConfigurationProperties("spring.cloud.kubernetes.discovery") public class KubernetesDiscoveryProperties extends Object
  • Constructor Details

    • KubernetesDiscoveryProperties

      public KubernetesDiscoveryProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getFilter

      public String getFilter()
    • setFilter

      public void setFilter(String filter)
    • getKnownSecurePorts

      public Set<Integer> getKnownSecurePorts()
    • setKnownSecurePorts

      public void setKnownSecurePorts(Set<Integer> knownSecurePorts)
    • getServiceLabels

      public Map<String,String> getServiceLabels()
    • setServiceLabels

      public void setServiceLabels(Map<String,String> serviceLabels)
    • getPrimaryPortName

      public String getPrimaryPortName()
    • setPrimaryPortName

      public void setPrimaryPortName(String primaryPortName)
    • getMetadata

    • setMetadata

      public void setMetadata(KubernetesDiscoveryProperties.Metadata metadata)
    • 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

      public String toString()
      Overrides:
      toString in class Object