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

builtin

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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