Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Check = &cobra.Command{ Use: "check [Module ...]", Short: "Check the status of Open-Falcon modules", Long: ` Check if the specified Open-Falcon modules are running. Modules: ` + "all " + strings.Join(g.AllModulesInOrder, " "), RunE: check, }
View Source
var ConsoleOutputFlag bool
View Source
var Monitor = &cobra.Command{ Use: "monitor [Module ...]", Short: "Display an Open-Falcon module's log", Long: ` Display the log of the specified Open-Falcon module. A module represents a single node in a cluster. Modules: ` + strings.Join(g.AllModulesInOrder, " "), RunE: monitor, }
View Source
var PreqOrderFlag bool
View Source
var Reload = &cobra.Command{
Use: "reload [Module ...]",
Short: "Reload an Open-Falcon module's configuration file",
Long: `
Reload the configuration file of the specified Open-Falcon module.
A module represents a single node in a cluster.
Modules:
`,
RunE: reload,
}
View Source
var Restart = &cobra.Command{ Use: "restart [Module ...]", Short: "Restart Open-Falcon modules", Long: ` Restart the specified Open-Falcon modules and run until a stop command is received. A module represents a single node in a cluster. Modules: ` + "all " + strings.Join(g.AllModulesInOrder, " "), RunE: restart, }
View Source
var Start = &cobra.Command{ Use: "start [Module ...]", Short: "Start Open-Falcon modules", Long: ` Start the specified Open-Falcon modules and run until a stop command is received. A module represents a single node in a cluster. Modules: ` + "all " + strings.Join(g.AllModulesInOrder, " "), RunE: start, SilenceUsage: true, SilenceErrors: true, }
View Source
var Stop = &cobra.Command{ Use: "stop [Module ...]", Short: "Stop Open-Falcon modules", Long: ` Stop the specified Open-Falcon modules. A module represents a single node in a cluster. Modules: ` + "all " + strings.Join(g.AllModulesInOrder, " "), RunE: stop, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.