flags

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidEventError

func InvalidEventError(event string) error

func InvalidEventExcludeError

func InvalidEventExcludeError(event string) error

func InvalidFilterOptionError

func InvalidFilterOptionError(expr string) error

func InvalidLogOption added in v0.11.1

func InvalidLogOption(opt string) error

func InvalidSetError

func InvalidSetError(set string) error

func PrepareCache

func PrepareCache(cacheSlice []string) (queue.CacheConfig, error)

func PrepareCapabilities

func PrepareCapabilities(capsSlice []string) (tracee.CapabilitiesConfig, error)

func PrepareCapture

func PrepareCapture(captureSlice []string) (tracee.CaptureConfig, error)

func PrepareContainers

func PrepareContainers(containerFlags []string) (runtime.Sockets, error)

func PrepareFilterScopes added in v0.11.0

func PrepareFilterScopes(filtersArr []string) (*filterscope.FilterScopes, error)

func PrepareLogger added in v0.11.0

func PrepareLogger(logOptions []string, w io.Writer) (*logger.LoggerConfig, error)

func PrepareRego

func PrepareRego(regoSlice []string) (rego.Config, error)

func PrintAndExitIfHelp

func PrintAndExitIfHelp(ctx *cli.Context, newBinary bool)

Types

type OutputConfig

type OutputConfig struct {
	TraceeConfig   *tracee.OutputConfig
	PrinterConfigs []printer.Config
	LogFile        *os.File
}

func PrepareOutput

func PrepareOutput(outputSlice []string) (OutputConfig, error)

func TraceeEbpfPrepareOutput added in v0.12.0

func TraceeEbpfPrepareOutput(outputSlice []string) (OutputConfig, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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