builtin

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package builtin provides the builtin ingestion engine

Index

Constants

View Source
const (
	// BuiltinRuleDataIngestType is the type of the builtin rule data ingest engine
	BuiltinRuleDataIngestType = "builtin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuiltinRuleDataIngest

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

BuiltinRuleDataIngest is the engine for a rule type that uses builtin methods

func NewBuiltinRuleDataIngest

func NewBuiltinRuleDataIngest(builtinCfg *pb.BuiltinType) (*BuiltinRuleDataIngest, error)

NewBuiltinRuleDataIngest creates a new builtin rule data ingest engine

func (*BuiltinRuleDataIngest) FileContext

func (*BuiltinRuleDataIngest) FileContext() billy.Filesystem

FileContext returns a file context that an evaluator can use to do rule evaluation. the builtin engine does not support file context.

func (*BuiltinRuleDataIngest) GetConfig

GetConfig returns the config for the builtin rule data ingest engine

func (*BuiltinRuleDataIngest) GetType

func (*BuiltinRuleDataIngest) GetType() string

GetType returns the type of the builtin rule data ingest engine

func (*BuiltinRuleDataIngest) Ingest

Ingest calls the builtin method and populates the data to be returned

Jump to

Keyboard shortcuts

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