script

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExprMatcher

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

func NewExprMatcher

func NewExprMatcher(name, code string) (*ExprMatcher, error)

func (*ExprMatcher) Eval

func (*ExprMatcher) Eval(*C.Metadata) (string, error)

func (*ExprMatcher) Match

func (e *ExprMatcher) Match(mtd *C.Metadata) (bool, error)

func (*ExprMatcher) Name

func (e *ExprMatcher) Name() string

type Matcher

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

func NewMatcher

func NewMatcher(name, filename, code string) (_ *Matcher, err error)

func (*Matcher) Eval

func (m *Matcher) Eval(metadata *C.Metadata) (string, error)

func (*Matcher) Match

func (m *Matcher) Match(metadata *C.Metadata) (bool, error)

func (*Matcher) Name

func (m *Matcher) Name() string

type ProxyProviders

type ProxyProviders struct {
	starlark.Value
}

func (*ProxyProviders) Get

func (p *ProxyProviders) Get(value starlark.Value) (v starlark.Value, found bool, err error)

func (*ProxyProviders) Type

func (p *ProxyProviders) Type() string

type RuleProviders

type RuleProviders struct {
	starlark.Value
}

func (*RuleProviders) Get

func (r *RuleProviders) Get(value starlark.Value) (v starlark.Value, found bool, err error)

func (*RuleProviders) Type

func (r *RuleProviders) Type() string

Jump to

Keyboard shortcuts

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