probeNetwork

get_network_faults

List all network faults

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosk8s.chaosmesh.network.probes
Nameget_network_fault
Returnlist

Usage

JSON

{
  "name": "get-network-faults",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosk8s.chaosmesh.network.probes",
    "func": "get_network_faults"
  }
}

YAML

name: get-network-faults
provider:
  func: get_network_faults
  module: chaosk8s.chaosmesh.network.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
nsstringdefaultNoNamespaceNamespace where to get the faults from

Signature

def get_network_faults(
        ns: str = 'default',
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass