support

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConfigReference

func GenerateConfigReference(configPath string) (string, int, error)

GenerateConfigReference renders the config reference markdown from the given config source file.

func GenerateJSONSchema

func GenerateJSONSchema(t reflect.Type) map[string]any

GenerateJSONSchema produces a JSON-Schema-compatible map from the given type.

func GenerateSchemaReferenceMarkdown

func GenerateSchemaReferenceMarkdown(command string, root reflect.Type) string

GenerateSchemaReferenceMarkdown produces markdown reference documentation for a root response type.

func RenderAuditorsOverviewMarkdown

func RenderAuditorsOverviewMarkdown() string

RenderAuditorsOverviewMarkdown renders the human-readable auditor guide.

func RenderDetectorsOverviewMarkdown

func RenderDetectorsOverviewMarkdown() string

RenderDetectorsOverviewMarkdown renders the human-readable detector guide.

func RenderMatchersOverviewMarkdown

func RenderMatchersOverviewMarkdown() string

RenderMatchersOverviewMarkdown renders the human-readable matcher guide.

func RenderSupportMatrixMarkdown

func RenderSupportMatrixMarkdown() string

RenderSupportMatrixMarkdown renders the canonical markdown support matrix document.

func WriteCommandSchemaDocs

func WriteCommandSchemaDocs(outputDir string) ([]string, error)

WriteCommandSchemaDocs writes markdown schema references for the supported command payloads.

func WriteCommandSchemas

func WriteCommandSchemas(outputDir string) ([]string, error)

WriteCommandSchemas writes JSON schema files for the supported command payloads.

func WriteComponentDocs

func WriteComponentDocs(docsDir string) error

WriteComponentDocs writes generated detector and matcher documentation.

func WriteConfigReference

func WriteConfigReference(configPath, outputPath string) (int, error)

WriteConfigReference writes the generated config reference markdown to disk.

func WriteSupportMatrix

func WriteSupportMatrix(outputPath string) error

WriteSupportMatrix writes the generated support matrix markdown to disk.

Types

This section is empty.

Directories

Path Synopsis
cmd
componentdocs command
configref command
schemadocs command
schemajson command
supportmatrix command

Jump to

Keyboard shortcuts

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