Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for conditionType (0.19 sec)

  1. pkg/controller/deployment/progress_test.go

    				t.Error(err)
    			}
    
    			newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType)
    			switch {
    			case newCond == nil:
    				if test.d.Spec.ProgressDeadlineSeconds != nil && *test.d.Spec.ProgressDeadlineSeconds != math.MaxInt32 {
    					t.Errorf("%s: expected deployment condition: %s", test.name, test.conditionType)
    				}
    			case newCond.Status != test.conditionStatus || newCond.Reason != test.conditionReason:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/controller/job/util/utils_test.go

    					Conditions: test.conditions,
    				},
    			}
    
    			isJobFinished, conditionType := FinishedCondition(job)
    			if isJobFinished != test.wantJobFinished {
    				if test.wantJobFinished {
    					t.Error("Expected the job to be finished")
    				} else {
    					t.Error("Expected the job to be unfinished")
    				}
    			}
    
    			if conditionType != test.wantConditionType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 09:27:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pilot/pkg/controllers/untaint/nodeuntainter.go

    	_, condition := GetPodCondition(&status, v1.PodReady)
    	return condition
    }
    
    func GetPodCondition(status *v1.PodStatus, conditionType v1.PodConditionType) (int, *v1.PodCondition) {
    	if status == nil {
    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/pod.go

    	_, condition := GetPodCondition(&status, v1.PodReady)
    	return condition
    }
    
    func GetPodCondition(status *v1.PodStatus, conditionType v1.PodConditionType) (int, *v1.PodCondition) {
    	if status == nil {
    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		}
    		return result
    	}
    
    	specType := apiservercel.NewObjectType("kubernetes.NamespaceSpec", fields(
    		field("finalizers", apiservercel.NewListType(apiservercel.StringType, -1), true),
    	))
    	conditionType := apiservercel.NewObjectType("kubernetes.NamespaceCondition", fields(
    		field("status", apiservercel.StringType, true),
    		field("type", apiservercel.StringType, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/extensions.kt

                executionTimeoutMin = timeout
            }
            testFailure = false
            supportTestRetry = true
            add {
                failOnText {
                    conditionType = BuildFailureOnText.ConditionType.CONTAINS
                    pattern = "%unmaskedFakeCredentials%"
                    failureMessage = "This build might be leaking credentials"
                    reverse = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. pkg/kubelet/status/status_manager.go

    func updateLastTransitionTime(status, oldStatus *v1.PodStatus, conditionType v1.PodConditionType) {
    	_, condition := podutil.GetPodCondition(status, conditionType)
    	if condition == nil {
    		return
    	}
    	// Need to set LastTransitionTime.
    	lastTransitionTime := metav1.Now()
    	_, oldCondition := podutil.GetPodCondition(oldStatus, conditionType)
    	if oldCondition != nil && condition.Status == oldCondition.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal.go

    // not present.
    func setCondition(hpa *autoscalingv2.HorizontalPodAutoscaler, conditionType autoscalingv2.HorizontalPodAutoscalerConditionType, status v1.ConditionStatus, reason, message string, args ...interface{}) {
    	hpa.Status.Conditions = setConditionInList(hpa.Status.Conditions, conditionType, status, reason, message, args...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

            name: nameValue
          overhead:
            overheadKey: "0"
          preemptionPolicy: preemptionPolicyValue
          priority: 25
          priorityClassName: priorityClassNameValue
          readinessGates:
          - conditionType: conditionTypeValue
          resourceClaims:
          - name: nameValue
            source:
              resourceClaimName: resourceClaimNameValue
              resourceClaimTemplateName: resourceClaimTemplateNameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top