contextualizers

package
v0.8.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextualizerGeneric = "generic"
)

Variables

View Source
var (
	ErrUnsupportedContextualizerType = errors.New("contextualizer type unsupported")
)

Functions

This section is empty.

Types

type Contextualizer

type Contextualizer interface {
	Execute(heimdall.Context, *subject.Subject) error
	WithConfig(config map[string]any) (Contextualizer, error)
	ContinueOnError() bool
}

func CreateContextualizerPrototype

func CreateContextualizerPrototype(id string, typ string, config map[string]any) (Contextualizer, error)

type ContextualizerTypeFactory

type ContextualizerTypeFactory func(id string, typ string, c map[string]any) (bool, Contextualizer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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