Wait for Pod

class narrenschiff.modules.wait_for_pod.WaitForPod(command)[source]

Use this module when you need to wait for a pod to become ready.

property cmd

Get command that module needs to execute later.

Returns

Full command with all parameters

Return type

str

dry_run_supported(cmd)[source]

Check if command supports –dry-run.

Parameters

cmd (str) – Command that module should execute

Returns

Boolean indicating whether command supports dry run

Return type

bool

execute()[source]

Parse command and its arguments, and execute the module.

Parameters

dry_run_enabled (bool) – Boolean indicating whether user turned on dry run for the task

Returns

Void

Return type

None