Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CTYPE (0.03 sec)

  1. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (1)
  2. 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)
  3. pkg/controller/job/job_controller_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			UID: types.UID(rand.String(5)),
    		},
    	}}
    }
    
    func getConditionsByType(list []batch.JobCondition, cType batch.JobConditionType) []*batch.JobCondition {
    	var result []*batch.JobCondition
    	for i := range list {
    		if list[i].Type == cType {
    			result = append(result, &list[i])
    		}
    	}
    	return result
    }
    
    func (pb podBuilder) name(n string) podBuilder {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top