rule

package
v0.0.0-...-5811ad1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package rule runs rules on a project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled(ruleConfiguration ruleconfiguration.Type, configurationRuleModes map[rulemode.Type]bool) (bool, error)

IsEnabled returns whether a given rule is enabled under a given tool configuration.

func Runner

func Runner(project project.Type)

Runner runs all rules for the given project and outputs the results.

Types

This section is empty.

Directories

Path Synopsis
Package ruleconfiguration defines the configuration of each rule: - metadata - output template - under which conditions it's enabled - the level of a failure - which function implements it
Package ruleconfiguration defines the configuration of each rule: - metadata - output template - under which conditions it's enabled - the level of a failure - which function implements it
Package rulefunction contains the functions that implement each rule.
Package rulefunction contains the functions that implement each rule.
Package rulelevel defines the level assigned to a rule violation.
Package rulelevel defines the level assigned to a rule violation.
Package ruleresult defines the possible result values returned by a rule.
Package ruleresult defines the possible result values returned by a rule.
Package schema contains code for working with JSON schema.
Package schema contains code for working with JSON schema.
compliancelevel
Package compliancelevel defines the levels of specification compliance.
Package compliancelevel defines the levels of specification compliance.
schemadata
Package schemadata Code generated by go-bindata.
Package schemadata Code generated by go-bindata.

Jump to

Keyboard shortcuts

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