Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for preset (0.22 sec)

  1. pkg/kubelet/eviction/eviction_manager_test.go

    			// reduce disk pressure
    			fakeClock.Step(1 * time.Minute)
    			summaryProvider.result = summaryStatsMaker(diskStatConst)
    			diskGC.imageGCInvoked = false     // reset state
    			diskGC.containerGCInvoked = false // reset state
    			podKiller.pod = nil               // reset state
    			_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    			if err != nil {
    				t.Fatalf("Manager should not have an error %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation_test.go

    				Rule: admissionregistration.Rule{
    					APIGroups:   []string{"a"},
    					APIVersions: []string{"a"},
    					Resources:   []string{"a"},
    				},
    			}},
    		},
    		}, true),
    		expectedError: `if '*' is present, must not specify other operations`,
    	}, {
    		name: `resource "*" can co-exist with resources that have subresources`,
    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			rd.Replicate = true
    			return
    		}
    		// For existing object reset - this condition is needed
    		rd.Replicate = tgtStatus == ""
    		return
    	}
    	if resetID == "" || resetBeforeDate.Equal(timeSentinel) { // no reset in progress
    		return
    	}
    
    	// if already replicated, return true if a new reset was requested.
    	splits := strings.SplitN(rs, ";", 2)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  4. cluster/gce/gci/configure-helper.sh

      fi
    }
    
    function append-param-if-not-present {
      # A helper function to add flag to an arguments string
      # if no such flag is present already
      local params="$1"
      local -r flag="$2"
      local -r value="$3"
      if [[ ! "${params}" =~ "--${flag}"[=\ ] ]]; then
        params+=" --${flag}=${value}"
      fi
      echo "${params}"
    }
    
    function setup-os-params {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  5. src/net/http/server.go

    	// decisions on each request body's acceptable deadline or
    	// upload rate, most users will prefer to use
    	// ReadHeaderTimeout. It is valid to use them both.
    	ReadTimeout time.Duration
    
    	// ReadHeaderTimeout is the amount of time allowed to read
    	// request headers. The connection's read deadline is reset
    	// after reading the headers and the Handler can decide what
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    	styp := etyp
    	f := styp.Field(0)
    	testType(t, 5, f.Type, "chan *int32")
    
    	f, present := styp.FieldByName("d")
    	if !present {
    		t.Errorf("FieldByName says present field is absent")
    	}
    	testType(t, 6, f.Type, "float32")
    
    	f, present = styp.FieldByName("absent")
    	if present {
    		t.Errorf("FieldByName says absent field is present")
    	}
    
    	typ = TypeOf([32]int32{})
    	testType(t, 7, typ, "[32]int32")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			return
    		}
    	}
    
    	// If src == dst and either
    	// - the object is encrypted using SSE-C and two different SSE-C keys are present
    	// - the object is encrypted using SSE-S3 and the SSE-S3 header is present
    	// - the object storage class is not changing
    	// then execute a key rotation.
    	if cpSrcDstSame && (sseCopyC && sseC) && !chStorageClass {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/garbagecollector_test.go

    			for _, owner := range dependentNode.owners {
    				if owner.UID == myUID {
    					found = true
    					break
    				}
    			}
    			if !found {
    				t.Errorf("scenario: %s: node %s has node %s as a dependent, but it's not present in the latter node's owners list", scenario, node.identity, dependentNode.identity)
    			}
    		}
    
    		for _, owner := range node.owners {
    			ownerNode, ok := uidToNode[owner.UID]
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. src/database/sql/sql.go

    	if timeout <= 0 {
    		return false
    	}
    	return dc.createdAt.Add(timeout).Before(nowFunc())
    }
    
    // resetSession checks if the driver connection needs the
    // session to be reset and if required, resets it.
    func (dc *driverConn) resetSession(ctx context.Context) error {
    	dc.Lock()
    	defer dc.Unlock()
    
    	if !dc.needReset {
    		return nil
    	}
    	if cr, ok := dc.ci.(driver.SessionResetter); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    		// it, we skip the key from the kubelet-generated ones so we don't have duplicate
    		// env vars.
    		// TODO: remove this next line once all platforms use apiserver+Pods.
    		if _, present := tmpEnv[k]; !present {
    			result = append(result, kubecontainer.EnvVar{Name: k, Value: v})
    		}
    	}
    	return result, nil
    }
    
    // podFieldSelectorRuntimeValue returns the runtime value of the given
    // selector for a pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top