definition

package
v0.4.55 Latest Latest
Warning

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

Go to latest
Published: May 27, 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 Definition

type Definition struct {
	Fpath     []string
	Evaluator evaluator.Evaluator
}

DefinitionFile represents the structure needed to evaluate a pipeline definition file

func NewDefinition

func NewDefinition(ctx context.Context, fpath []string, sources []source.PolicySource, namespace []string) (*Definition, error)

NewPipelineDefinitionFile returns a DefinitionFile 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