engine

package
v1.12.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 35 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewPolicyContext                     = policycontext.NewPolicyContext
	NewPolicyContextFromAdmissionRequest = policycontext.NewPolicyContextFromAdmissionRequest
)

Functions

func ForceMutate added in v1.2.0

ForceMutate does not check any conditions, it simply mutates the given resource It is used to validate mutation logic, and for tests.

func NewEngine added in v1.10.0

func NewEngine(
	configuration config.Configuration,
	metricsConfiguration config.MetricsConfiguration,
	jp jmespath.Interface,
	client engineapi.Client,
	rclientFactory engineapi.RegistryClientFactory,
	ivCache imageverifycache.Client,
	contextLoader engineapi.ContextLoaderFactory,
	exceptionSelector engineapi.PolicyExceptionSelector,
) engineapi.Engine

Types

type PolicyContext added in v1.0.0

type PolicyContext = policycontext.PolicyContext

PolicyContext contains the contexts for engine to process

Jump to

Keyboard shortcuts

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