Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasePlugin ¶
type BasePlugin struct {
// contains filtered or unexported fields
}
func (BasePlugin) Execute ¶
func (p BasePlugin) Execute(ctx context.Context, trace traces.Trace, config analyzer.LinterPlugin) (analyzer.PluginResult, error)
func (BasePlugin) ID ¶
func (p BasePlugin) ID() string
func (BasePlugin) RuleRegistry ¶
func (p BasePlugin) RuleRegistry() *rules.RuleRegistry
type Plugin ¶
type Plugin interface { Execute(context.Context, traces.Trace, analyzer.LinterPlugin) (analyzer.PluginResult, error) ID() string RuleRegistry() *rules.RuleRegistry }
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
Click to show internal directories.
Click to hide internal directories.