rule

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 4 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
	CodePackage      string
	Collections      []string
	DependsOn        []string
	Description      string
	DocumentationUrl string
	EffectiveOn      string
	Kind             RuleKind
	Package          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