severity

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidSeverity = []Severity{
	Critical, High, Medium, Low,
}

Functions

This section is empty.

Types

type Severity

type Severity string
const (
	None     Severity = ""
	Critical Severity = "CRITICAL"
	High     Severity = "HIGH"
	Medium   Severity = "MEDIUM"
	Low      Severity = "LOW"
)

func StringToSeverity

func StringToSeverity(sev string) Severity

func (*Severity) IsValid

func (s *Severity) IsValid() bool

func (*Severity) Valid

func (s *Severity) Valid() []Severity

Jump to

Keyboard shortcuts

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