evaluator

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIdentifiersFromMaaping

func GetIdentifiersFromMaaping(mapping map[string][]string) []string

GetIdentifiersFromMaaping returns a list of identifiers from mapping keys.

Types

type Evaluator

type Evaluator struct {
	// contains filtered or unexported fields
}

Evaluator gets target resources and tags via TagsMapper and filter them via Filter.

func BuildEvaluator

func BuildEvaluator(it datadog.IntegrationTarget) (Evaluator, error)

BuildEvaluator build the proper Evaluator implementation.

func (Evaluator) Evaluate

func (e Evaluator) Evaluate(ctx context.Context, scopes []datadog.Scope, ddTags datadog.Tags) ([]string, error)

Evaluate returns a list of unmonitored resource identifiers.

Jump to

Keyboard shortcuts

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