Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VersionCmd = &cobra.Command{ Use: "version", Short: "Display version information and exit", Run: func(*cobra.Command, []string) { fmt.Print(version.Version()) }, }
VersionCmd is a sub-command to print version information
Functions ¶
func ReadMeshConfig ¶
func ReadMeshConfig(filename string) (*meshconfig.MeshConfig, error)
ReadMeshConfig gets mesh configuration from a config file
func WaitSignal ¶
func WaitSignal(stop chan struct{})
WaitSignal awaits for SIGINT or SIGTERM and closes the channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.