Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for CONDITION (0.17 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		if err != nil {
    			condition := a.getUnableComputeReplicaCountCondition(hpa, "FailedGetObjectMetric", err)
    			return 0, "", time.Time{}, condition, fmt.Errorf("failed to get object metric value: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. pkg/apis/certificates/validation/validation_test.go

    		}},
    		oldCSR: &capi.CertificateSigningRequest{ObjectMeta: validUpdateMetaWithFinalizers, Spec: validSpec},
    		errs: []string{
    			`status.conditions: Forbidden: updates may not add a condition of type "Approved"`,
    		},
    	}, {
    		name:   "remove Approved condition",
    		newCSR: &capi.CertificateSigningRequest{ObjectMeta: validUpdateMeta, Spec: validSpec},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Where("name = ?", "jinzhu1").Not("name = ?", "jinzhu2").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* WHERE .*name.* = .+ AND NOT.*name.* = .+").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String())
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kubelet/status/status_manager_test.go

    	for desc, test := range map[string]struct {
    		condition    *v1.PodCondition
    		oldCondition *v1.PodCondition
    		expectUpdate bool
    	}{
    		"should do nothing if no corresponding condition": {
    			expectUpdate: false,
    		},
    		"should update last transition time if no old condition": {
    			condition: &v1.PodCondition{
    				Type:   "test-type",
    				Status: v1.ConditionTrue,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/types.go

    type StatefulSetCondition struct {
    	// Type of statefulset condition.
    	Type StatefulSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=StatefulSetConditionType"`
    	// Status of the condition, one of True, False, Unknown.
    	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
    	// Last time the condition transitioned from one status to another.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types.go

    type StatefulSetCondition struct {
    	// Type of statefulset condition.
    	Type StatefulSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=StatefulSetConditionType"`
    	// Status of the condition, one of True, False, Unknown.
    	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
    	// Last time the condition transitioned from one status to another.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        public long scrollSearch(final String index, final SearchCondition<SearchRequestBuilder> condition,
                final BooleanFunction<Map<String, Object>> cursor) {
            return scrollSearch(index, condition, getDefaultEntityCreator(), cursor);
        }
    
        public <T> long scrollSearch(final String index, final SearchCondition<SearchRequestBuilder> condition,
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                }
            }
    
            /**
             * Evaluate the optional condition in the given configuration, like "[org=MYORG]confX". If
             * the condition evaluates to true, the configuration is returned, if the condition
             * evaluate to false, null is returned. If there are no conditions, the configuration
             * itself is returned.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. 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)
Back to top