Commit Graph

3 Commits

Author SHA1 Message Date
Christian Mesh
c8fa44236c Clean up schema cache logic and fix provisioner closing
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2026-02-20 13:37:27 -05:00
Christian Mesh
5eb53b903f Introduce plugins.ProviderManager and plugins.ProvisionerManager
Provider and Provisioner Managers encapsulate all of
the logic nessesary to start, manage, and stop plugins.

They also have the advantage of sharing a schema cache between
managers started in different parts of the application.

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2026-01-26 11:56:05 -05:00
Christian Mesh
d58788f065 Introduce plugins.Library
This mostly mechanical change defines a central location
for providing installed plugins as a cohesive unit to the
rest of the application. This also provides a location
for future caching of schemas and other potential optimizations.

This is part of the overall initiative to start stripping
functionality out of the tofu package into re-usable components
which can be used by the new engine.

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2026-01-26 09:20:04 -05:00