Skip to content

admissionregistration.v1.expressionWarning

"ExpressionWarning is a warning information that targets a specific expression."

Index

Fields

fn withFieldRef

withFieldRef(fieldRef)

"fieldRef is the path to the field that refers to the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\

fn withWarning

withWarning(warning)

"warning contains the content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler."