flag.BoolVar(&TestContext.GatherMetricsAfterTest,"gather-metrics-at-teardown",false,"If set to true framwork will gather metrics from all components after each test.")
flag.StringVar(&TestContext.OutputPrintType,"output-print-type","hr","Comma separated list: 'hr' for human readable summaries 'json' for JSON ones.")
flag.BoolVar(&TestContext.DumpLogsOnFailure,"dump-logs-on-failure",true,"If set to true test will dump data about the namespace in which test was running.")
flag.StringVar(&TestContext.Host,"host","http://127.0.0.1:8080","The host, or apiserver, to connect to")
}
// Register flags specific to the cluster e2e test suite.
...
...
@@ -119,7 +120,6 @@ func RegisterClusterFlags() {
flag.StringVar(&TestContext.KubeVolumeDir,"volume-dir","/var/lib/kubelet","Path to the directory containing the kubelet volumes.")
flag.StringVar(&TestContext.CertDir,"cert-dir","","Path to the directory containing the certs. Default is empty, which doesn't use certs.")
flag.StringVar(&TestContext.Host,"host","","The host, or apiserver, to connect to")
flag.StringVar(&TestContext.RepoRoot,"repo-root","../../","Root directory of kubernetes repository, for finding test files.")
flag.StringVar(&TestContext.Provider,"provider","","The name of the Kubernetes provider (gce, gke, local, vagrant, etc.)")
flag.StringVar(&TestContext.KubectlPath,"kubectl-path","kubectl","The kubectl binary to use. For development, you might use 'cluster/kubectl.sh' here.")