validate

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 10 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 NewMockValidateFactory added in v1.13.0

func NewMockValidateFactory(rule *kyvernov1.Rule) *Validate

func NewValidateFactory

func NewValidateFactory(rule *kyvernov1.Rule, client dclient.Interface, mock bool, reportsSA string) *Validate

NewValidateFactory returns a new instance of Mutate validation checker

func (*Validate) Validate

func (v *Validate) Validate(ctx context.Context, _ []string) (warnings []string, path string, err error)

Validate validates the 'validate' rule

Jump to

Keyboard shortcuts

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