Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateOption ¶
type GenerateOption struct {
SiteType string
Style string
Taste string
Layout string
ColorScheme string
Lang string
Extra string
MaxRetries int
}
GenerateOption holds parameters for scenario generation.
type Option ¶
type Option func(*UseCase)
Option configures the UseCase.
func WithLLMClient ¶
WithLLMClient sets the LLM client.
type UseCase ¶
type UseCase struct {
// contains filtered or unexported fields
}
UseCase orchestrates application operations.
func (*UseCase) Generate ¶
func (u *UseCase) Generate(ctx context.Context, outputDir string, opt GenerateOption) (*scenario.Scenario, error)
Generate creates a new honeypot scenario using the LLM. outputDir is the directory where the LLM agent writes files.
Click to show internal directories.
Click to hide internal directories.