validate

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validate

type Validate struct {
	// contains filtered or unexported fields
}

Validate validates a 'validate' rule

func NewValidateFactory

func NewValidateFactory(rule *kyvernov1.Validation) *Validate

NewValidateFactory returns a new instance of Mutate validation checker

func (*Validate) Validate

func (v *Validate) Validate(ctx context.Context) (string, error)

Validate validates the 'validate' rule

Jump to

Keyboard shortcuts

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