instantiatedcheck

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstantiatedCheck

type InstantiatedCheck struct {
	Func    check.Func
	Matcher objectkinds.Matcher

	Spec config.Check
}

An InstantiatedCheck is the runtime instantiation of a check, which fuses the metadata in a check spec with the runtime information from a template.

func ValidateAndInstantiate

func ValidateAndInstantiate(c *config.Check) (*InstantiatedCheck, error)

ValidateAndInstantiate validates the check, and creates an instantiated check if the check is valid.

Jump to

Keyboard shortcuts

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