Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetPodConditionFromList (0.22 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter.go

    	if status == nil {
    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    // returns the index of the condition and the condition. Returns -1 and nil if the condition is not present.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go

    	if status == nil {
    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    // returns the index of the condition and the condition. Returns -1 and nil if the condition is not present.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 22 20:35:23 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pkg/util/pod/pod.go

    func ReplaceOrAppendPodCondition(conditions []v1.PodCondition, condition *v1.PodCondition) []v1.PodCondition {
    	if i, _ := podutil.GetPodConditionFromList(conditions, condition.Type); i >= 0 {
    		conditions[i] = *condition
    	} else {
    		conditions = append(conditions, *condition)
    	}
    	return conditions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top