Skip to content

Commit 6717adf

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 430d38c commit 6717adf

File tree

1 file changed

+9
-0
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler

1 file changed

+9
-0
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/ReconcileUtils.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,9 @@ private static int validateResourceVersion(String v1) {
726726
/**
727727
* Returns a collector that deduplicates Kubernetes objects by keeping only the one with the
728728
* latest metadata.resourceVersion for each unique name and namespace combination.
729+
* The intended use case is for the rather rare setup when there are overlapping
730+
* {@link io.javaoperatorsdk.operator.processing.event.source.informer.InformerEventSource}s
731+
* for a resource type.
729732
*
730733
* @param <T> the type of HasMetadata objects
731734
* @return a collector that produces a collection of deduplicated Kubernetes objects
@@ -737,6 +740,9 @@ private static int validateResourceVersion(String v1) {
737740
/**
738741
* Returns a collector that deduplicates Kubernetes objects by keeping only the one with the
739742
* latest metadata.resourceVersion for each unique name and namespace combination.
743+
* The intended use case is for the rather rare setup when there are overlapping
744+
* {@link io.javaoperatorsdk.operator.processing.event.source.informer.InformerEventSource}s
745+
* for a resource type.
740746
*
741747
* @param <T> the type of HasMetadata objects
742748
* @return a collector that produces a List of deduplicated Kubernetes objects
@@ -749,6 +755,9 @@ private static int validateResourceVersion(String v1) {
749755
/**
750756
* Returns a collector that deduplicates Kubernetes objects by keeping only the one with the
751757
* latest metadata.resourceVersion for each unique name and namespace combination.
758+
* The intended use case is for the rather rare setup when there are overlapping
759+
* {@link io.javaoperatorsdk.operator.processing.event.source.informer.InformerEventSource}s
760+
* for a resource type.
752761
*
753762
* @param <T> the type of HasMetadata objects
754763
* @return a collector that produces a Set of deduplicated Kubernetes objects

0 commit comments

Comments
 (0)