- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 71 for serverCert (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go
func NewTestServerWithHandler(t testing.TB, handler func(http.ResponseWriter, *http.Request)) *httptest.Server { // Create the test webhook server sCert, err := tls.X509KeyPair(testcerts.ServerCert, testcerts.ServerKey) if err != nil { t.Error(err) t.FailNow() } rootCAs := x509.NewCertPool() rootCAs.AppendCertsFromPEM(testcerts.CACert)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 15 11:11:25 UTC 2021 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/certs_test.go
Rbrj8QKBgHifm6Z9F4qTz2b2RsYPoMHOdsX0DrZ8xQOH8jioTAy/Xi2hrL5Klp7h zaLifWtOdtckFxIk+6D/zLLn1icC7cc8n4TMwQ1ikY+9IPnkTXVx4b/r/NSbAVxZ J821mkhGdqKJGAzk6uh/Sn4rNGubH+I1x2Xa9hWbARCLsj8tp6TX -----END RSA PRIVATE KEY-----`) var serverCert = []byte(`-----BEGIN CERTIFICATE----- MIIDHzCCAgegAwIBAgIUTJoqwFusJcupNCs/u39LBFrkZEQwDQYJKoZIhvcNAQEL BQAwGzEZMBcGA1UEAwwQd2ViaG9va190ZXN0c19jYTAgFw0yMjAzMjUxNTMzMjla
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 14:39:30 UTC 2022 - 16K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/options_test.go
EnableWatchCache: true, DefaultWatchCacheSize: 100, }, SecureServing: (&apiserveroptions.SecureServingOptions{ BindAddress: netutils.ParseIPSloppy("192.168.10.20"), BindPort: 6443, ServerCert: apiserveroptions.GeneratableKeyCert{ CertDirectory: "/var/run/kubernetes", PairName: "apiserver", }, HTTP2MaxStreamsPerConnection: 42, Required: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/webhooks/validation/server/server_test.go
dir := t.TempDir() var ( certFile = filepath.Join(dir, "cert-file.yaml") keyFile = filepath.Join(dir, "key-file.yaml") port = uint(0) ) // cert if err := os.WriteFile(certFile, testcerts.ServerCert, 0o644); err != nil { // nolint: vetshadow t.Fatalf("WriteFile(%v) failed: %v", certFile, err) } // key if err := os.WriteFile(keyFile, testcerts.ServerKey, 0o644); err != nil { // nolint: vetshadow
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 9.6K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options_test.go
DefaultWatchCacheSize: 100, }, SecureServing: (&apiserveroptions.SecureServingOptions{ BindAddress: netutils.ParseIPSloppy("192.168.10.20"), BindPort: 6443, ServerCert: apiserveroptions.GeneratableKeyCert{ CertDirectory: "/var/run/kubernetes", PairName: "apiserver", }, HTTP2MaxStreamsPerConnection: 42, Required: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 12.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
v := fakeVersion() config.Version = &v config.EnableIndex = true secureOptions := (&SecureServingOptions{ BindAddress: netutils.ParseIPSloppy("127.0.0.1"), BindPort: 6443, ServerCert: GeneratableKeyCert{ CertKey: CertKey{ CertFile: serverCertBundleFile, KeyFile: serverKeyFile, }, }, DisableHTTP2Serving: true, SNICertKeys: namedCertKeys,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/options_test.go
ConcurrentPolicySyncs: 9, }, }, SecureServing: (&apiserveroptions.SecureServingOptions{ BindPort: 10001, BindAddress: netutils.ParseIPSloppy("192.168.4.21"), ServerCert: apiserveroptions.GeneratableKeyCert{ CertDirectory: "/a/b/c", PairName: "kube-controller-manager", }, HTTP2MaxStreamsPerConnection: 47, }).WithLoopback(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 55.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
}() clientErr := Client(c, clientConfig).Handshake() c.Close() serverErr := <-done if len(test.errorSubstring) == 0 { if serverErr != nil || clientErr != nil { t.Errorf("test[%d]: expected no error but got serverErr: %q, clientErr: %q", i, serverErr, clientErr) } if test.verify != nil { if err := test.verify(configReturned); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
} }, validate: func(t *testing.T, testNo int, clientCalled, serverCalled bool, clientErr, serverErr error) { if clientErr != nil { t.Errorf("test[%d]: client handshake failed: %v", testNo, clientErr) } if serverErr != nil { t.Errorf("test[%d]: server handshake failed: %v", testNo, serverErr) } if !clientCalled { t.Errorf("test[%d]: client did not call callback", testNo)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
pilot/pkg/model/gateway.go
RecordRejectedConfig(gatewayName) continue } if mergedServers[serverPort] == nil { mergedServers[serverPort] = &MergedServers{Servers: []*networking.Server{s}} serverPorts = append(serverPorts, serverPort) } else { mergedServers[serverPort].Servers = append(mergedServers[serverPort].Servers, s) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 26K bytes - Viewed (0)