Skip to content

Set Core

chaos.lib.set

Orchestration/Explanation Handlers for Chaos CLI

setMode(payload)

Handles configuring the tool by writing default settings to the chaos configuration directory.

Parameters:

Name Type Description Default
payload SetPayload

The payload containing the file paths to set as defaults (chobolo, secrets, or sops files).

required

Raises:

Type Description
FileNotFoundError

If any of the provided file paths do not exist.