scheme_test

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RemediationStepsSample = []string{"do", "that"}

	RemediationStepsSample2 = []string{"dont", "do", "that"}
)

Functions

func EnrichedDataSample

func EnrichedDataSample() []enricher.EnrichedData

corresponding to SchemeSample

func FullyQualifiedPolicyNameSample

func FullyQualifiedPolicyNameSample() string

func FullyQualifiedPolicyNameSample2

func FullyQualifiedPolicyNameSample2() string

func SchemeSample

func SchemeSample() scheme.FlattenedScheme

func StructToMap

func StructToMap(obj interface{}) (newMap map[string]interface{}, err error)

convert struct to map recursively (for simple nested comparison)

Types

This section is empty.

Jump to

Keyboard shortcuts

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