- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newTestServer (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go
b.Log("to run a standalone server, run:") b.Log("go run k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go") testServer := webhooktesting.NewTestServer(b) testServer.StartTLS() defer testServer.Close() testServerURL = testServer.URL } objectInterfaces := webhooktesting.NewObjectInterfacesForTest() serverURL, err := url.ParseRequestURI(testServerURL)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go
b.Log("to run a standalone server, run:") b.Log("go run k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go") testServer := webhooktesting.NewTestServer(b) testServer.StartTLS() defer testServer.Close() testServerURL = testServer.URL } serverURL, err := url.ParseRequestURI(testServerURL) if err != nil { b.Fatalf("this should never happen? %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
} // error case, error string should match. if !strings.Contains(err.Error(), tc.err) { t.Errorf("test case failed [%v], expect error %v, got %v", tc.probe, tc.err, err) } } } func NewTestServer(t test.Failer, o Options) *Server { if o.PrometheusRegistry == nil { o.PrometheusRegistry = TestingRegistry(t) } server, err := NewServer(o) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0)