run

package
v0.0.0-...-5727985 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EBPFKit = &cobra.Command{
	Use:  "ebpfkit",
	RunE: ebpfKitCmd,
}

EBPFKit represents the base command of ebpfKit

Functions

This section is empty.

Types

type CLIOptions

type CLIOptions struct {
	LogLevel logrus.Level
	EBPFKit  ebpfkit.Options
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL