kubernetes/staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_matcher.go

type PolicyMatcher

type matcher

func NewPolicyMatcher(m *matching.Matcher) PolicyMatcher {}

// ValidateInitialization checks if Matcher is initialized.
func (c *matcher) ValidateInitialization() error {}

// DefinitionMatches returns whether this ValidatingAdmissionPolicy matches the provided admission resource request
func (c *matcher) DefinitionMatches(a admission.Attributes, o admission.ObjectInterfaces, definition PolicyAccessor) (bool, schema.GroupVersionResource, schema.GroupVersionKind, error) {}

// BindingMatches returns whether this ValidatingAdmissionPolicyBinding matches the provided admission resource request
func (c *matcher) BindingMatches(a admission.Attributes, o admission.ObjectInterfaces, binding BindingAccessor) (bool, error) {}

func (c *matcher) GetNamespace(name string) (*corev1.Namespace, error) {}

var _

type matchCriteria

// GetParsedNamespaceSelector returns the converted LabelSelector which implements labels.Selector
func (m *matchCriteria) GetParsedNamespaceSelector() (labels.Selector, error) {}

// GetParsedObjectSelector returns the converted LabelSelector which implements labels.Selector
func (m *matchCriteria) GetParsedObjectSelector() (labels.Selector, error) {}

// GetMatchResources returns the matchConstraints
func (m *matchCriteria) GetMatchResources() admissionregistrationv1.MatchResources {}