rule

package
v0.8.44 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Code              string
	Collections       []string
	DependsOn         []string
	Description       string
	DocumentationUrl  string
	Severity          string
	EffectiveOn       string
	Kind              RuleKind
	Package           string
	PipelineIntention []string
	ShortName         string
	Solution          string
	Title             string
}

func RuleInfo

func RuleInfo(a *ast.AnnotationsRef) Info

type RuleKind

type RuleKind string
const (
	Deny  RuleKind = "deny"
	Warn  RuleKind = "warn"
	Other RuleKind = "other"
)

Jump to

Keyboard shortcuts

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