cmd

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerMode

func GetContainerMode(cfg config.Config) config.ContainerMode

func PrintEventList

func PrintEventList(includeSigs bool, wideOutput 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.Definition,
) (
	string, error,
)

func (GPTDocsRunner) Run added in v0.12.0

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

type Runner

type Runner struct {
	TraceeConfig 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 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