validate

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchPattern added in v1.5.0

func MatchPattern(logger logr.Logger, resource, pattern interface{}) error

MatchPattern is a start of element-by-element pattern validation process. It assumes that validation is started from root, so "/" is passed

Types

type PatternError added in v1.5.0

type PatternError struct {
	Err  error
	Path string
	Skip bool
}

func (*PatternError) Error added in v1.5.0

func (e *PatternError) Error() string

Jump to

Keyboard shortcuts

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