cmd

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerMode

func GetContainerMode(containerFilterEnabled, noContainersEnrich bool) config.ContainerMode

func PrintEventList

func PrintEventList(includeSigs bool, wideOutput bool)

Types

type GPTDocsRunner

type GPTDocsRunner struct {
	OpenAIKey         string
	OpenAITemperature float64
	OpenAIMaxTokens   int
	GivenEvents       []string
}

func (GPTDocsRunner) GenerateSyscall

func (r GPTDocsRunner) GenerateSyscall(
	ctx context.Context, template []byte, evt events.Definition,
) (
	string, error,
)

func (GPTDocsRunner) Run

func (r GPTDocsRunner) Run(ctx context.Context) error

type Runner

type Runner struct {
	TrackerConfig config.Config
	Printer       printer.EventPrinter
	InstallPath   string
	HTTPServer    *http.Server
	GRPCServer    *grpc.Server
}

func (Runner) Run

func (r Runner) Run(ctx context.Context) error

type WorkRet

type WorkRet struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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