Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for conditional (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/kubelet/kubelet.go

    	} else {
    		// Set nil if the container runtime network is ready.
    		kl.runtimeState.setNetworkState(nil)
    	}
    	// information in RuntimeReady condition will be propagated to NodeReady condition.
    	runtimeReady := s.GetRuntimeCondition(kubecontainer.RuntimeReady)
    	// If RuntimeReady is not set or is false, report an error.
    	if runtimeReady == nil || !runtimeReady.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1alpha1_openapi.json

              },
              "matchConditions": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	owner := cred.AccessKey == globalActiveCred.AccessKey
    
    	// Set prefix value for "s3:prefix" policy conditionals.
    	r.Header.Set("prefix", "")
    
    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    		if globalIAMSys.IsAllowed(policy.Args{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  9. src/net/http/serve_test.go

    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		// Note using r.FormValue("readbody") because for POST
    		// requests that would read from r.Body, which we only
    		// conditionally want to do.
    		if strings.Contains(r.URL.RawQuery, "readbody=true") {
    			io.ReadAll(r.Body)
    			w.Write([]byte("Hi"))
    		} else {
    			w.WriteHeader(StatusUnauthorized)
    		}
    	})).ts
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top