- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetPodConditionFromList (0.2 sec)
-
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) -
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) -
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) -
pkg/kubelet/kubelet_pods.go
// node graceful shutdown). We do not re-generate the conditions based // on the container statuses as they are added based on one-time events. cType := v1.DisruptionTarget if _, condition := podutil.GetPodConditionFromList(oldPodStatus.Conditions, cType); condition != nil { s.Conditions = utilpod.ReplaceOrAppendPodCondition(s.Conditions, condition) } } // set all Kubelet-owned conditions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0)