type TestAPIServer … // StartAPIServer runs etcd and apiserver in the background in the same // process. All resources get released automatically when the test // completes. If startup fails, the test gets aborted. func StartAPITestServer(t *testing.T) TestAPIServer { … } func writeKubeConfigForWardleServerToKASConnection(t *testing.T, kubeClientConfig *rest.Config) string { … }