mutate

package
v1.11.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthChecker added in v1.10.0

type AuthChecker interface {
	CanIUpdate(ctx context.Context, gvks, namespace, subresource string) (bool, error)
	CanIGet(ctx context.Context, gvks, namespace, subresource string) (bool, error)
}

type Mutate

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

Mutate provides implementation to validate 'mutate' rule

func NewMutateFactory

func NewMutateFactory(m kyvernov1.Mutation, client dclient.Interface, user string) *Mutate

NewMutateFactory returns a new instance of Mutate validation checker

func (*Mutate) Validate

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

Validate validates the 'mutate' rule

Jump to

Keyboard shortcuts

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