// UpdateDisruptionAllowedCondition updates the DisruptionAllowed condition // on a PodDisruptionBudget based on the value of the DisruptionsAllowed field. func UpdateDisruptionAllowedCondition(pdb *policy.PodDisruptionBudget) { … } // ConditionsAreUpToDate checks whether the status and reason for the // DisruptionAllowed condition are set to the correct values based on the // DisruptionsAllowed field. func ConditionsAreUpToDate(pdb *policy.PodDisruptionBudget) bool { … }