You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add some in-depth documentation about the discovery handler registry
Signed-off-by: Nicolas Belouin <[email protected]>
* Remove mentions of crictl dependency
New slot reconciliation system doesn't need crictl anymore,
removing everything related to that
Signed-off-by: Nicolas Belouin <[email protected]>
* Apply suggestions from code review
Signed-off-by: Kate Goldenring <[email protected]>
Signed-off-by: Nicolas Belouin <[email protected]>
Co-authored-by: Kate Goldenring <[email protected]>
* Update patch version
Signed-off-by: Nicolas Belouin <[email protected]>
* Fix version.sh to account for CRD version not always first item in dict
Signed-off-by: Nicolas Belouin <[email protected]>
---------
Signed-off-by: Nicolas Belouin <[email protected]>
Co-authored-by: Kate Goldenring <[email protected]>
Copy file name to clipboardExpand all lines: agent/src/discovery_handler_manager/discovery_handler_registry.rs
+19
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,22 @@
1
+
//! This module is the heart of the discovery process handled by the agent, it is based around the [DiscoveryHandlerRegistry]
2
+
//! and uses several other structure to represent and help handle discovery related operations.
3
+
//!
4
+
//! The [DiscoveryHandlerRegistry] keeps track of registered discovery handlers. Note, multiple endpoints/instances of a given
5
+
//! handler can be registered at the same time.
6
+
//!
7
+
//! The [DiscoveryHandlerRegistry] also keeps track of ongoing discovery requests against those discovery handlers. There is one discovery request (a [DiscoveryHandlerRequest] object) per Configuration.
8
+
//!
9
+
//! Here are some simple diagrams showing how the components interact with each other in different situations:
10
+
//!
11
+
//! A new DiscoverHandler gets registered (after it connects to and registers with the agent registration Unix socket):
0 commit comments