Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetPodConditionFromList (0.16 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod.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: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. pkg/api/v1/pod/util.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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. pkg/kubelet/status/generate.go

    	// Evaluate corresponding conditions specified in readiness gate
    	// Generate message if any readiness gate is not satisfied.
    	unreadyMessages := []string{}
    	for _, rg := range spec.ReadinessGates {
    		_, c := podutil.GetPodConditionFromList(conditions, rg.ConditionType)
    		if c == nil {
    			unreadyMessages = append(unreadyMessages, fmt.Sprintf("corresponding condition of pod readiness gate %q does not exist.", string(rg.ConditionType)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. pkg/kubelet/status/status_manager.go

    					// the condition was delayed until all pod's containers have terminated.
    					updateLastTransitionTime(&newPodStatus, &oldPodStatus, c.Type)
    					if _, c := podutil.GetPodConditionFromList(newPodStatus.Conditions, c.Type); c != nil {
    						// for shared conditions we update or append in podConditions
    						podConditions = statusutil.ReplaceOrAppendPodCondition(podConditions, c)
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top