severity

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeverityInclude

func SeverityInclude(reportLevel, itemLevel Severity) (bool, error)

Types

type Severity

type Severity string
const (
	SeverityDisabled      Severity = "disabled"
	SeverityEmergency     Severity = "emergency"
	SeverityAlert         Severity = "alert"
	SeverityCritical      Severity = "critical"
	SeverityError         Severity = "error"
	SeverityWarning       Severity = "warning"
	SeverityNotice        Severity = "notice"
	SeverityInformational Severity = "informational"
	SeverityDebug         Severity = "debug"
)

func Parse

func Parse(sev string) Severity

Jump to

Keyboard shortcuts

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