primaryPortName
Returns the value of the
primaryPortName record component.- Returns:
- the value of the
primaryPortNamerecord component
enabled - if kubernetes discovery is enabledallNamespaces - if discovery is enabled for all namespacesnamespaces - If set and allNamespaces is false, then only the services and
endpoints matching these namespaces will be fetched from the Kubernetes API server.waitCacheReady - wait for the discovery cache (service and endpoints) to be fully
loaded, otherwise aborts the application on startingcacheLoadingTimeoutSeconds - timeout for initializing discovery cache, will abort
the application if exceeded.includeNotReadyAddresses - include as discovered if endpoint addresses is not
marked with 'ready' by kubernetesfilter - SpEL expression to filter services after they have been retrieved from
the Kubernetes API server.knownSecurePorts - set of known secure portsserviceLabels - if set, then only the services matching these labels will be
fetched from the Kubernetes API server.primaryPortName - If set then the port with a given name is used as primary when
multiple ports are defined for a service.useEndpointSlices - use EndpointSlice instead of EndpointsincludeExternalNameServices - should the discovery also search for services that
have "type: ExternalName" in their spec.static final KubernetesDiscoveryPropertiesstatic final StringKubernetesDiscoveryProperties(boolean enabled,
boolean allNamespaces,
Set<String> namespaces,
boolean waitCacheReady,
long cacheLoadingTimeoutSeconds,
boolean includeNotReadyAddresses,
String filter,
Set<Integer> knownSecurePorts,
Map<String,String> serviceLabels,
String primaryPortName,
KubernetesDiscoveryProperties.Metadata metadata,
int order,
boolean useEndpointSlices,
boolean includeExternalNameServices,
String discoveryServerUrl) KubernetesDiscoveryProperties record class.booleanallNamespaces record component.longcacheLoadingTimeoutSeconds record component.discoveryServerUrl record component.booleanenabled()enabled record component.final booleanfilter()filter record component.final inthashCode()booleanincludeExternalNameServices record component.booleanincludeNotReadyAddresses record component.knownSecurePorts record component.metadata()metadata record component.namespaces record component.intorder()order record component.primaryPortName record component.serviceLabels record component.final StringtoString()booleanuseEndpointSlices record component.booleanwaitCacheReady record component.KubernetesDiscoveryProperties record class.enabled - the value for the enabled record componentallNamespaces - the value for the allNamespaces record componentnamespaces - the value for the namespaces record componentwaitCacheReady - the value for the waitCacheReady record componentcacheLoadingTimeoutSeconds - the value for the cacheLoadingTimeoutSeconds record componentincludeNotReadyAddresses - the value for the includeNotReadyAddresses record componentfilter - the value for the filter record componentknownSecurePorts - the value for the knownSecurePorts record componentserviceLabels - the value for the serviceLabels record componentprimaryPortName - the value for the primaryPortName record componentmetadata - the value for the metadata record componentorder - the value for the order record componentuseEndpointSlices - the value for the useEndpointSlices record componentincludeExternalNameServices - the value for the includeExternalNameServices record componentdiscoveryServerUrl - the value for the discoveryServerUrl record componentObjects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.allNamespaces record component.allNamespaces record componentnamespaces record component.namespaces record componentwaitCacheReady record component.waitCacheReady record componentcacheLoadingTimeoutSeconds record component.cacheLoadingTimeoutSeconds record componentincludeNotReadyAddresses record component.includeNotReadyAddresses record componentknownSecurePorts record component.knownSecurePorts record componentserviceLabels record component.serviceLabels record componentprimaryPortName record component.primaryPortName record componentmetadata record component.metadata record componentorder record component.order record componentuseEndpointSlices record component.useEndpointSlices record componentincludeExternalNameServices record component.includeExternalNameServices record componentdiscoveryServerUrl record component.discoveryServerUrl record component