pod_condition_type

Function pod_condition_type 

Source
pub fn pod_condition_type(index: usize) -> String
Expand description

Create a condition type for a specific Pod child.

§Arguments

  • index - The index of the Pod (e.g., 0, 1, 2)

§Returns

A condition type string like “Pod-0”

§Example

use bindy::status_reasons::pod_condition_type;

let condition_type = pod_condition_type(0);
assert_eq!(condition_type, "Pod-0");