rules

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExemptAdmissionConfigurationResource

func IsExemptAdmissionConfigurationResource(attr admission.Attributes) bool

IsExemptAdmissionConfigurationResource determines if an admission.Attributes object is describing the admission of a ValidatingWebhookConfiguration or a MutatingWebhookConfiguration or a ValidatingAdmissionPolicy or a ValidatingAdmissionPolicyBinding

Types

type Matcher

type Matcher struct {
	Rule v1.RuleWithOperations
	Attr admission.Attributes
}

Matcher determines if the Attr matches the Rule.

func (*Matcher) Matches

func (r *Matcher) Matches() bool

Matches returns if the Attr matches the Rule.

Jump to

Keyboard shortcuts

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