type caWithClient … func newTestCAWithClient(caSubject pkix.Name, caSerial *big.Int, clientSubject pkix.Name, subjectSerial *big.Int) (*caWithClient, error) { … } func TestClientCAUpdate(t *testing.T) { … } func TestClientCARecreate(t *testing.T) { … } func testClientCA(t *testing.T, recreate bool) { … } func waitForConfigMapCAContent(t *testing.T, kubeClient kubernetes.Interface, key, content string, count int) func() (bool, error) { … } var serverKey … var serverCert … var anotherServerKey … var anotherServerCert … func TestServingCertUpdate(t *testing.T) { … } func TestServingCertRecreate(t *testing.T) { … } func testServingCert(t *testing.T, recreate bool) { … } func TestSNICert(t *testing.T) { … } func checkServingCerts(expectedBytes []byte, actual [][]byte) error { … }