minos.networks.discovery.connectors module¶
- class minos.networks.discovery.connectors.DiscoveryConnector(client, name, host, port, endpoints, *args, **kwargs)[source]¶
Bases:
minos.common.setup.MinosSetupDiscovery Connector class.
- property already_destroyed: bool¶
Already Destroy getter.
- Return type
bool- Returns
A boolean value.
- property already_setup: bool¶
Already Setup getter.
- Return type
bool- Returns
A boolean value.
- async destroy()¶
Destroy miscellaneous repository things.
- Return type
None- Returns
This method does not return anything.
- classmethod from_config(config=None, **kwargs)¶
Build a new instance from config.
- Parameters
config (
typing.Union[minos.common.configuration.config.MinosConfig,pathlib.Path,None]) – Config instance. If None is provided, default config is chosen.kwargs – Additional named arguments.
- Return type
~S
- Returns
A instance of the called class.
- async setup()¶
Setup miscellaneous repository things.
- Return type
None- Returns
This method does not return anything.