mapvalidator

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConflictsIfMatchesPathValue

func ConflictsIfMatchesPathValue(targetValue basetypes.StringValue, expressions ...path.Expression) validator.Map

func IsRequiredIfMatchesPathValue

func IsRequiredIfMatchesPathValue(targetValue basetypes.StringValue, expressions ...path.Expression) validator.Map

IsRequiredIfMatchesPathValue validates if the provided string value equals the value at the provided path expression(s). If matched, the current arguemnt is required.

If a list of expressions is provided, all expressions are checked until a match is found, or the list of expressions is exhausted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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