Help us shape the future of Go! Take the 2026 Go Developer Survey

builtin

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 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 RuleDataIngest added in v0.0.88

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

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

func NewRuleDataIngest added in v0.0.88

func NewRuleDataIngest(builtinCfg *pb.BuiltinType) (*RuleDataIngest, error)

NewRuleDataIngest creates a new builtin rule data ingest engine

func (*RuleDataIngest) FileContext added in v0.0.88

func (*RuleDataIngest) 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 (*RuleDataIngest) GetConfig added in v0.0.88

func (idi *RuleDataIngest) GetConfig() protoreflect.ProtoMessage

GetConfig returns the config for the builtin rule data ingest engine

func (*RuleDataIngest) GetType added in v0.0.88

func (*RuleDataIngest) GetType() string

GetType returns the type of the builtin rule data ingest engine

func (*RuleDataIngest) Ingest added in v0.0.88

func (idi *RuleDataIngest) Ingest(
	ctx context.Context, ent protoreflect.ProtoMessage, params map[string]any) (*interfaces.Ingested, error)

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