INNER CODE UNIT · Go
parseArgs
kubernetes/dns · cmd/sidecar-e2e/main.go:65
func parseArgs() {
flag.StringVar(&opts.mode,
"mode", opts.mode,
"harness or test. Harness runs the test (builds the image, etc) and test"+
" runs actual tests inside the container.")
flag.BoolVar(&opts.cleanup,
"cleanup", opts.cleanup,
"Set to false to not cleanup tmp directory")
flag.StringVar(&opts.baseDir, "baseDir", opts.baseDir,
"base directory for the e2e test")
flag.StringVar(&opts.dockerfile, "dockerfile", opts.dockerfile,
"Dockerfile for e2e test")
flag.StringVar(&opts.dnsmasqBinary, "dnsmasqBinary", opts.dnsmasqBinary,
"location of dnsmasq")
flag.StringVar(&opts.sidecarBinary, "sidecarBinary", opts.sidecarBinary,
"location of sidecar")