@ConfigurationProperties(value="spring.cloud.kubernetes.discovery") public class KubernetesDiscoveryProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KubernetesDiscoveryProperties.Metadata
Metadata properties.
|
Constructor and Description |
---|
KubernetesDiscoveryProperties() |
Modifier and Type | Method and Description |
---|---|
long |
getCacheLoadingTimeoutSeconds() |
String |
getFilter() |
Set<Integer> |
getKnownSecurePorts() |
KubernetesDiscoveryProperties.Metadata |
getMetadata() |
int |
getOrder() |
String |
getPrimaryPortName() |
Map<String,String> |
getServiceLabels() |
boolean |
isAllNamespaces() |
boolean |
isEnabled() |
boolean |
isIncludeNotReadyAddresses() |
boolean |
isWaitCacheReady() |
void |
setAllNamespaces(boolean allNamespaces) |
void |
setCacheLoadingTimeoutSeconds(long cacheLoadingTimeoutSeconds) |
void |
setEnabled(boolean enabled) |
void |
setFilter(String filter) |
void |
setIncludeNotReadyAddresses(boolean includeNotReadyAddresses) |
void |
setKnownSecurePorts(Set<Integer> knownSecurePorts) |
void |
setMetadata(KubernetesDiscoveryProperties.Metadata metadata) |
void |
setOrder(int order) |
void |
setPrimaryPortName(String primaryPortName) |
void |
setServiceLabels(Map<String,String> serviceLabels) |
void |
setWaitCacheReady(boolean waitCacheReady) |
String |
toString() |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getFilter()
public void setFilter(String filter)
public String getPrimaryPortName()
public void setPrimaryPortName(String primaryPortName)
public KubernetesDiscoveryProperties.Metadata getMetadata()
public void setMetadata(KubernetesDiscoveryProperties.Metadata metadata)
public boolean isAllNamespaces()
public void setAllNamespaces(boolean allNamespaces)
public boolean isIncludeNotReadyAddresses()
public void setIncludeNotReadyAddresses(boolean includeNotReadyAddresses)
public int getOrder()
public void setOrder(int order)
public boolean isWaitCacheReady()
public void setWaitCacheReady(boolean waitCacheReady)
public long getCacheLoadingTimeoutSeconds()
public void setCacheLoadingTimeoutSeconds(long cacheLoadingTimeoutSeconds)
Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.