- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newTestServer (0.28 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Aug 25 00:00:45 UTC 2019 - 807 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/test.go
"sync" "golang.org/x/mod/module" "golang.org/x/mod/sumdb/note" "golang.org/x/mod/sumdb/tlog" ) // NewTestServer constructs a new [TestServer] // that will sign its tree with the given signer key // (see [golang.org/x/mod/sumdb/note]) // and fetch new records as needed by calling gosum. func NewTestServer(signer string, gosum func(path, vers string) ([]byte, error)) *TestServer { return &TestServer{signer: signer, gosum: gosum} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go
Certificates: []tls.Certificate{sCert}, ClientCAs: rootCAs, ClientAuth: tls.RequireAndVerifyClientCert, } return testServer } // NewTestServer returns a webhook test HTTPS server with fixed webhook test certs. func NewTestServer(t testing.TB) *httptest.Server { return NewTestServerWithHandler(t, webhookHandler) } func webhookHandler(w http.ResponseWriter, r *http.Request) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 15 11:11:25 UTC 2021 - 6.3K bytes - Viewed (0)