mutate

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutate

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

Mutate provides implementation to validate 'mutate' rule

func NewMutateFactory

func NewMutateFactory(rule *kyvernov1.Rule, client dclient.Interface, mock bool, backgroundSA, reportsSA string) *Mutate

NewMutateFactory returns a new instance of Mutate validation checker

func (*Mutate) Validate

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

Validate validates the 'mutate' rule

Jump to

Keyboard shortcuts

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