Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Forbid (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    		obj    interface{}
    		errors []string
    	}{
    		{
    			name: "forbid direct usage of optional integer",
    			schema: withRule(integerType, `
    				oldSelf + self > 5
    			`),
    			obj:    5,
    			errors: []string{"no matching overload for '_+_' applied to '(optional_type(int), int)"},
    		},
    		{
    			name: "forbid direct usage of optional string",
    			schema: withRule(stringType, `
    				oldSelf == "foo"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		t.Errorf("expected admission error on create")
    	}
    
    	// createIfNotFound and verify
    	if !updateAndVerify(t, testContext, registry, podA) {
    		t.Errorf("Unexpected error updating podA")
    	}
    
    	// forbid creation again
    	registry.UpdateStrategy.(*testRESTStrategy).allowCreateOnUpdate = false
    
    	// outofDate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		// net stack), this can result in an infinite retry loop that doesn't
    		// propagate the error up far enough for us to adjust the WriteTimeout.
    		//
    		// To avoid that problem, we explicitly forbid internal retries by rejecting
    		// them in a Proxy hook in the transport.
    		var retries atomic.Int32
    		cst.c.Transport.(*Transport).Proxy = func(*Request) (*url.URL, error) {
    			if retries.Add(1) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		m.Merge(&mLocal)
    		// Allow half the interval for collecting remote...
    		cctx, cancel := context.WithTimeout(ctx, interval/2)
    		mRemote := collectRemoteMetrics(cctx, types, collectMetricsOpts{
    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		cancel()
    		m.Merge(&mRemote)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    						Help:      "Get successfully completed batch job " + jtype + "objects",
    						Type:      counterMetric,
    					},
    					Value:          objects,
    					VariableLabels: map[string]string{"bucket": bucket, "jobId": mj.JobID},
    				},
    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    						Name:      MetricName(jtype + "_objects_failed"),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. samples/addons/grafana.yaml

          isDefault: true
          jsonData:
            timeInterval: 15s
          name: Prometheus
          orgId: 1
          type: prometheus
          url: http://prometheus:9090
        - access: proxy
          editable: true
          isDefault: false
          jsonData:
            timeInterval: 5s
          name: Loki
          orgId: 1
          type: loki
          url: http://loki:3100
      dashboardproviders.yaml: |
        apiVersion: 1
        providers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    		if r := recover(); r != nil {
    			panicked = true
    		}
    	}()
    	res, err = tr.RoundTrip(req)
    	return
    }
    
    // Issue 22330: do not allow the response body to be read when the status code
    // forbids a response body.
    func TestNoBodyOnChunked304Response(t *testing.T) {
    	run(t, testNoBodyOnChunked304Response, []testMode{http1Mode})
    }
    func testNoBodyOnChunked304Response(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top