contextualizers

package
v0.14.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 25 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 {
	ID() string
	Execute(ctx heimdall.Context, sub *subject.Subject) error
	WithConfig(config map[string]any) (Contextualizer, error)
	ContinueOnError() bool
}

func CreatePrototype

func CreatePrototype(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