Documentation ¶
Overview ¶
Package enumtransformers transforms from dracon internal enums to text and back
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfidenceToText ¶
func ConfidenceToText(confidence v1.Confidence) string
ConfidenceToText transforms dracon confidence into a nicer textual format for use with third party systems
func SeverityToText ¶
SeverityToText transforms dracon severity into a nicer textual format for use with third party systems
func TextToConfidence ¶
func TextToConfidence(confidence string) v1.Confidence
TextToConfidence transforms confidence str into dracon Severity enum
func TextToSeverity ¶
TextToSeverity transforms severity str into dracon Severity enum
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.