Versions in this module Expand all Collapse all v1 v1.0.0 Sep 20, 2025 Changes in this version + type Group = types.Group + type Host = types.Host + type Inventory = types.Inventory + type InventoryPlugin interface + Execute func(ctx context.Context, config map[string]interface{}) (*PluginInventoryResult, error) + Name func() string + type PluginGroup struct + Children []string + Hosts []string + Vars map[string]interface{} + type PluginHost struct + Name string + Vars map[string]interface{} + type PluginInventoryResult struct + Groups map[string]*PluginGroup + Hosts map[string]*PluginHost + type PluginManager struct + func NewPluginManager() *PluginManager + func (pm *PluginManager) DiscoverPlugins() ([]string, error) + func (pm *PluginManager) LoadInventoryFromExecutable(ctx context.Context, execPath string, args ...string) (*Inventory, error) + func (pm *PluginManager) LoadInventoryFromPlugin(ctx context.Context, pluginName string, config map[string]interface{}, ...) (*Inventory, error) + func (pm *PluginManager) LoadPlugin(ctx context.Context, pluginName string, config map[string]interface{}, ...) (*PluginInventoryResult, error)