cmd

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintEventList

func PrintEventList(printRulesSet bool)

Types

type GPTDocsRunner added in v0.12.0

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

func (GPTDocsRunner) GenerateSyscall added in v0.12.0

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

func (GPTDocsRunner) Run added in v0.12.0

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

type Runner

type Runner struct {
	TraceeConfig tracee.Config
	Printers     []printer.EventPrinter
	Server       *server.Server
}

func (Runner) Run

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

type WorkRet added in v0.12.0

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