Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK status = iota WARN FAIL CRITICAL )
possible check results
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "ptpcheck",
Short: "Swiss Army Knife for PTP",
}
RootCmd is a main entry point. It's exported so ptpcheck could be easily extended without touching core functionality.
Functions ¶
func ConfigureVerbosity ¶
func ConfigureVerbosity()
ConfigureVerbosity configures log verbosity based on parsed flags. Needs to be called by any subcommand.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.