rules

package
v0.1.55 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CrdsDir = "crds"

Variables

This section is empty.

Functions

This section is empty.

Types

type DeckhouseCRDsRule

type DeckhouseCRDsRule struct {
	pkg.RuleMeta
	pkg.StringRule
	// contains filtered or unexported fields
}

func NewDeckhouseCRDsRule

func NewDeckhouseCRDsRule(cfg *pkg.OpenAPILinterConfig, rootPath string) *DeckhouseCRDsRule

func (*DeckhouseCRDsRule) Run

func (r *DeckhouseCRDsRule) Run(moduleName, path string, errorList *errors.LintRuleErrorsList)

type EnumRule

type EnumRule struct {
	pkg.RuleMeta
	// contains filtered or unexported fields
}

func NewEnumRule

func NewEnumRule(cfg *pkg.OpenAPILinterConfig, rootPath string) *EnumRule

func (*EnumRule) Run

func (e *EnumRule) Run(path string, errorList *errors.LintRuleErrorsList)

type HARule

type HARule struct {
	pkg.RuleMeta
	pkg.StringRule
	// contains filtered or unexported fields
}

func NewHARule

func NewHARule(cfg *pkg.OpenAPILinterConfig, rootPath string) *HARule

func (*HARule) Run

func (e *HARule) Run(path string, errorList *errors.LintRuleErrorsList)

type KeysRule

type KeysRule struct {
	pkg.RuleMeta
	// contains filtered or unexported fields
}

func NewKeysRule

func NewKeysRule(cfg *pkg.OpenAPILinterConfig, rootPath string) *KeysRule

func (*KeysRule) Run

func (e *KeysRule) Run(path string, errorList *errors.LintRuleErrorsList)

Jump to

Keyboard shortcuts

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