Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for TestHandler (0.36 sec)

  1. pkg/controller/resourcequota/resource_quota_controller_test.go

    	fakeDiscoveryClient := &fakeServerResources{
    		PreferredResources: serverResources,
    		Error:              nil,
    		Lock:               sync.Mutex{},
    		InterfaceUsedCount: 0,
    	}
    
    	testHandler := &fakeActionHandler{
    		response: map[string]FakeResponse{
    			"GET" + "/api/v1/pods": {
    				200,
    				[]byte("{}"),
    			},
    			"GET" + "/api/v1/secrets": {
    				404,
    				[]byte("{}"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  2. src/expvar/expvar_test.go

    		t.Errorf(`f.Value() = %q, want %q`, v, x)
    	}
    
    	x = 17
    	if s, exp := f.String(), `17`; s != exp {
    		t.Errorf(`f.String() = %q, want %q`, s, exp)
    	}
    }
    
    func TestHandler(t *testing.T) {
    	RemoveAll()
    	m := NewMap("map1")
    	m.Add("a", 1)
    	m.Add("z", 2)
    	m2 := NewMap("map2")
    	for i := 0; i < 9; i++ {
    		m2.Add(strconv.Itoa(i), int64(i))
    	}
    	rr := httptest.NewRecorder()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. api/go1.21.txt

    pkg syscall (freebsd-riscv64-cgo), type SysProcAttr struct, Jail int #46259
    pkg syscall (freebsd-riscv64), type SysProcAttr struct, Jail int #46259
    pkg testing, func Testing() bool #52600
    pkg testing/slogtest, func TestHandler(slog.Handler, func() []map[string]interface{}) error #56345
    pkg unicode, const Version = "15.0.0" #55079
    pkg unicode, var Cypro_Minoan *RangeTable #55079
    pkg unicode, var Kawi *RangeTable #55079
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go

    	if !ok {
    		supported, _ := MediaTypesForSerializer(ns)
    		return mediaType, runtime.SerializerInfo{}, NewNotAcceptableError(supported)
    	}
    	// TODO: move into resthandler
    	info := mediaType.Accepted
    	if (mediaType.Pretty || isPrettyPrint(req)) && info.PrettySerializer != nil {
    		info.Serializer = info.PrettySerializer
    	}
    	return mediaType, info, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 10:53:34 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Config.Rand", Field, 0},
    		{"Config.Values", Field, 0},
    		{"Generator", Type, 0},
    		{"SetupError", Type, 0},
    		{"Value", Func, 0},
    	},
    	"testing/slogtest": {
    		{"Run", Func, 22},
    		{"TestHandler", Func, 21},
    	},
    	"text/scanner": {
    		{"(*Position).IsValid", Method, 0},
    		{"(*Scanner).Init", Method, 0},
    		{"(*Scanner).IsValid", Method, 0},
    		{"(*Scanner).Next", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	// LoopbackClientConfig is a config for a privileged loopback connection to the API server
    	LoopbackClientConfig *restclient.Config
    
    	// minRequestTimeout is how short the request timeout can be.  This is used to build the RESTHandler
    	minRequestTimeout time.Duration
    
    	// ShutdownTimeout is the timeout used for server shutdown. This specifies the timeout before server
    	// gracefully shutdown returns.
    	ShutdownTimeout time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top