Metadata-Version: 2.1
Name: chaostoolkit-utils
Version: 0.1.0
Summary: This package contains utility actions/probes/controls for chaostoolkit
Home-page: https://github.com/sky-uk/chaostoolkit-utils
Author: Marco Masetti
Author-email: marco.masetti@sky.uk
License: Revised BSD License
Keywords: chaostoolkit
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# A ChaosToolkit package that lists some useful utility actions/probes/controls


## Probes

### check_site_content
This probe can be used to check if the content from a http get request matches a pattern.

#### Usage

      {
        "type": "probe",
        "name": "Check there are no errors...",
        "provider": {
          "arguments": {
            "url": "...",
            "pattern": "any pattern accepted by re...",
            "timeout": x # timeout in seconds, not mandatory...
          },
          "func": "check_site_content",
          "module": "chaostoolkit_utils.probes",
          "type": "python"
        },




