Skip to content

Extension chaosspring

Version 0.1.1
Repository https://github.com/chaostoolkit-incubator/chaostoolkit-spring

N/A

Exported Activities

probes


assaults_configuration

Type probe
Module chaosspring.probes
Name assaults_configuration
Return mapping

Get the current assaults configuraton from the specified service.

Signature:

def assaults_configuration(
        base_url: str,
        timeout: float = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass

Arguments:

Name Type Default Required
base_url string Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.probes",
    "type": "python",
    "arguments": {
      "base_url": ""
    },
    "func": "assaults_configuration"
  },
  "type": "probe",
  "name": "assaults-configuration"
}
name: assaults-configuration
provider:
  arguments:
    base_url: ''
  func: assaults_configuration
  module: chaosspring.probes
  type: python
type: probe

chaosmonkey_enabled

Type probe
Module chaosspring.probes
Name chaosmonkey_enabled
Return boolean

Enquire whether Chaos Monkey is enabled on the specified service.

Signature:

def chaosmonkey_enabled(base_url: str,
                        timeout: float = None,
                        configuration: Dict[str, Dict[str, str]] = None,
                        secrets: Dict[str, Dict[str, str]] = None) -> bool:
    pass

Arguments:

Name Type Default Required
base_url string Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.probes",
    "type": "python",
    "arguments": {
      "base_url": ""
    },
    "func": "chaosmonkey_enabled"
  },
  "type": "probe",
  "name": "chaosmonkey-enabled"
}
name: chaosmonkey-enabled
provider:
  arguments:
    base_url: ''
  func: chaosmonkey_enabled
  module: chaosspring.probes
  type: python
type: probe

watcher_configuration

Type probe
Module chaosspring.probes
Name watcher_configuration
Return mapping

Get the current watcher configuraton from the specified service.

Signature:

def watcher_configuration(
        base_url: str,
        timeout: float = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass

Arguments:

Name Type Default Required
base_url string Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.probes",
    "type": "python",
    "arguments": {
      "base_url": ""
    },
    "func": "watcher_configuration"
  },
  "type": "probe",
  "name": "watcher-configuration"
}
name: watcher-configuration
provider:
  arguments:
    base_url: ''
  func: watcher_configuration
  module: chaosspring.probes
  type: python
type: probe

actions


change_assaults_configuration

Type action
Module chaosspring.actions
Name change_assaults_configuration
Return string

Change Assaults configuration on a specific service.

Signature:

def change_assaults_configuration(
        base_url: str,
        assaults_configuration: Dict[str, Any],
        timeout: float = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> str:
    pass

Arguments:

Name Type Default Required
base_url string Yes
assaults_configuration mapping Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.actions",
    "type": "python",
    "arguments": {
      "base_url": "",
      "assaults_configuration": {}
    },
    "func": "change_assaults_configuration"
  },
  "type": "action",
  "name": "change-assaults-configuration"
}
name: change-assaults-configuration
provider:
  arguments:
    assaults_configuration: {}
    base_url: ''
  func: change_assaults_configuration
  module: chaosspring.actions
  type: python
type: action

disable_chaosmonkey

Type action
Module chaosspring.actions
Name disable_chaosmonkey
Return string

Disable Chaos Monkey on a specific service.

Signature:

def disable_chaosmonkey(base_url: str,
                        timeout: float = None,
                        configuration: Dict[str, Dict[str, str]] = None,
                        secrets: Dict[str, Dict[str, str]] = None) -> str:
    pass

Arguments:

Name Type Default Required
base_url string Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.actions",
    "type": "python",
    "arguments": {
      "base_url": ""
    },
    "func": "disable_chaosmonkey"
  },
  "type": "action",
  "name": "disable-chaosmonkey"
}
name: disable-chaosmonkey
provider:
  arguments:
    base_url: ''
  func: disable_chaosmonkey
  module: chaosspring.actions
  type: python
type: action

enable_chaosmonkey

Type action
Module chaosspring.actions
Name enable_chaosmonkey
Return string

Enable Chaos Monkey on a specific service.

Signature:

def enable_chaosmonkey(base_url: str,
                       timeout: float = None,
                       configuration: Dict[str, Dict[str, str]] = None,
                       secrets: Dict[str, Dict[str, str]] = None) -> str:
    pass

Arguments:

Name Type Default Required
base_url string Yes
timeout number null No

Usage:

{
  "provider": {
    "module": "chaosspring.actions",
    "type": "python",
    "arguments": {
      "base_url": ""
    },
    "func": "enable_chaosmonkey"
  },
  "type": "action",
  "name": "enable-chaosmonkey"
}
name: enable-chaosmonkey
provider:
  arguments:
    base_url: ''
  func: enable_chaosmonkey
  module: chaosspring.actions
  type: python
type: action