input

package
v0.5.115 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Paths      []string
	Evaluators []evaluator.Evaluator
}

Input represents the structure needed to evaluate a generic file input

func NewInput

func NewInput(ctx context.Context, paths []string, p policy.Policy) (*Input, error)

NewInput returns a Input struct with FPath and evaluator ready to use

Jump to

Keyboard shortcuts

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