scheme_test

package
v1.0.6 Latest Latest
Warning

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

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

func CombineSchemes(a, b *scheme.Flattened) *scheme.Flattened

func EnrichedDataSample

func EnrichedDataSample() []enricher.EnrichedData

corresponding to SchemeSample

func FullyQualifiedPolicyNameSample

func FullyQualifiedPolicyNameSample() string

func FullyQualifiedPolicyNameSample2

func FullyQualifiedPolicyNameSample2() string

func SchemeSample

func SchemeSample() *scheme.Flattened

func StructToMap

func StructToMap(obj interface{}) (map[string]interface{}, 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