Documentation
¶
Overview ¶
Package templates provides embedded templates for plugin scaffolding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoTemplates ¶
GoTemplates returns the parsed Go plugin templates.
func TemplateFiles ¶
TemplateFiles returns the list of template file names for a language.
Types ¶
type Capability ¶
Capability represents a plugin capability declaration.
type PluginData ¶
type PluginData struct {
// PluginName is the kebab-case name (e.g., "my-check")
PluginName string
// PluginTitle is the title case name (e.g., "My Check")
PluginTitle string
// PluginStructName is the PascalCase struct name (e.g., "myCheckPlugin")
PluginStructName string
// ModulePath is the Go module path (e.g., "github.com/user/my-check")
ModulePath string
// SDKVersion is the SDK version to use (e.g., "v0.1.0" or "latest")
SDKVersion string
// Capabilities is the list of required capabilities
Capabilities []Capability
}
PluginData contains the data used to render plugin templates.
Click to show internal directories.
Click to hide internal directories.