func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	cmd := cmd.NewKubectlCommand(cmdutil.NewFactory(nil), os.Stdin, os.Stdout, os.Stderr)
	if err := cmd.Execute(); err != nil {
		os.Exit(1)
	}
}
Esempio n. 2
0
func main() {
	cmd := cmd.NewFactory().NewKubectlCommand(os.Stdout)
	if err := cmd.Execute(); err != nil {
		glog.Errorf("error: %v", err)
		os.Exit(1)
	}
}
Esempio n. 3
0
func main() {
	cmd := cmd.NewFactory().NewKubectlCommand(os.Stdout)
	if err := cmd.Execute(); err != nil {
		os.Exit(1)
	}
}