Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ctb2 (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go

    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	ctx2 := genericapirequest.WithNamespace(genericapirequest.NewContext(), "bar4")
    	objMeta.SetNamespace(genericapirequest.NamespaceValue(ctx2))
    	_, err = t.storage.(rest.Creater).Create(ctx2, obj, rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	counter.Add(1) // account for the following goroutine
    	go func() {
    		defer counter.Add(-1) // account completion of this goroutine
    		idle1 = req1.Finish(func() {
    			executed1 = true
    			ctx2, cancel2 := context.WithCancel(context.Background())
    			tBefore := clk.Now()
    			counter.Add(1) // account for the following goroutine
    			go func() {
    				defer counter.Add(-1) // account completion of this goroutine
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top