converter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(schemeType SchemeType, output scheme.FlattenedScheme) (interface{}, error)

func ConvertToGroupBy

func ConvertToGroupBy(groupBy grouper, output scheme.FlattenedScheme) (interface{}, error)

func ValidateOutputScheme

func ValidateOutputScheme(schemeType SchemeType) error

Types

type SchemeType

type SchemeType = string
const (
	Flattened        SchemeType = "flattened"
	GroupByNamespace SchemeType = "group-by-namespace"
	GroupByResource  SchemeType = "group-by-resource"
	GroupBySeverity  SchemeType = "group-by-severity"
	Object           SchemeType = "object"

	DefaultScheme = Flattened
)

func SchemeTypes

func SchemeTypes() []SchemeType

Jump to

Keyboard shortcuts

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