package rules
import "k8s.io/apiserver/pkg/admission/plugin/webhook/rules"
Index ¶
Functions ¶
func IsWebhookConfigurationResource ¶
func IsWebhookConfigurationResource(attr admission.Attributes) bool
IsWebhookConfigurationResource determines if an admission.Attributes object is describing the admission of a ValidatingWebhookConfiguration or a MutatingWebhookConfiguration
Types ¶
type Matcher ¶
type Matcher struct { Rule v1.RuleWithOperations Attr admission.Attributes }
Matcher determines if the Attr matches the Rule.
func (*Matcher) Matches ¶
Matches returns if the Attr matches the Rule.
Source Files ¶
rules.go
- Version
- v0.17.17-rc.0
- Published
- Dec 18, 2020
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.