authConfig=flag.String("auth_config",os.Getenv("HOME")+"/.kubernetes_auth","Path to the auth info file.")
authConfig=flag.String("auth_config",os.Getenv("HOME")+"/.kubernetes_auth","Path to the auth info file.")
host=flag.String("host","","The host to connect to")
host=flag.String("host","","The host to connect to")
repoRoot=flag.String("repo_root","./","Root directory of kubernetes repository, for finding test files. Default assumes working directory is repository root")
)
)
funcwaitForPodRunning(c*client.Client,idstring){
funcwaitForPodRunning(c*client.Client,idstring){
...
@@ -53,7 +56,12 @@ func waitForPodRunning(c *client.Client, id string) {
...
@@ -53,7 +56,12 @@ func waitForPodRunning(c *client.Client, id string) {
}
}
}
}
funcloadObjectOrDie(filePathstring)interface{}{
// assetPath returns a path to the requested file; safe on all OSes.