const ecdsaPrivateKey … type TestServerSetup … type TearDownFunc … // StartTestServer runs a kube-apiserver, optionally calling out to the setup.ModifyServerRunOptions and setup.ModifyServerConfig functions // TODO (pohly): convert to ktesting contexts func StartTestServer(ctx context.Context, t testing.TB, setup TestServerSetup) (client.Interface, *rest.Config, TearDownFunc) { … }