Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Utrace = &cobra.Command{
Use: "utrace",
RunE: utraceCmd,
}
Utrace represents the base command of utrace
Functions ¶
This section is empty.
Types ¶
type CLIOptions ¶
CLIOptions are the command line options of ssh-probe
type LogLevelSanitizer ¶
type LogLevelSanitizer struct {
// contains filtered or unexported fields
}
LogLevelSanitizer is a log level sanitizer that ensures that the provided log level exists
func NewLogLevelSanitizer ¶
func NewLogLevelSanitizer(sanitizedLevel *logrus.Level) *LogLevelSanitizer
NewLogLevelSanitizer creates a new instance of LogLevelSanitizer. The sanitized level will be written in the provided logrus level
func (*LogLevelSanitizer) Set ¶
func (lls *LogLevelSanitizer) Set(val string) error
func (*LogLevelSanitizer) String ¶
func (lls *LogLevelSanitizer) String() string
func (*LogLevelSanitizer) Type ¶
func (lls *LogLevelSanitizer) Type() string
type UTraceOptionsSanitizer ¶
type UTraceOptionsSanitizer struct {
// contains filtered or unexported fields
}
UTraceOptionsSanitizer is a generic options sanitizer for UTrace
func NewUTraceOptionsSanitizer ¶
func NewUTraceOptionsSanitizer(options *utrace.Options, field string) *UTraceOptionsSanitizer
NewUTraceOptionsSanitizer creates a new instance of UTraceOptionsSanitizer
func (*UTraceOptionsSanitizer) Set ¶
func (uos *UTraceOptionsSanitizer) Set(val string) error
func (*UTraceOptionsSanitizer) String ¶
func (uos *UTraceOptionsSanitizer) String() string
func (*UTraceOptionsSanitizer) Type ¶
func (uos *UTraceOptionsSanitizer) Type() string
Click to show internal directories.
Click to hide internal directories.