mass_driver.discovery
Driver discovery system via plugins
Module Contents
Functions
Discover all Drivers via plugin system |
|
Discover all Forges via plugin system |
|
Discover all Sources via plugin system |
|
Discover all Scanners |
|
Fetch the given plugin’s Entrypoint, by name |
|
Fetch the given driver Entrypoint, by name |
|
Fetch the given forge Entrypoint, by name |
|
Fetch the given source Entrypoint, by name |
|
Fetch the given scanner Entrypoint, by name |
|
Get the given driver Class, by entrypoint name |
|
Get the given forge Class, by entrypoint name |
|
Get the given source Class, by entrypoint name |
|
Get the given scanner func, by entrypoint name |
Data
The entrypoint we discover all types of plugins from |
|
The specific entrypoint for drivers discovery |
|
The specific entrypoint for Forge discovery |
|
The specific entrypoint for Scanner discovery |
|
The specific entrypoint for Source discovery |
API
- mass_driver.discovery.ENTRYPOINT = 'massdriver'
The entrypoint we discover all types of plugins from
- mass_driver.discovery.DRIVER_ENTRYPOINT = None
The specific entrypoint for drivers discovery
- mass_driver.discovery.FORGE_ENTRYPOINT = None
The specific entrypoint for Forge discovery
- mass_driver.discovery.SCANNER_ENTRYPOINT = None
The specific entrypoint for Scanner discovery
- mass_driver.discovery.SOURCE_ENTRYPOINT = None
The specific entrypoint for Source discovery
- mass_driver.discovery.discover_drivers() importlib.metadata.EntryPoints [source]
Discover all Drivers via plugin system
- mass_driver.discovery.discover_forges() importlib.metadata.EntryPoints [source]
Discover all Forges via plugin system
- mass_driver.discovery.discover_sources() importlib.metadata.EntryPoints [source]
Discover all Sources via plugin system
- mass_driver.discovery.discover_scanners() importlib.metadata.EntryPoints [source]
Discover all Scanners
- mass_driver.discovery.get_plugin_entrypoint(plugin: str, name: str, entrypoint: str, discover: Callable) importlib.metadata.EntryPoint [source]
Fetch the given plugin’s Entrypoint, by name
- mass_driver.discovery.get_driver_entrypoint(driver_name: str) importlib.metadata.EntryPoint [source]
Fetch the given driver Entrypoint, by name
- mass_driver.discovery.get_forge_entrypoint(forge_name: str) importlib.metadata.EntryPoint [source]
Fetch the given forge Entrypoint, by name
- mass_driver.discovery.get_source_entrypoint(source_name: str) importlib.metadata.EntryPoint [source]
Fetch the given source Entrypoint, by name
- mass_driver.discovery.get_scanner_entrypoint(scanner_name: str) importlib.metadata.EntryPoint [source]
Fetch the given scanner Entrypoint, by name
- mass_driver.discovery.get_driver(driver_name: str) type[mass_driver.models.patchdriver.PatchDriver] [source]
Get the given driver Class, by entrypoint name
- mass_driver.discovery.get_forge(forge_name: str) type[mass_driver.models.forge.Forge] [source]
Get the given forge Class, by entrypoint name
- mass_driver.discovery.get_source(source_name: str) type[mass_driver.models.repository.Source] [source]
Get the given source Class, by entrypoint name
- mass_driver.discovery.get_scanner(scanner_name: str) mass_driver.models.scan.Scanner [source]
Get the given scanner func, by entrypoint name