scheme_test

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 10 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