Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ParamDescs = []check.ParameterDesc{
checkParamDesc,
}
)
Functions ¶
func ParseAndValidate ¶
ParseAndValidate instantiates a Params object out of the passed map[string]interface{}, validates it, and returns it. The return type is interface{} to satisfy the type in the Template struct.
Types ¶
type Params ¶
type Params struct { // Check contains a CEL expression for validation logic. Two predefined variables are available: 'object' (the current Kubernetes object being processed) and 'objects' (all objects being linted). // +required // +noregex Check string }
Params defines the configuration parameters for this template.
Click to show internal directories.
Click to hide internal directories.