ruleresult

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: 1 Imported by: 0

Documentation

Overview

Package ruleresult defines the possible result values returned by a rule.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int

Type is the type for rule results.

const (
	// Pass indicates rule compliance.
	Pass Type = iota // pass
	// Fail indicates a rule violation.
	Fail // fail
	// Skip indicates the rule is configured to be skipped in the current tool configuration mode.
	Skip // skipped
	// NotRun indicates an unrelated error prevented the rule from running.
	NotRun // unable to run
)

func (Type) String

func (i Type) String() string

Jump to

Keyboard shortcuts

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