enumtransformers

package
v0.59.2 Latest Latest
Warning

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

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

Documentation

Overview

Package enumtransformers transforms from smithy 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 smithy confidence into a nicer textual format for use with third party systems

func SeverityToText

func SeverityToText(severity v1.Severity) string

SeverityToText transforms smithy 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 smithy Severity enum

func TextToSeverity

func TextToSeverity(severity string) v1.Severity

TextToSeverity transforms severity str into smithy 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