cmd

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 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

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
	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