Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for conditional (0.17 sec)

  1. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

                "type": "string"
              },
              "status": {
                "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.",
                "type": "string"
              },
              "type": {
                "description": "`type` is the type of the condition. Required.",
                "type": "string"
              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control_test.go

    			Type:               v1.PodReady,
    			Status:             v1.ConditionTrue,
    			LastTransitionTime: metav1.Time{Time: lastTransitionTime},
    		}
    		pod.Status.Conditions = append(pod.Status.Conditions, *existingCondition)
    	}
    	podutil.UpdatePodCondition(&pod.Status, &condition)
    	fakeResourceVersion(pod)
    	om.podsIndexer.Update(pod)
    	return om.podsLister.Pods(set.Namespace).List(selector)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

            "properties": {
              "conditions": {
                "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.",
                "items": {
                  "allOf": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      if (else_reg->empty()) else_reg = nullptr;
    
      bool condition;
      if (auto cond_attr = operands.front().dyn_cast_or_null<IntegerAttr>()) {
        condition = cond_attr.getValue().isOne();
    
        // Add the successor regions using the condition.
        regions.push_back(RegionSuccessor(condition ? &getThenRegion() : else_reg));
      } else {
        // If the condition isn't constant, both regions may be executed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/batch/v1/generated.pb.go

    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Conditions = append(m.Conditions, JobCondition{})
    			if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers_test.go

    		inputs []v1.NodeConditionType
    		item   v1.NodeConditionType
    		result bool
    	}{
    		"has-condition": {
    			inputs: []v1.NodeConditionType{v1.NodeReady, v1.NodeDiskPressure, v1.NodeMemoryPressure},
    			item:   v1.NodeMemoryPressure,
    			result: true,
    		},
    		"does-not-have-condition": {
    			inputs: []v1.NodeConditionType{v1.NodeReady, v1.NodeDiskPressure},
    			item:   v1.NodeMemoryPressure,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	// Update pod condition to highPod.
    	podutil.UpdatePodCondition(&highPod.Status, &v1.PodCondition{
    		Type:    v1.PodScheduled,
    		Status:  v1.ConditionFalse,
    		Reason:  v1.PodReasonUnschedulable,
    		Message: "fake scheduling failure",
    	})
    
    	// Update pod condition to midPod.
    	podutil.UpdatePodCondition(&midPod.Status, &v1.PodCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    						tcpRulesInTo = true
    					}
    				}
    			}
    			for _, condition := range rule.GetWhen() {
    				key := condition.GetKey()
    				if key == "" {
    					errs = appendErrors(errs, fmt.Errorf("`key` must not be empty"))
    				} else {
    					if len(condition.GetValues()) == 0 && len(condition.GetNotValues()) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/eviction_manager_test.go

    					t.Fatalf("Manager should have selected a pod for eviction")
    				}
    
    				wantPodStatus := tc.wantPodStatus.DeepCopy()
    				if enablePodDisruptionConditions {
    					wantPodStatus.Conditions = append(wantPodStatus.Conditions, v1.PodCondition{
    						Type:    "DisruptionTarget",
    						Status:  "True",
    						Reason:  "TerminationByKubelet",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json

                "description": "The reason for the condition's last transition.",
                "type": "string"
              },
              "status": {
                "default": "",
                "description": "Status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "default": "",
                "description": "Type of the condition.",
                "type": "string"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 133.2K bytes
    - Viewed (0)
Back to top