started refactoring into executors using interfaces

This commit is contained in:
2025-09-07 20:44:48 -05:00
parent 7fe07f86a9
commit d45b1562fc
10 changed files with 547 additions and 403 deletions

View File

@ -12,7 +12,7 @@ type RemoteFetcher interface {
// Parse decodes the raw data into a Go structure (e.g., Commands, CommandLists)
// Takes the raw data as input and populates the target interface
Parse(data []byte, target interface{}) error
Parse(data []byte, target any) error
// Hash returns the hash of the configuration data
Hash(data []byte) string