Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

      func (r *Matcher) Matches() bool

        Matches returns if the Attr matches the Rule.

        Source Files