runner.plugin_spec

Module Contents

runner.plugin_spec.hookspec[source]
runner.plugin_spec.ddc_services_options() → Dict[str, Union[str, float, int, List[str]]][source]

Return a dict describing how to add this plugin. The dict name and priority keys will be used to determine ordering. The options key contains a list of strings pointing to docker-compose yml files suitable to be passed as options to docker-compose.

Called by ddc-services cli command.

Example:

{
    "name": "addon",
    "priority": ">derex-local",
    "options": ["-f", "/path/to/docker-compose.yml"],
}
runner.plugin_spec.ddc_project_options(project: Project) → Dict[str, Union[str, float, int, List[str]]][source]

Return a dict describing how to add this plugin to a local project. The dict name and priority keys will be used to determine ordering. The options key contains a list of strings pointing to docker-compose yml files suitable to be passed as options to docker-compose.

Called by ddc-project cli command.

Example:

{
    "name": "addon",
    "priority": ">derex-local",
    "options": ["-f", "/path/to/docker-compose.yml"],
}