package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Packages

Package actions provide necessary interfaces and implementations for processing actions, such as remediation and alerts.
Package engcontext defines the EngineContext type.
Package entities contains internal helper functions to deal with, validate and print the Entity protobuf enum.
Package errors provides errors for the evaluator engine.
Package eval provides necessary interfaces and implementations for evaluating rules.
Package ingestcache a cache that is used to cache the results of ingesting data.
Package ingester provides necessary interfaces and implementations for ingesting data for rules.
Package interfaces provides necessary interfaces and implementations for implementing engine plugins.
Package mock_engine is a generated GoMock package.
Package options provides necessary interfaces and implementations for implementing evaluator configuration options.
Package rtengine contains utilities for the rule type engine.

# Functions

NewExecutor creates a new executor.
NewExecutorEventHandler creates the event handler for the executor.
NewExecutorMetrics instantiates the ExecutorMetrics struct.

# Constants

ArtifactSignatureWaitPeriod is the waiting period for potential artifact signature to be available before proceeding with evaluation.
DefaultExecutionTimeout is the timeout for execution of a set of profiles on an entity.

# Structs

ExecutorEventHandler is responsible for consuming entity events, passing entities to the executor, and then publishing the results.
ExecutorMetrics encapsulates metrics operations for the executor.

# Interfaces

Executor is the engine that executes the rules for a given event.