Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsStatusConditionTrue (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/conditions.go

    	for i := range conditions {
    		if conditions[i].Type == conditionType {
    			return &conditions[i]
    		}
    	}
    
    	return nil
    }
    
    // IsStatusConditionTrue returns true when the conditionType is present and set to `metav1.ConditionTrue`
    func IsStatusConditionTrue(conditions []metav1.Condition, conditionType string) bool {
    	return IsStatusConditionPresentAndEqual(conditions, conditionType, metav1.ConditionTrue)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 22 01:13:33 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top