type TestAPIServer struct {
// ClientSet is already initialized to access the apiserver as admin. ClientSet clientset.Interface// KubeConfigFile is the absolute path for a kube.config file that// grants admin access to the apiserver.
KubeConfigFile string
}
TestAPIServer provides access to a running apiserver instance.
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.