func TestHealthEndpoints(t *testing.T) { … } // TODO: Make this a util function once there is a unified way to start a testing apiserver so that we can reuse it. func startTestAPIServer(t *testing.T) (server *kubeapiservertesting.TestServer, apiserverConfig, token string, err error) { … } func clientAndURLFromTestServer(s kubeschedulertesting.TestServer) (*http.Client, string, error) { … }