Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 484 for condition3 (0.21 sec)

  1. pkg/apis/certificates/validation/validation_test.go

    			strictErrs:  []string{`status.conditions[1].type: Invalid value: "Denied": Approved and Denied conditions are mutually exclusive`},
    		}, {
    			name: "duplicate condition",
    			csr: &capi.CertificateSigningRequest{ObjectMeta: validObjectMeta, Spec: validSpec,
    				Status: capi.CertificateSigningRequestStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/types.go

    	// +optional
    	// +patchMergeKey=type
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=type
    	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
    }
    
    type ReplicaSetConditionType string
    
    // These are valid conditions of a replica set.
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// +optional
    	// +patchMergeKey=type
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=type
    	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
    }
    
    type ReplicaSetConditionType string
    
    // These are valid conditions of a replica set.
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  4. pkg/kubelet/status/status_manager_test.go

    		if test.condition != nil {
    			status.Conditions = []v1.PodCondition{*test.condition}
    		}
    		if test.oldCondition != nil {
    			oldStatus.Conditions = []v1.PodCondition{*test.oldCondition}
    		}
    		updateLastTransitionTime(status, oldStatus, "test-type")
    		if test.expectUpdate {
    			assert.True(t, status.Conditions[0].LastTransitionTime.After(old.Time))
    		} else if test.condition != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption_test.go

    	actualPDB := ps.Get(pdbName)
    	condition := apimeta.FindStatusCondition(actualPDB.Status.Conditions, "ExistingTestCondition")
    	if len(actualPDB.Status.Conditions) != 2 {
    		t.Fatalf("Expected 2 conditions, but got %d", len(actualPDB.Status.Conditions))
    	}
    	if condition == nil {
    		t.Fatalf("Expected ExistingTestCondition condition, but didn't find it")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal.go

    	hpa.Status.Conditions = setConditionInList(hpa.Status.Conditions, conditionType, status, reason, message, args...)
    }
    
    // setConditionInList sets the specific condition type on the given HPA to the specified value with the given
    // reason and message.  The message and args are treated like a format string.  The condition will be added if
    // it is not present.  The new list will be returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    //	    // +listType=map
    //	    // +listMapKey=type
    //	    Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
    //
    //	    // other fields
    //	}
    type Condition struct {
    	// type of condition in CamelCase or in foo.example.com/CamelCase.
    	// ---
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// +patchMergeKey=type
    	// +patchStrategy=merge
    	// +listType=map
    	// +listMapKey=type
    	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
    }
    
    type ReplicaSetConditionType string
    
    // These are valid conditions of a replica set.
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller.go

    	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
    		}
    		return list, false
    	}
    	// A condition with that type doesn't exist in the list.
    	if status != v1.ConditionFalse {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  10. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		if apierrors.IsNotFound(err) {
    			return nil
    		}
    		return err
    	}
    
    	// Map node's condition to Taints.
    	var taints []v1.Taint
    	for _, condition := range node.Status.Conditions {
    		if taintMap, found := nodeConditionToTaintKeyStatusMap[condition.Type]; found {
    			if taintKey, found := taintMap[condition.Status]; found {
    				taints = append(taints, v1.Taint{
    					Key:    taintKey,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top