Skip to content

Commit 190d2ed

Browse files
committed
added a small adendum for the reason
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com> Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
1 parent 7d04d1f commit 190d2ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/docs/concepts/plugin-system.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ starts the plugin on demand, communicates with it over a local connection (eithe
1818
and shuts it down when it's no longer needed.
1919

2020
The benefits of this design are isolation, language independence (although Go is heavily preferred and supported by
21-
an SDK) and lazy loading.
21+
an SDK) and lazy loading. But the main reason for a separate binary shows itself really
22+
in OCM's dependency chain. With this solution, technology specific dependencies no longer
23+
have to pollute OCM's own dependency chain. OCM's chain stays clean and lean so those who
24+
would like to use it as a library, do not have to import the entire Go eco-system.
2225

2326
Plugins are discovered from a configured directory. OCM scans this directory, queries
2427
each plugin for its capabilities, and makes them available to the system. From the user's

0 commit comments

Comments
 (0)