Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cli.Subcmd{ FlagSet: flag.NewFlagSet("check-config", flag.ExitOnError), Desc: "Validate wireleap-relay config file", Run: func(fm fsdir.T) { c := relaycfg.Defaults() if err := fm.Get(&c, filenames.Config); err != nil { fmt.Println(err) os.Exit(1) } if err := c.Validate(); err != nil { fmt.Println(err) os.Exit(1) } fmt.Println("OK") }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.