enumtransformers

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

func SeverityToText(severity v1.Severity) string

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

func TextToSeverity(severity string) v1.Severity

TextToSeverity transforms severity str into dracon Severity enum

Types

This section is empty.

Jump to

Keyboard shortcuts

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