honeycomb package¶
Subpackages¶
- honeycomb.commands.service package
- Submodules
- honeycomb.commands.service.install module
- honeycomb.commands.service.list module
- honeycomb.commands.service.logs module
- honeycomb.commands.service.run module
- honeycomb.commands.service.show module
- honeycomb.commands.service.status module
- honeycomb.commands.service.stop module
- honeycomb.commands.service.test module
- honeycomb.commands.service.uninstall module
- honeycomb.commands.integration package
- honeycomb.decoymanager package
- honeycomb.integrationmanager package
- Submodules
- honeycomb.integrationmanager.defs module
- honeycomb.integrationmanager.error_messages module
- honeycomb.integrationmanager.exceptions module
- honeycomb.integrationmanager.integration_utils module
- honeycomb.integrationmanager.models module
- honeycomb.integrationmanager.registration module
- honeycomb.integrationmanager.tasks module
- Module contents
- honeycomb.servicemanager package
- honeycomb.utils package
Submodules¶
honeycomb.cli module¶
Honeycomb Command Line Interface.
honeycomb.defs module¶
Honeycomb defs and constants.
-
class
honeycomb.defs.BaseCollection[source]¶ Bases:
objectAbstract type collection mixin, should hold BaseNameLabel attributes.
-
honeycomb.defs.CONFIG_FILE_NAME= 'config.json'¶ Parameters constants.
-
class
honeycomb.defs.ConfigField(validator_func, get_error_message)[source]¶ Bases:
objectConfig Validator.
error_message is also a function to calculate the error when we ran the validator_func
-
honeycomb.defs.GITHUB_RAW_URL= 'https://raw.githubusercontent.com/Cymmetria/honeycomb_plugins/master/{plugin_type}/{plugin}/{filename}'¶ Config constants.
honeycomb.error_messages module¶
Honeycomb generic error messages.
honeycomb.exceptions module¶
Honeycomb Exceptions.
-
exception
honeycomb.exceptions.BaseHoneycombException(*args, **kwargs)[source]¶ Bases:
click.exceptions.ClickExceptionBase Exception.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= None¶
-
-
exception
honeycomb.exceptions.ConfigFieldMissing(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.ConfigValidationErrorField is missing from config file.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'field {} is missing from config file'¶
-
-
exception
honeycomb.exceptions.ConfigFieldTypeMismatch(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.ConfigValidationErrorConfig field does not match specified type.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Parameters: Bad value for {}={} (must be {})'¶
-
-
exception
honeycomb.exceptions.ConfigFieldValidationError(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.ConfigValidationErrorError validating config field.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Failed to import config. error in field {} with value {}: {}'¶
-
-
exception
honeycomb.exceptions.ConfigFileNotFound(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.PluginErrorConfig file not found.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Missing file {}'¶
-
-
exception
honeycomb.exceptions.ConfigValidationError(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.BaseHoneycombExceptionBase config validation error.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
exception
honeycomb.exceptions.ParametersFieldError(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.ConfigValidationErrorError validating parameter.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= "Parameters: '{}' is not a valid {}"¶
-
-
exception
honeycomb.exceptions.PathNotFound(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.BaseHoneycombExceptionSpecified path was not found.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Cannot find path {}'¶
-
-
exception
honeycomb.exceptions.PluginAlreadyInstalled(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.PluginErrorPlugin already installed.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= '{} is already installed'¶
-
-
exception
honeycomb.exceptions.PluginError(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.BaseHoneycombExceptionBase Plugin Exception.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
exception
honeycomb.exceptions.PluginNotFoundInOnlineRepo(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.PluginErrorPlugin not found in online repo.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Cannot find {} in online repository'¶
-
-
exception
honeycomb.exceptions.PluginRepoConnectionError(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.PluginErrorConnection error when trying to connect to plugin repo.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= 'Unable to access online repository (check debug logs for detailed info)'¶
-
-
exception
honeycomb.exceptions.RequiredFieldMissing(*args, **kwargs)[source]¶ Bases:
honeycomb.exceptions.PluginErrorRequired parameter is missing.
Raise ClickException and log msg with relevant debugging info from the frame that raised the exception.
-
msg_format= "Parameters: '{}' is missing (use --show_args to see all parameters)"¶
-