Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature interface {
// Type returns the feature type identifier (e.g., "file", "dconf", "systemd", "sed")
Type() string
// Executor returns the executor implementation for this feature
Executor() engine.Executor
// NewTarget creates a new target instance for this feature type
NewTarget(name string, config interface{}) (types.AnyTarget, error)
// ValidateConfig validates the feature-specific target definition
Validate(config interface{}) error
}
Feature represents a target feature (file, dconf, systemd, sed) Each feature is a self-contained module that handles a specific type of target
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry manages all available features (file, dconf, systemd, sed) It provides a central point for feature discovery and executor retrieval
func NewRegistry ¶
func NewRegistry() *Registry
NewRegistry creates a new feature registry All features must be registered during initialization
func (*Registry) Executor ¶
Executor retrieves the executor for a specific target type This is a convenience method commonly used by the reconciliation engine
Click to show internal directories.
Click to hide internal directories.