9 "check/validators/master"
13 ranchercli = flag.Bool("ranchercli", false, "use rancher utility for accessing cluster nodes")
14 rke = flag.Bool("rke", false, "use RKE cluster definition and ssh for accessing cluster nodes (default)")
19 if *ranchercli && *rke {
20 log.Fatal("Not supported.")
23 // Use default cluster access method if none was declared explicitly.
24 if !(*ranchercli || *rke) {
35 k8sParams, err = rancher.GetK8sParams()
37 k8sParams, err = raw.GetK8sParams()
39 log.Fatal("Missing cluster access method.")
46 master.Check(k8sParams)