type MatchCriteria …
type Matcher …
func (m *Matcher) GetNamespace(name string) (*corev1.Namespace, error) { … }
func NewMatcher(
namespaceLister listersv1.NamespaceLister,
client kubernetes.Interface,
) *Matcher { … }
func (m *Matcher) ValidateInitialization() error { … }
func (m *Matcher) Matches(attr admission.Attributes, o admission.ObjectInterfaces, criteria MatchCriteria) (bool, schema.GroupVersionResource, schema.GroupVersionKind, error) { … }
func matchesResourceRules(namedRules []v1.NamedRuleWithOperations, matchPolicy *v1.MatchPolicyType, attr admission.Attributes, o admission.ObjectInterfaces) (bool, schema.GroupVersionResource, schema.GroupVersionKind, error) { … }
type attrWithResourceOverride …
func (a *attrWithResourceOverride) GetResource() schema.GroupVersionResource { … }