orchestro.orche package#
Subpackages#
- orchestro.orche.addons package
- orchestro.orche.childs package
- Subpackages
- orchestro.orche.childs.test package
- Submodules
- orchestro.orche.childs.test.test_child module
- orchestro.orche.childs.test.test_group module
- orchestro.orche.childs.test.test_orche module
- orchestro.orche.childs.test.test_person module
- orchestro.orche.childs.test.test_subnet module
- orchestro.orche.childs.test.test_system module
- Module contents
- orchestro.orche.childs.test package
- Submodules
- orchestro.orche.childs.child module
- orchestro.orche.childs.group module
- orchestro.orche.childs.orche module
- orchestro.orche.childs.person module
- orchestro.orche.childs.subnet module
- orchestro.orche.childs.system module
- Module contents
- Subpackages
- orchestro.orche.params package
- Submodules
- orchestro.orche.params.child module
- orchestro.orche.params.common module
- orchestro.orche.params.group module
- orchestro.orche.params.orche module
- orchestro.orche.params.person module
- orchestro.orche.params.subnet module
- orchestro.orche.params.system module
- Module contents
- orchestro.orche.test package
Submodules#
orchestro.orche.common module#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
orchestro.orche.config module#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class orchestro.orche.config.OrcheConfig(sargs: dict[str, Any] | None = None, files: str | Path | list[str | Path] | tuple[str | Path] | set[str] | None = None, paths: str | Path | list[str | Path] | tuple[str | Path] | set[str] | None = None, cargs: dict[str, Any] | None = None)[source]#
Bases:
Config
Contain the configurations from the arguments and files.
- Parameters:
sargs – Additional arguments on the command line.
files – Complete or relative path to config files.
paths – Complete or relative path to config paths.
cargs – Configuration arguments in dictionary form, which will override contents from the config files.
- property params: OrcheParams#
Return the Pydantic model containing the configuration.
Warning
This method completely overrides the parent but is based on that code, would be unfortunate if upstream changes meant this breaks or breaks something else.
- Returns:
Pydantic model containing the configuration.
orchestro.orche.models module#
Functions and routines associated with Enasis Network Orche Automate.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class orchestro.orche.models.OrcheModels[source]#
Bases:
object
Return the class object that was imported within method.
- classmethod child() Type[OrcheChildParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
- classmethod group() Type[OrcheGroupParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
- classmethod orche() Type[OrcheParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
- classmethod person() Type[OrchePersonParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
- classmethod subnet() Type[OrcheSubnetParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
- classmethod system() Type[OrcheSystemParams] [source]#
Return the class object that was imported within method.
- Returns:
Class object that was imported within method.
orchestro.orche.orche module#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class orchestro.orche.orche.Orche(config: OrcheConfig)[source]#
Bases:
object
Interact with chat networks and integrate using plugins.
- Parameters:
config – Primary class instance for configuration.
- property childs: OrcheChilds#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property config: OrcheConfig#
Return the Config instance containing the configuration.
- Returns:
Config instance containing the configuration.
- property dryrun: bool#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property dumped: dict[str, Any]#
Return the facts about the attributes from the instance.
- Returns:
Facts about the attributes from the instance.
- property logger: OrcheLogger#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property params: OrcheParams#
Return the Pydantic model containing the configuration.
- Returns:
Pydantic model containing the configuration.
Module contents#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class orchestro.orche.Orche(config: OrcheConfig)[source]#
Bases:
object
Interact with chat networks and integrate using plugins.
- Parameters:
config – Primary class instance for configuration.
- property childs: OrcheChilds#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property config: OrcheConfig#
Return the Config instance containing the configuration.
- Returns:
Config instance containing the configuration.
- property dryrun: bool#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property dumped: dict[str, Any]#
Return the facts about the attributes from the instance.
- Returns:
Facts about the attributes from the instance.
- property logger: OrcheLogger#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property params: OrcheParams#
Return the Pydantic model containing the configuration.
- Returns:
Pydantic model containing the configuration.
- class orchestro.orche.OrcheConfig(sargs: dict[str, Any] | None = None, files: str | Path | list[str | Path] | tuple[str | Path] | set[str] | None = None, paths: str | Path | list[str | Path] | tuple[str | Path] | set[str] | None = None, cargs: dict[str, Any] | None = None)[source]#
Bases:
Config
Contain the configurations from the arguments and files.
- Parameters:
sargs – Additional arguments on the command line.
files – Complete or relative path to config files.
paths – Complete or relative path to config paths.
cargs – Configuration arguments in dictionary form, which will override contents from the config files.
- property params: OrcheParams#
Return the Pydantic model containing the configuration.
Warning
This method completely overrides the parent but is based on that code, would be unfortunate if upstream changes meant this breaks or breaks something else.
- Returns:
Pydantic model containing the configuration.