Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCondition (0.2 sec)

  1. pkg/controller/replicaset/replica_set_test.go

    		{
    			name: "condition does not exist",
    
    			status:   *exampleStatus,
    			condType: imagePullBackOff,
    
    			expected: false,
    		},
    	}
    
    	for _, test := range tests {
    		cond := GetCondition(test.status, test.condType)
    		exists := cond != nil
    		if exists != test.expected {
    			t.Errorf("%s: expected condition to exist: %t, got: %t", test.name, test.expected, exists)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/horizontal.go

    	if invalidMetricsCount >= len(metricSpecs) || (invalidMetricsCount > 0 && replicas < specReplicas) {
    		setCondition(hpa, invalidMetricCondition.Type, invalidMetricCondition.Status, invalidMetricCondition.Reason, invalidMetricCondition.Message)
    		return -1, "", statuses, time.Time{}, invalidMetricError
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        fields.put(key.substring("fields.".length()), value);
                    }
                }
                return fields;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
                final Map<String, String[]> conditions = new HashMap<>();
                for (final Map.Entry<String, String[]> entry : request.getParameterMap().entrySet()) {
                    final String key = entry.getKey();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top