feat: implement scheduler-k3s:show-config
This commit is contained in:
1 parent
a2504fadd2
commit
6b85374857
3 files changed
+21
-1
No files matched your search
@@ -44,6 +44,10 @@ func main() {
|
||||
value = args.Arg(1)
|
||||
}
|
||||
err = scheduler_k3s.CommandSet(appName, property, value)
|
||||
case "show-kubeconfig":
|
||||
args := flag.NewFlagSet("scheduler-k3s:show-kubeconfig", flag.ExitOnError)
|
||||
args.Parse(os.Args[2:])
|
||||
err = scheduler_k3s.CommandShowKubeconfig()
|
||||
default:
|
||||
err = fmt.Errorf("Invalid plugin subcommand call: %s", subcommand)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user