apiserver: k8s.io/apiserver/pkg/admission/plugin/webhook/rules Index | Files

package rules

import "k8s.io/apiserver/pkg/admission/plugin/webhook/rules"


Package Files


func IsWebhookConfigurationResource Uses

func IsWebhookConfigurationResource(attr admission.Attributes) bool

IsWebhookConfigurationResource determines if an admission.Attributes object is describing the admission of a ValidatingWebhookConfiguration or a MutatingWebhookConfiguration

type Matcher Uses

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

Matcher determines if the Attr matches the Rule.

func (*Matcher) Matches Uses

func (r *Matcher) Matches() bool

Matches returns if the Attr matches the Rule.

Package rules imports 5 packages (graph) and is imported by 2 packages. Updated 2019-10-16. Refresh now. Tools for package owners.