- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for closeAllConns (0.16 sec)
-
pkg/kubelet/certificate/transport_test.go
return nil } func (f *fakeManager) setCurrent(cert *tls.Certificate) { f.cert.Store(cert) } func TestRotateShutsDownConnections(t *testing.T) { // This test fails if you comment out the t.closeAllConns() call in // transport.go and don't close connections on a rotate. stop := make(chan struct{}) defer close(stop) m := new(fakeManager) m.setCurrent(client1CertData.certificate)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 18 08:52:58 UTC 2020 - 7.8K bytes - Viewed (0) -
cmd/kubelet/app/server.go
// to request new certs, we will be unable to continue normal operation. Exiting the process allows a wrapper // or the bootstrapping credentials to potentially lay down new initial config. closeAllConns, err := kubeletcertificate.UpdateTransport(wait.NeverStop, transportConfig, clientCertificateManager, 5*time.Minute) if err != nil { return nil, nil, err } var onHeartbeatFailure func()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:34 UTC 2024 - 53.9K bytes - Viewed (0)